Template:Status: Difference between revisions

Content deleted Content added
imported>AntumDeluge
Add status "deleted"
imported>AntumDeluge
Always show text from parameter 2
 
(42 intermediate revisions by the same user not shown)
Line 1:
<noinclude>== Template Output ==
style="{{#ifeq: {{{1|}}} | done | 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|}}} | done | done | {{#ifeq: {{{1|}}} | assigned | {{{2|}}} | {{#ifeq: {{{1|}}} | unassigned | | {{#ifeq: {{{1|}}} | NA | N/A | {{{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|}}} | check | background-color:#00ff00; | {{#ifeq: {{{1|}}} | ok | background-color:#00ff00; | {{#ifeq: {{{1|}}} | nok | background-color:#ff0000; | }} }} }} }} }} }} }} }} }} }} }}"|{{#ifeq: {{{1|}}} | done | done | {{#ifeq: {{{1|}}} | assigned | | {{#ifeq: {2{{1|}}} | unassigned | | {{#ifeq: {{{1|}}} | unassignedNA | N/A | {{#ifeq: {{{1|}}} | NAunused | N/AUNUSED | {{#ifeq: {{{1|}}} | replaced | replaced ✓ | {{#ifeq: {{{1|}}} | removed | removed ✓ | {{#ifeq: {{{1|}}} | check | ✓ | {{#ifeq: {{{1|}}} | ok | | {{#ifeq: {{{1|}}} | nok | | {{{1|}}} }} }} }} }} }} }} }} }} }} }} {{#if: {{{2|}}} | {{{2|}}} }}<noinclude>
</blockquote>
 
== Description ==
 
Quick formatting for status of different elements on wiki.
 
== ExampleUsage ==
 
== Examples ==
 
<blockquote>
{| class="wikitable"
! Input || Output
! Filename || Source || Assigned || Status
|-
| <nowiki>{{status|ok}}</nowiki> || {{status|ok}}
|-
| <nowiki>{{status|nok}}</nowiki> || {{status|nok}}
|-
| <nowiki>{{status|unassigned}}</nowiki> || {{status|unassigned}}
|-
| <nowiki>{{status|done}}</nowiki> || {{status|done}}
|-
| <nowiki>{{status|replaced}}</nowiki> || {{status|replaced}}
|-
| <nowiki>{{status|removed}}</nowiki> || {{status|removed}}
|-
| <nowiki>{{status|check}}</nowiki> || {{status|check}}
|-
| <nowiki>{{status|assigned|user}}</nowiki> || {{status|assigned|user}}
|-
| foo <nowiki>{{status|| athorunused}}</island/fooNPC.javanowiki> || {{status|unassignedunused}} ||
|-
| bar || || <nowiki>{{status|assigned|bazNA}}</nowiki> || {{status|doneNA}}
|-
| qux |<nowiki>{{status|deleted}}</nowiki> || {{status|assigneddeleted}} ||
|-
| quux || <nowiki>{{status|NA|pending}}</nowiki> || {{status|corge|pending}} ||
|-
| || <nowiki>{{status|NAnok|pending}}</nowiki> || {{status|deletednok|pending}} ||
|}
</blockquote>
 
== See Also ==
 
* [[Templates|List of templates]]
* [[Special:WhatLinksHere/Template:{{PAGENAME}} | Pages using Template:{{PAGENAME}}]]
* [[:Category:RefactoringTemplates|List of refactoring templates]]
 
 
[[Category:Development]]
[[Category:RefactoringTemplates]]