Template:Achievement: Difference between revisions
Jump to navigation
Jump to search
Content deleted Content added
imported>AntumDeluge Don't italicize discussion parameter |
imported>AntumDeluge add color to difficulty |
||
| (8 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;">{{#if: {{{title|}}} | {{{title}}} | (TBD) }}</span> |
|||
: Description: ''{{{description}}}'' |
|||
: |
: 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)'' }} |
|||
: Discussion: <blockquote>{{{discussion}}}</blockquote>}}<noinclude> |
|||
: Status: {{#if: {{{status|}}} |
|||
| {{#ifeq: {{{status|}}} | complete |
|||
| ⚫ | |||
| {{#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 == |
== Examples == |
||
| Line 11: | Line 27: | ||
! Input || Output |
! Input || Output |
||
|- |
|- |
||
| <span style="font-family: monospace;"><nowiki>{{</nowiki>Achievement |
|||
| <nowiki>{{Achievement|title=Foo|description=Bar|difficulty=easy|discussion= |
|||
<nowiki>|</nowiki> title = Foo<br> |
|||
* This is a BAD idea! ~~~}}</nowiki> || {{Achievement|title=Foo|description=Bar|difficulty=easy|discussion= |
|||
<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 B. |
|||
}} |
|||
|} |
|} |
||
</blockquote> |
</blockquote> |
||
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:
- Point A. AntumDeluge (talk)
- Point B.