Template:Status: Difference between revisions

From Arianne
Jump to navigation Jump to search
Content deleted Content added
imported>AntumDeluge
Add "status|replaced"
imported>AntumDeluge
Clean up & add "removed" status
Line 1: Line 1:
<noinclude>== Template Output ==
style="{{#ifeq: {{{1|}}} | done | background-color:#00ff00; | {{#ifeq: {{{1|}}} | replaced | background-color:#00ff00; | {{#ifeq: {{{1|}}} | unassigned | background-color:#ff0000; | {{#ifeq: {{{1|}}} | assigned | background-color:#e0ffff; | {{#ifeq: {{{1|}}} | NA | background-color:#e6e6fa;text-align:center; | {{#ifeq: {{{1|}}} | deleted | background-color:#87cefa; | {{#ifeq: {{{1|}}} | unused | background-color:#ff4500;text-align:center; | }} }} }} }} }} }} }}"|{{#ifeq: {{{1|}}} | done | done | {{#ifeq: {{{1|}}} | assigned | {{{2|}}} | {{#ifeq: {{{1|}}} | unassigned | | {{#ifeq: {{{1|}}} | NA | N/A | {{#ifeq: {{{1|}}} | unused | UNUSED | {{{1|}}} }} }} }} }} }}<noinclude>


<blockquote>
== Example ==
</noinclude>style="text-align:center;{{#ifeq: {{{1|}}} | done | background-color:#00ff00; | {{#ifeq: {{{1|}}} | replaced | background-color:#00ff00; | {{#ifeq: {{{1|}}} | unassigned | background-color:#ff0000; | {{#ifeq: {{{1|}}} | assigned | background-color:#e0ffff; | {{#ifeq: {{{1|}}} | NA | background-color:#e6e6fa; | {{#ifeq: {{{1|}}} | deleted | background-color:#87cefa; | {{#ifeq: {{{1|}}} | unused | background-color:#ff4500; | {{#ifeq: {{{1|}}} | removed | background-color:#00ff00; | }} }} }} }} }} }} }} }}"|{{#ifeq: {{{1|}}} | done | done | {{#ifeq: {{{1|}}} | assigned | {{{2|}}} | {{#ifeq: {{{1|}}} | unassigned | | {{#ifeq: {{{1|}}} | NA | N/A | {{#ifeq: {{{1|}}} | unused | UNUSED | {{#ifeq: {{{1|}}} | replaced | replaced ✓ | {{#ifeq: {{{1|}}} | removed | removed ✓ | {{{1|}}} }} }} }} }} }} }} }}<noinclude>
</blockquote>


== Description ==

Quick formatting for status of different elements on wiki.

== Usage ==

== Examples ==

<blockquote>
{| class="wikitable"
{| class="wikitable"
! Input || Output
! Filename || Source || Assigned || Status
|-
| <nowiki>{{status|unassigned}}</nowiki> || {{status|unassigned}}
|-
| <nowiki>{{status|done}}</nowiki> || {{status|done}}
|-
|-
| foo || athor/island/fooNPC.java || {{status|unassigned}} ||
| <nowiki>{{status|replaced}}</nowiki> || {{status|replaced}}
|-
|-
| bar || || {{status|assigned|baz}} || {{status|done}}
| <nowiki>{{status|removed}}</nowiki> || {{status|removed}}
|-
|-
| qux || {{status|unused}} || {{status|assigned}} ||
| <nowiki>{{status|assigned|user}}</nowiki> || {{status|assigned|user}}
|-
|-
| quux || {{status|NA}} || {{status|corge}} ||
| <nowiki>{{status|unused}}</nowiki> || {{status|unused}}
|-
|-
| || {{status|NA}} || || {{status|deleted}}
| <nowiki>{{status|NA}}</nowiki> || {{status|NA}}
|-
|-
| || || || {{status|replaced}}
| <nowiki>{{status|deleted}}</nowiki> || {{status|deleted}}
|}
|}
</blockquote>


== See Also ==
== See Also ==


* [[Templates|List of templates]]
* [[Special:WhatLinksHere/Template:{{PAGENAME}} | Pages using Template:{{PAGENAME}}]]





Revision as of 11:00, 3 March 2018

Template Output

style="text-align:center;"|

Description

Quick formatting for status of different elements on wiki.

Usage

Examples

Input Output
{{status|unassigned}}
{{status|done}} done ✓
{{status|replaced}} replaced ✓
{{status|removed}} removed ✓
{{status|assigned|user}} user
{{status|unused}} UNUSED
{{status|NA}} N/A
{{status|deleted}} deleted

See Also