Forskjell mellom versjoner av «Mal:Infobox ehs summary»
m (fix whitespace) |
|||
(9 mellomliggende revisjoner av samme bruker vises ikke) | |||
Linje 4: | Linje 4: | ||
| name = {{{ name }}} | | name = {{{ name }}} | ||
| subheader = Oppsummering | | subheader = Oppsummering | ||
− | | | + | | 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|}}}|{{ |
− | | | + | #if:{{{ppe_1|}}}| [[Has required PPE::{{{ppe_1|}}}]]}}{{ |
− | | | + | #if:{{{ppe_2|}}}|, [[Has required PPE::{{{ppe_2|}}}]]}}{{ |
− | | | + | #if:{{{ppe_3|}}}|, [[Has required PPE::{{{ppe_3|}}}]]}}{{ |
− | | | + | #if:{{{ppe_4|}}}|, [[Has required PPE::{{{ppe_4|}}}]]}}{{ |
− | | | + | #if:{{{ppe_5|}}}|, [[Has required PPE::{{{ppe_5|}}}]]}} }} |
− | | | + | | 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|}}}|{{ |
− | | | + | #if:{{{hazards_1|}}}| [[Has EHS hazard::{{{hazards_1|}}}]]}}{{ |
+ | #if:{{{hazards_2|}}}|, [[Has EHS hazard::{{{hazards_2|}}}]]}}{{ | ||
+ | #if:{{{hazards_3|}}}|, [[Has EHS hazard::{{{hazards_3|}}}]]}}{{ | ||
+ | #if:{{{hazards_4|}}}|, [[Has EHS hazard::{{{hazards_4|}}}]]}}{{ | ||
+ | #if:{{{hazards_5|}}}|, [[Has EHS hazard::{{{hazards_5|}}}]]}} }} | ||
+ | | 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|}}}|{{ | ||
+ | #if:{{{training_1|}}}| [[Has required training::{{{training_1|}}}]]}}{{ | ||
+ | #if:{{{training_2|}}}|, [[Has required training::{{{training_2|}}}]]}}{{ | ||
+ | #if:{{{training_3|}}}|, [[Has required training::{{{training_3|}}}]]}}{{ | ||
+ | #if:{{{training_4|}}}|, [[Has required training::{{{training_4|}}}]]}}{{ | ||
+ | #if:{{{training_5|}}}|, [[Has required training::{{{training_5|}}}]]}} }} | ||
+ | | label40 = {{#ifexist:{{{name|}}}/HMS|HMS info}} | ||
+ | | data40 = {{#ifexist:{{{name|}}}/HMS|[[HMS info:: {{{ name }}}/HMS ]]}} | ||
+ | | label41 = {{#if:{{{ehs_last_revision|}}}|Sist revidert}} | ||
+ | | data41 = {{#if:{{{ehs_last_revision|}}}|[[Has siste HMS-gjennomgang:: {{{ ehs_last_revision }}} ]]}} | ||
}} | }} | ||
− | [[Category:HMS]] | + | [[Category:HMS-objekter]] |
</includeonly><noinclude>{{documentation}}<!-- please add category and language links to the /doc sub-page, not here --></noinclude><noinclude> | </includeonly><noinclude>{{documentation}}<!-- please add category and language links to the /doc sub-page, not here --></noinclude><noinclude> | ||
<templatedata> | <templatedata> | ||
{ | { | ||
− | + | "description": "A template for documenting the most important Bitraf EHS parameters", | |
"params": { | "params": { | ||
− | "name": {}, | + | "name": { |
− | + | "label": "Navn", | |
− | + | "type": "string", | |
− | + | "required": true | |
− | + | }, | |
− | + | "ehs_last_revision": { | |
+ | "label": "Sist revidert", | ||
+ | "description": "Dato for siste HMS revisjon", | ||
+ | "type": "date", | ||
+ | "required": true | ||
+ | }, | ||
+ | "ppe_1": { | ||
+ | "label": "Personlig beskyttelsesutstyr", | ||
+ | "type": "wiki-page-name", | ||
+ | "suggested": true | ||
+ | }, | ||
+ | "ppe_2": { | ||
+ | "type": "wiki-page-name" | ||
+ | }, | ||
+ | "ppe_3": { | ||
+ | "type": "wiki-page-name" | ||
+ | }, | ||
+ | "ppe_4": { | ||
+ | "type": "wiki-page-name" | ||
+ | }, | ||
+ | "ppe_5": { | ||
+ | "type": "wiki-page-name" | ||
+ | }, | ||
+ | "hazards_1": { | ||
+ | "label": "Faremomenter", | ||
+ | "type": "wiki-page-name", | ||
+ | "suggested": true | ||
+ | }, | ||
+ | "hazards_2": { | ||
+ | "type": "wiki-page-name" | ||
+ | }, | ||
+ | "hazards_3": { | ||
+ | "type": "wiki-page-name" | ||
+ | }, | ||
+ | "hazards_4": { | ||
+ | "type": "wiki-page-name" | ||
+ | }, | ||
+ | "hazards_5": { | ||
+ | "type": "wiki-page-name" | ||
+ | }, | ||
+ | "training_1": { | ||
+ | "label": "Påkrevd trening", | ||
+ | "type": "wiki-page-name", | ||
+ | "suggested": true | ||
+ | }, | ||
+ | "training_2": { | ||
+ | "type": "wiki-page-name" | ||
+ | }, | ||
+ | "training_3": { | ||
+ | "type": "wiki-page-name" | ||
+ | }, | ||
+ | "training_4": { | ||
+ | "type": "wiki-page-name" | ||
+ | }, | ||
+ | "training_5": { | ||
+ | "type": "wiki-page-name" | ||
+ | } | ||
+ | }, | ||
"format": "block" | "format": "block" | ||
} | } | ||
</templatedata> | </templatedata> | ||
</noinclude> | </noinclude> |
Nåværende revisjon fra 18. des. 2018 kl. 20:49
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
Parameter | Beskrivelse | Type | Status | |
---|---|---|---|---|
Navn | name | ingen beskrivelse | Streng | påkrevd |
Sist revidert | ehs_last_revision | Dato for siste HMS revisjon | Dato | påkrevd |
Personlig beskyttelsesutstyr | ppe_1 | ingen beskrivelse | Side | anbefalt |
Ppe_2 | ppe_2 | ingen beskrivelse | Side | valgfri |
Ppe_3 | ppe_3 | ingen beskrivelse | Side | valgfri |
Ppe_4 | ppe_4 | ingen beskrivelse | Side | valgfri |
Ppe_5 | ppe_5 | ingen beskrivelse | Side | valgfri |
Faremomenter | hazards_1 | ingen beskrivelse | Side | anbefalt |
Hazards_2 | hazards_2 | ingen beskrivelse | Side | valgfri |
Hazards_3 | hazards_3 | ingen beskrivelse | Side | valgfri |
Hazards_4 | hazards_4 | ingen beskrivelse | Side | valgfri |
Hazards_5 | hazards_5 | ingen beskrivelse | Side | valgfri |
Påkrevd trening | training_1 | ingen beskrivelse | Side | anbefalt |
Training_2 | training_2 | ingen beskrivelse | Side | valgfri |
Training_3 | training_3 | ingen beskrivelse | Side | valgfri |
Training_4 | training_4 | ingen beskrivelse | Side | valgfri |
Training_5 | training_5 | ingen beskrivelse | Side | valgfri |