Difference between revisions of "Template:Task"

From Kerbal Space Program Wiki
Jump to: navigation, search
(Created page with "{| class="ambox noprint" style="border-left-color: {{#switch: {{{1|}}} |complete=green |claimed=f4c430 |pending=b22222 |#default=b22222}}" | class="mbox-image" | | class="mbox...")
 
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
{| class="ambox noprint" style="border-left-color: {{#switch: {{{1|}}}
 
{| class="ambox noprint" style="border-left-color: {{#switch: {{{1|}}}
 
|complete=green
 
|complete=green
|claimed=f4c430
+
|claimed=orange
|pending=b22222
+
|pending=red
|#default=b22222}}"
+
|#default=red}}; margin-left:0%; margin-right:60%"
 
| class="mbox-image" |
 
| class="mbox-image" |
 
| class="mbox-text" | {{#switch: {{{1|}}}
 
| class="mbox-text" | {{#switch: {{{1|}}}
|complete='''This task is complete.''' Thanks for your contributions. {{{2|}}}
+
|complete='''This task is complete.''' Thanks for contributing! {{#if: {{{2|}}} |''{{{2|}}}''|}}
|claimed='''This task is in progress.''' You can join this task at any time. {{{2|}}}
+
|claimed='''This task is in progress.''' You can join this task at any time. {{#if: {{{2|}}} |''{{{2|}}}''|}}
|pending='''No one has claimed this task yet.''' Please help by joining this task. {{{2|}}}
+
|pending='''No one has claimed this task yet.''' Please help by joining this task. {{#if: {{{2|}}} |''{{{2|}}}''|}}
 
}}
 
}}
|}
+
|}<noinclude>
 +
Usage: <code><nowiki>{{task|complete/claimed/pending|additional message}}</nowiki></code>
 +
{{task|complete|additional message}}
 +
{{task|claimed|additional message}}
 +
{{task|pending|additional message}}
 +
</noinclude>

Latest revision as of 20:25, 4 June 2015

Usage: {{task|complete/claimed/pending|additional message}}

This task is complete. Thanks for contributing! additional message
This task is in progress. You can join this task at any time. additional message
No one has claimed this task yet. Please help by joining this task. additional message