Template:Status: Difference between revisions

Jump to navigation Jump to search
Content deleted Content added
imported>AntumDeluge
Add "status|replaced"
imported>AntumDeluge
Always show text from parameter 2
 
(14 intermediate revisions by the same user not shown)
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|}}} | check | background-color:#00ff00; | {{#ifeq: {{{1|}}} | ok | background-color:#00ff00; | {{#ifeq: {{{1|}}} | nok | background-color:#ff0000; | }} }} }} }} }} }} }} }} }} }} }}"|{{#ifeq: {{{1|}}} | done | done | {{#ifeq: {{{1|}}} | assigned | | {{#ifeq: {{{1|}}} | unassigned | | {{#ifeq: {{{1|}}} | NA | N/A | {{#ifeq: {{{1|}}} | unused | UNUSED | {{#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.

== Usage ==

== Examples ==

<blockquote>
{| class="wikitable"
{| 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}}
|-
|-
| foo || athor/island/fooNPC.java || {{status|unassigned}} ||
| <nowiki>{{status|assigned|user}}</nowiki> || {{status|assigned|user}}
|-
|-
| bar || || {{status|assigned|baz}} || {{status|done}}
| <nowiki>{{status|unused}}</nowiki> || {{status|unused}}
|-
|-
| qux || {{status|unused}} || {{status|assigned}} ||
| <nowiki>{{status|NA}}</nowiki> || {{status|NA}}
|-
|-
| quux || {{status|NA}} || {{status|corge}} ||
| <nowiki>{{status|deleted}}</nowiki> || {{status|deleted}}
|-
|-
| || {{status|NA}} || || {{status|deleted}}
| <nowiki>{{status||pending}}</nowiki> || {{status||pending}}
|-
|-
| || || || {{status|replaced}}
| <nowiki>{{status|nok|pending}}</nowiki> || {{status|nok|pending}}
|}
|}
</blockquote>


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


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




[[Category:Development]]
[[Category:Development]]
[[Category:RefactoringTemplates]]