Template:Achievement: Difference between revisions
Jump to navigation
Jump to search
Content deleted Content added
imported>Madmetzger |
imported>AntumDeluge add color to difficulty |
||
| (39 intermediate revisions by 3 users not shown) | |||
| Line 1: | Line 1: | ||
{{#if: {{{title|}}} | {{anchor|{{{title}}}}} }} |
|||
; <span style="font-weight:bold;font-style:italic;color:darkgreen;">{{#if: {{{title|}}} | {{{title}}} | (TBD) }}</span> |
|||
: Description: {{#if: {{{description|}}} | ''{{{description}}}'' | ''(TBD)'' }} |
|||
; Difficulty : {{{difficulty}}} |
|||
: Difficulty: {{#if: {{{difficulty|}}} | <span style="font-style: italic; color: {{#ifeq: {{{difficulty}}} | easy | blue | {{#ifeq: {{{difficulty}}} | medium | green | {{#ifeq: {{{difficulty}}} | hard | darkorange | {{#ifeq: {{{difficulty}}} | extreme | red | black }} }} }} }};">{{{difficulty}}}</span> | ''(TBD)'' }} |
|||
: Status: {{#if: {{{status|}}} |
|||
| {{#ifeq: {{{status|}}} | complete |
|||
| <span style="font-weight: bold; font-style: italic; color: darkgreen;">COMPLETE</span> |
|||
| {{#ifeq: {{{status|}}} | vetoed |
|||
| <span style="font-weight: bold; font-style: italic; color: darkred;">VETOED</span> |
|||
| {{#ifeq: {{{status|}}} | assigned |
|||
| <span style="font-weight: bold; font-style: italic; color: darkblue;">ASSIGNED</span> |
|||
| ''{{{status}}}'' |
|||
}} |
|||
}} |
|||
}} |
|||
| <span style="font-weight: bold; font-style: italic; color: darkorange;">pending</span> |
|||
}}{{#if: {{{assigned|}}} | ''({{{assigned}}})'' }}{{#if: {{{discussion|}}} | |
|||
: Discussion: |
|||
<div style="margin-left: 4em; font-style: italic;"> |
|||
{{{discussion}}} |
|||
</div>}}<noinclude> |
|||
== Examples == |
|||
<blockquote> |
|||
{| class="wikitable" |
|||
! Input || Output |
|||
|- |
|||
| <span style="font-family: monospace;"><nowiki>{{</nowiki>Achievement |
|||
<nowiki>|</nowiki> title = Foo<br> |
|||
<nowiki>|</nowiki> description = Description about Foo achievement<br> |
|||
<nowiki>|</nowiki> difficulty = easy<br> |
|||
<nowiki>|</nowiki> status = complete<br> |
|||
<nowiki>|</nowiki> assigned = <nowiki>~~~</nowiki><br> |
|||
<nowiki>|</nowiki> discussion = Points of discussion:<br> |
|||
<nowiki>* Point A. ~~~</nowiki><br> |
|||
<nowiki>* Point B.</nowiki><br> |
|||
<nowiki>}}</nowiki></span> |
|||
|| {{Achievement |
|||
| title = Foo |
|||
| description = Description about Foo achievement |
|||
| difficulty = easy |
|||
| status = complete |
|||
| assigned = [[User:AntumDeluge|AntumDeluge]] ([[User talk:AntumDeluge|talk]]) |
|||
| discussion = Points of discussion: |
|||
* Point A. [[User:AntumDeluge|AntumDeluge]] ([[User talk:AntumDeluge|talk]]) |
|||
* Point B. |
|||
}} |
|||
|} |
|||
</blockquote> |
|||
== See Also == |
|||
* [[Templates|List of templates]] |
|||
[[Category:Stendhal]] |
|||
[[Category:Stendhal Ideas]] |
|||
[[Category:Stendhal Achievement]] |
|||
[[Category:Development]] |
|||
</noinclude> |
|||