Template:Wildlife risk: Difference between revisions

From ProtoTown Wiki
Jump to navigation Jump to search
(Fixed the default no-hazard label)
(Added respectful domestic animal status badges)
Line 1: Line 1:
<includeonly>{{#switch:{{lc:{{{1|none}}}}}
<includeonly>{{#switch:{{lc:{{{1|none}}}}}
|domestic=<span style="display:inline-block; padding:0.15em 0.45em; border-radius:0.25em; background:#27864b; color:white; font-weight:bold;">DOMESTIC</span>
|domestic-yellow=<span style="display:inline-block; padding:0.15em 0.45em; border-radius:0.25em; background:#27864b; color:white; font-weight:bold;">DOMESTIC</span>&nbsp;<span style="display:inline-block; padding:0.15em 0.45em; border-radius:0.25em; background:#f4d03f; color:#241f00; font-weight:bold;">USE CARE</span>
|domestic-orange=<span style="display:inline-block; padding:0.15em 0.45em; border-radius:0.25em; background:#27864b; color:white; font-weight:bold;">DOMESTIC</span>&nbsp;<span style="display:inline-block; padding:0.15em 0.45em; border-radius:0.25em; background:#e67e22; color:white; font-weight:bold;">LARGE ANIMAL — SIGNIFICANT HAZARD</span>
|yellow=<span style="display:inline-block; padding:0.15em 0.45em; border-radius:0.25em; background:#f4d03f; color:#241f00; font-weight:bold;">NUISANCE / USE CARE</span>
|yellow=<span style="display:inline-block; padding:0.15em 0.45em; border-radius:0.25em; background:#f4d03f; color:#241f00; font-weight:bold;">NUISANCE / USE CARE</span>
|orange=<span style="display:inline-block; padding:0.15em 0.45em; border-radius:0.25em; background:#e67e22; color:white; font-weight:bold;">PAINFUL OR SIGNIFICANT DANGER</span>
|orange=<span style="display:inline-block; padding:0.15em 0.45em; border-radius:0.25em; background:#e67e22; color:white; font-weight:bold;">PAINFUL OR SIGNIFICANT DANGER</span>
Line 5: Line 8:
|#default=<span style="display:inline-block; padding:0.15em 0.45em; border-radius:0.25em; background:#eaeded; color:#333;">No special hazard label</span>
|#default=<span style="display:inline-block; padding:0.15em 0.45em; border-radius:0.25em; background:#eaeded; color:#333;">No special hazard label</span>
}}</includeonly><noinclude>
}}</includeonly><noinclude>
Produces the standard hazard label used in the Proto-Town wildlife guide. Accepted values are <code>none</code>, <code>yellow</code>, <code>orange</code>, and <code>red</code>.
Produces the standard status and hazard labels used in the Proto-Town wildlife guide. Accepted values are <code>none</code>, <code>yellow</code>, <code>orange</code>, <code>red</code>, <code>domestic</code>, <code>domestic-yellow</code>, and <code>domestic-orange</code>.
</noinclude>
</noinclude>

Revision as of 05:30, 18 July 2026

Produces the standard status and hazard labels used in the Proto-Town wildlife guide. Accepted values are none, yellow, orange, red, domestic, domestic-yellow, and domestic-orange.