Difference between revisions of "Template:Status"
(Created page with "<includeonly><div>{{{prefix|Status: }}}<span style="background:{{#if:{{{color|}}}|{{{color}}}| {{#switch:{{lc:{{{1}}}}}|fixed|done=#00c53e|rejected=#ff0000|shelve|withdraw=#...") |
m |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | <includeonly><div>{{{prefix|Status: }}}<span style="background:{{#if:{{{color|}}}|{{{color}}}| | + | <includeonly><div>{{{prefix|Status:}}} <span style="background:{{#if:{{{color|}}}|{{{color}}}| |
− | {{#switch:{{lc:{{{1}}}}}|fixed|done=#00c53e|rejected=#ff0000| | + | {{#switch:{{lc:{{{1}}}}}|已完成|完成|fix|fixed|done=#00c53e|拒絕|拒绝|rejected=#ff0000|擱置|搁置|shelved|撤回|withdrawn=#AAA|#ffc418}}<!-- end_switch ; end_if(color) --> |
− | }};" {{#ifeq:{{{nospan|}}}|yes||{{#switch:{{lc:{{{1}}}}}|done|rejected|shelved=|#default=id="_new_request"}}}}>  </span> <b>{{{2|<!-- | + | }};" {{#ifeq:{{{nospan|}}}|yes||{{#switch:{{lc:{{{1}}}}}|已完成|完成|done|拒絕|拒绝|rejected|擱置|搁置|shelved=|#default=id="_new_request"}}}}>  </span> <b>{{{2|<!-- |
− | -->{{#switch:{{lc:{{{1}}}}}|fixed|done= | + | -->{{#switch:{{lc:{{{1}}}}}|已完成|完成|fix|fixed|done=Done|拒絕|拒绝|rejected=Rejected|擱置|搁置|shelved=Shelved|撤回|withdrawn=Withdrawn|{{{1|Pending}}}}}<!-- |
− | -->}}}</b>{{{sign|}}}</div>{{#if:{{{category|}}}|{{#switch:{{lc:{{{1}}}}}|done|fixed|rejected|shelved| | + | -->}}}</b>{{{sign|}}}</div>{{#if:{{{category|}}}|{{#switch:{{lc:{{{1}}}}}|已完成|完成|done|fix|fixed|拒絕|拒绝|rejected|擱置|搁置|shelved|撤回|withdrawn=|#default=[[Category:{{{category|}}}]]}}}}</includeonly><noinclude> |
{{documentation}} | {{documentation}} | ||
</noinclude> | </noinclude> |
Latest revision as of 23:10, 27 August 2021
This template is modified from Template:Status2 from Chinese Wikipedia.
致中文使用者:中文站参数亦可使用。
Usage
{{Status}} |
Status: Pending
|
{{Status|<Description>}} |
Status: <Description>
|
{{Status|done}} |
Status: Done
|
{{Status|done|<Description>}} |
Status: <Description>
|
{{Status|done|color=blue}} |
Status: Done
|
{{Status|rejected}} |
Status: Rejected
|
{{Status|rejected|<Description>}} |
Status: <Description>
|
{{Status|shelved}} |
Status: Shelved
|
{{Status|shelved|<Description>}} |
Status: <Description>
|
{{Status|prefix=Progress:}} |
Progress: Pending
|
{{Status|prefix=}} |
Pending
|
{{Status|prefix=|}} |
|
{{Status|color=#66CCFF}} |
Status: Pending
|
{{Status|prefix=Color:|color=pink|pink}} |
Color: pink
|
If the parameter category is specified, the page where it is located will be added to the corresponding category, and it will be automatically removed after the parameter status is set to agree or reject types.