Template:Achievement: Difference between revisions

Jump to navigation Jump to search
Content deleted Content added
imported>AntumDeluge
add status parameter
imported>AntumDeluge
add color to difficulty
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#if: {{{title|}}} | {{anchor|{{{title}}}}} }}
; <span style="font-weight:bold;font-style:italic;color:darkgreen;">{{{title}}}</span>
; <span style="font-weight:bold;font-style:italic;color:darkgreen;">{{#if: {{{title|}}} | {{{title}}} | (TBD) }}</span>
: Description: ''{{{description}}}''
: 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|}}} | ''{{{status}}}'' | ''pending'' }}{{#if: {{{discussion|}}} |
: 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|}}} | &nbsp;''({{{assigned}}})'' }}{{#if: {{{discussion|}}} |
: Discussion:
: Discussion:
<div style="margin-left: 4em; font-style: italic;">
<div style="margin-left: 4em; font-style: italic;">
Line 18: Line 31:
&nbsp;<nowiki>|</nowiki> description = Description about Foo achievement<br>
&nbsp;<nowiki>|</nowiki> description = Description about Foo achievement<br>
&nbsp;<nowiki>|</nowiki> difficulty = easy<br>
&nbsp;<nowiki>|</nowiki> difficulty = easy<br>
&nbsp;<nowiki>|</nowiki> status =<br>
&nbsp;<nowiki>|</nowiki> status = complete<br>
&nbsp;<nowiki>|</nowiki> assigned = <nowiki>~~~</nowiki><br>
&nbsp;<nowiki>|</nowiki> discussion = Points of discussion:<br>
&nbsp;<nowiki>|</nowiki> discussion = Points of discussion:<br>
<nowiki>* Point A. ~~~</nowiki><br>
<nowiki>* Point A. ~~~</nowiki><br>
Line 27: Line 41:
| description = Description about Foo achievement
| description = Description about Foo achievement
| difficulty = easy
| difficulty = easy
| status =
| status = complete
| assigned = [[User:AntumDeluge|AntumDeluge]] ([[User talk:AntumDeluge|talk]])
| discussion = Points of discussion:
| discussion = Points of discussion:
* Point A. [[User:AntumDeluge|AntumDeluge]] ([[User talk:AntumDeluge|talk]])
* Point A. [[User:AntumDeluge|AntumDeluge]] ([[User talk:AntumDeluge|talk]])