Template:Status: Difference between revisions
Content deleted Content added
imported>AntumDeluge Create template "Status" to set table cell background colors (replaces "Template:Unassigned") |
imported>AntumDeluge Always show text from parameter 2 |
||
| (68 intermediate revisions by the same user not shown) | |||
Line 1:
<noinclude>== Template Output ==
<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.
== Examples ==
<blockquote>
{| class="wikitable"
! Input || Output
|-
|
|-
|
|-
|
|-
|
|-
| <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}}
|-
| <nowiki>{{status|unused}}</nowiki> || {{status|unused}}
|-
| <nowiki>{{status|NA}}</nowiki> || {{status|NA}}
|-
| <nowiki>{{status|deleted}}</nowiki> || {{status|deleted}}
|-
| <nowiki>{{status||pending}}</nowiki> || {{status||pending}}
|-
| <nowiki>{{status|nok|pending}}</nowiki> || {{status|nok|pending}}
|}
</blockquote>
== See Also ==
* [[Templates|List of templates]]
* [[:Category:RefactoringTemplates|List of refactoring templates]]
[[Category:Development]]
[[Category:RefactoringTemplates]]
| |||