Template:Achievement: Difference between revisions

From Arianne
Jump to navigation Jump to search
Content deleted Content added
imported>Madmetzger
No edit summary
imported>AntumDeluge
add color to difficulty
 
(20 intermediate revisions by 2 users not shown)
Line 1: Line 1:
'''{{{title}}}'''
{{#if: {{{title|}}} | {{anchor|{{{title}}}}} }}
; <span style="font-weight:bold;font-style:italic;color:darkgreen;">{{#if: {{{title|}}} | {{{title}}} | (TBD) }}</span>
; Description : {{{description}}}, '''Difficulty: '''{{{difficulty}}}
: Description: {{#if: {{{description|}}} | ''{{{description}}}'' | ''(TBD)'' }}
: 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|}}} | &nbsp;''({{{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
&nbsp;<nowiki>|</nowiki> title = Foo<br>
&nbsp;<nowiki>|</nowiki> description = Description about Foo achievement<br>
&nbsp;<nowiki>|</nowiki> difficulty = easy<br>
&nbsp;<nowiki>|</nowiki> status = complete<br>
&nbsp;<nowiki>|</nowiki> assigned = <nowiki>~~~</nowiki><br>
&nbsp;<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>

Latest revision as of 01:23, 24 April 2024

(TBD)
Description: (TBD)
Difficulty: (TBD)
Status: pending

Examples

Input Output
{{Achievement

 | title = Foo
 | description = Description about Foo achievement
 | difficulty = easy
 | status = complete
 | assigned = ~~~
 | discussion = Points of discussion:
* Point A. ~~~
* Point B.
}}

Foo
Description: Description about Foo achievement
Difficulty: easy
Status: COMPLETE (AntumDeluge (talk))
Discussion:

Points of discussion:

See Also