Template:Status: Difference between revisions
Content deleted Content added
imported>AntumDeluge mNo edit summary |
imported>AntumDeluge Always show text from parameter 2 |
||
| (29 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;text-align:center; | {{#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;
</blockquote>
== Description ==
Quick formatting for status of different elements on wiki.
== Examples ==
<blockquote>
{| class="wikitable"
! Input || Output
|-
| <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}}
|-
|
|-
|
|-
|
|-
|
|-
|
|}
</blockquote>
== See Also ==
* [[Templates|List of templates]]
* [[:Category:RefactoringTemplates|List of refactoring templates]]
[[Category:Development]]
[[Category:RefactoringTemplates]]
| |||