Forskjell mellom versjoner av «Mal:Infobox ehs summary»

Fra Bitraf
Hopp til navigering Hopp til søk
Linje 5: Linje 5:
 
| subheader = Oppsummering
 
| subheader = Oppsummering
 
| label10 = {{#if:{{{ppe_1|}}}{{{ppe_2|}}}{{{ppe_3|}}}{{{ppe_4|}}}{{{ppe_5|}}}|Verneutstyr}}
 
| label10 = {{#if:{{{ppe_1|}}}{{{ppe_2|}}}{{{ppe_3|}}}{{{ppe_4|}}}{{{ppe_5|}}}|Verneutstyr}}
| data10  = {{#if:{{{ppe_1|}}}{{{ppe_2|}}}{{{ppe_3|}}}{{{ppe_4|}}}{{{ppe_5|}}}|
+
| data10  = {{#if:{{{ppe_1|}}}{{{ppe_2|}}}{{{ppe_3|}}}{{{ppe_4|}}}{{{ppe_5|}}}|{{
  {{#if:{{{ppe_1|}}}|  [[Verneutstyr::{{{ppe_1|}}}]] }}
+
#if:{{{ppe_1|}}}|  [[Verneutstyr::{{{ppe_1|}}}]]}}{{
  {{#if:{{{ppe_2|}}}|, [[Verneutstyr::{{{ppe_2|}}}]] }}
+
#if:{{{ppe_2|}}}|, [[Verneutstyr::{{{ppe_2|}}}]]}}{{
  {{#if:{{{ppe_3|}}}|, [[Verneutstyr::{{{ppe_3|}}}]] }}
+
#if:{{{ppe_3|}}}|, [[Verneutstyr::{{{ppe_3|}}}]]}}{{
  {{#if:{{{ppe_4|}}}|, [[Verneutstyr::{{{ppe_4|}}}]] }}
+
#if:{{{ppe_4|}}}|, [[Verneutstyr::{{{ppe_4|}}}]]}}{{
  {{#if:{{{ppe_5|}}}|, [[Verneutstyr::{{{ppe_5|}}}]] }}
+
#if:{{{ppe_5|}}}|, [[Verneutstyr::{{{ppe_5|}}}]]}} }}
}}
 
 
| label20 = {{#if:{{{hazards_1|}}}{{{hazards_2|}}}{{{hazards_3|}}}{{{hazards_4|}}}{{{hazards_5|}}}|Faremomenter}}
 
| label20 = {{#if:{{{hazards_1|}}}{{{hazards_2|}}}{{{hazards_3|}}}{{{hazards_4|}}}{{{hazards_5|}}}|Faremomenter}}
| data20  = {{#if:{{{hazards_1|}}}{{{hazards_2|}}}{{{hazards_3|}}}{{{hazards_4|}}}{{{hazards_5|}}}|
+
| data20  = {{#if:{{{hazards_1|}}}{{{hazards_2|}}}{{{hazards_3|}}}{{{hazards_4|}}}{{{hazards_5|}}}|{{
  {{#if:{{{hazards_1|}}}|  [[Has EHS hazard::{{{hazards_1|}}}]] }}
+
#if:{{{hazards_1|}}}|  [[Has EHS hazard::{{{hazards_1|}}}]]}}{{
  {{#if:{{{hazards_2|}}}|, [[Has EHS hazard::{{{hazards_2|}}}]] }}
+
#if:{{{hazards_2|}}}|, [[Has EHS hazard::{{{hazards_2|}}}]]}}{{
  {{#if:{{{hazards_3|}}}|, [[Has EHS hazard::{{{hazards_3|}}}]] }}
+
#if:{{{hazards_3|}}}|, [[Has EHS hazard::{{{hazards_3|}}}]]}}{{
  {{#if:{{{hazards_4|}}}|, [[Has EHS hazard::{{{hazards_4|}}}]] }}
+
#if:{{{hazards_4|}}}|, [[Has EHS hazard::{{{hazards_4|}}}]]}}{{
  {{#if:{{{hazards_5|}}}|, [[Has EHS hazard::{{{hazards_5|}}}]] }} }}
+
#if:{{{hazards_5|}}}|, [[Has EHS hazard::{{{hazards_5|}}}]]}} }}
 
| label30 = {{#if:{{{training_1|}}}{{{training_2|}}}{{{training_3|}}}{{{training_4|}}}{{{training_5|}}}|Opplæring}}
 
| label30 = {{#if:{{{training_1|}}}{{{training_2|}}}{{{training_3|}}}{{{training_4|}}}{{{training_5|}}}|Opplæring}}
| data30  = {{#if:{{{training_1|}}}{{{training_2|}}}{{{training_3|}}}{{{training_4|}}}{{{training_5|}}}|
+
| data30  = {{#if:{{{training_1|}}}{{{training_2|}}}{{{training_3|}}}{{{training_4|}}}{{{training_5|}}}|{{
{{#if:{{{training_1|}}}|  [[Has EHS hazard::{{{training_1|}}}]] }}
+
#if:{{{training_1|}}}|  [[Has EHS hazard::{{{training_1|}}}]]}}{{
{{#if:{{{training_2|}}}|, [[Has EHS hazard::{{{training_2|}}}]] }}
+
#if:{{{training_2|}}}|, [[Has EHS hazard::{{{training_2|}}}]]}}{{
{{#if:{{{training_3|}}}|, [[Has EHS hazard::{{{training_3|}}}]] }}
+
#if:{{{training_3|}}}|, [[Has EHS hazard::{{{training_3|}}}]]}}{{
{{#if:{{{training_4|}}}|, [[Has EHS hazard::{{{training_4|}}}]] }}
+
#if:{{{training_4|}}}|, [[Has EHS hazard::{{{training_4|}}}]]}}{{
{{#if:{{{training_5|}}}|, [[Has EHS hazard::{{{training_5|}}}]] }} }}
+
#if:{{{training_5|}}}|, [[Has EHS hazard::{{{training_5|}}}]]}} }}
 
| label40 = {{#ifexist:{{{name|}}}/HMS|HMS info}}
 
| label40 = {{#ifexist:{{{name|}}}/HMS|HMS info}}
 
| data40  = {{#ifexist:{{{name|}}}/HMS|[[HMS info:: {{{ name }}}/HMS ]]}}
 
| data40  = {{#ifexist:{{{name|}}}/HMS|[[HMS info:: {{{ name }}}/HMS ]]}}

Revisjonen fra 13. des. 2018 kl. 20:51

To edit this documentation, go to Mal:Infobox ehs summary/doc.


Example usage:

{{Infobox ehs summary
| name =  Testmaskin
| ppe_1 = personlig verneutstyr 1 (eksempel: vernebriller)
| ppe_2..5
| hazards_1 = farememomenter
| hazards_2..5 = 
| training_1 = dokumentasjon / påkrevd kurs / annet
| training_2..5 =
| ehs_last_revision = 2018-12-06
}}

Malen tar høyde for inntil fem forskjellige parametre av en type (eksempel ppe_1 - ppe_5), trengs det mer må malen utvides.

Dersom man lager en underside som heter "/HMS" (eksempel: "Testmaskin/HMS") så dukker denne automagisk opp i infoboksen.

A template for documenting the most important Bitraf EHS parameters

Malparametre

Denne malen foretrekker at parametrene blokk-formateres (én parameter per linje).

ParameterBeskrivelseTypeStatus
Namename

ingen beskrivelse

Ukjentvalgfri
Verneutstyrppe

påkrevd personlig verneutstyr

Ukjentvalgfri
Faremomenterhazards

Faremomenter og risiko

Ukjentvalgfri
Opplæringtraining

Påkrevd kurs / opplæring

Ukjentvalgfri
Sist revidertehs_last_revision

Dato for siste HMS revisjon

Datovalgfri