Template:Status: Difference between revisions
Template page
More actions
Wiki lane: site structure (templates, forms, help pages) |
Wiki lane: site structure (templates, forms, help pages) |
||
| Line 1: | Line 1: | ||
<includeonly | <includeonly><span class="cmp-badge cmp-badge--{{#switch:{{lc:{{{1|}}}}}|proven=proven|reported=reported|theory=theory|contested=contested|warning=warning|#default=unset}}" title="{{#switch:{{lc:{{{1|}}}}}|proven=Proven: reproduced by a second person, or by Ivan on his own hardware, with numbers|reported=Reported: one person's post with numbers or a clear result|theory=Theory: an idea nobody has tested yet|contested=Contested: people disagree, both sides are shown|warning=Warning: this damaged hardware or lost data|#default=Status not set}}">{{#switch:{{lc:{{{1|}}}}}|proven=Proven|reported=Reported|theory=Theory|contested=Contested|warning=Warning|#default={{{1|Unset}}}}}</span></includeonly><noinclude> | ||
Status badge. Usage: <code><nowiki>{{Status|Reported}}</nowiki></code>. Values: Proven, Reported, Theory, Contested, Warning. See [[Status taxonomy]]. | Status badge. Usage: <code><nowiki>{{Status|Reported}}</nowiki></code>. Values: Proven, Reported, Theory, Contested, Warning. See [[Status taxonomy]]. | ||
{{Status|Proven}} {{Status|Reported}} {{Status|Theory}} {{Status|Contested}} {{Status|Warning}} | {{Status|Proven}} {{Status|Reported}} {{Status|Theory}} {{Status|Contested}} {{Status|Warning}} | ||
The badge uses the shared classes <code>cmp-badge cmp-badge--<status></code> from <code>/shared/header.css</code> | |||
(the design lane's file, loaded on every wiki page), so the wiki, the front door and the board show the same colours. | |||
On recipes, platforms and unlocks nobody types Proven: those templates compute it from [[Template:Confirmation|confirmations]]. | On recipes, platforms and unlocks nobody types Proven: those templates compute it from [[Template:Confirmation|confirmations]]. | ||
[[Category:Templates]]</noinclude> | [[Category:Templates]]</noinclude> | ||
Latest revision as of 07:34, 30 October 2026
Status badge. Usage: {{Status|Reported}}. Values: Proven, Reported, Theory, Contested, Warning. See Status taxonomy.
Proven Reported Theory Contested Warning
The badge uses the shared classes cmp-badge cmp-badge--<status> from /shared/header.css
(the design lane's file, loaded on every wiki page), so the wiki, the front door and the board show the same colours.
On recipes, platforms and unlocks nobody types Proven: those templates compute it from confirmations.