Template:Achievement: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
Axelandre42 (talk | contribs) No edit summary |
||
| (15 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
{{ombox | type=notice | image=[[Image:Ach_{{{name}}}.jpg|60px]] | text = {{{description}}} }} | <noinclude> | ||
[[Category: | <templatedata> | ||
{ | |||
"params": { | |||
"name": { | |||
"label": "Achievement name", | |||
"description": "This name is used to link with the right achievement icon.", | |||
"example": "preparations", | |||
"type": "string", | |||
"required": true | |||
}, | |||
"description": { | |||
"label": "Description of achievement", | |||
"description": "A short description of the achievement.", | |||
"example": "Preparations", | |||
"type": "string", | |||
"required": true | |||
}, | |||
"details": { | |||
"label": "Details", | |||
"description": "Details about the achievement.", | |||
"example": "Complete the chapter \"Preparations\".", | |||
"type": "content" | |||
} | |||
}, | |||
"description": "Message box for specifying an achievement" | |||
} | |||
</templatedata> | |||
</noinclude> | |||
{{ombox | type=notice | image=[[Image:Ach_{{{name}}}.jpg|60px]] | text = '''[[INFRA/Achievements|Achievement]]: ''' {{#if:{{{details|}}}| '''{{{description}}}'''<br> | |||
{{{details}}}|'''{{{description}}}''' | |||
}} | |||
}} | |||
<noinclude> | |||
[[Category:Templates]] | |||
</noinclude> | |||
Latest revision as of 15:22, 27 January 2026
Message box for specifying an achievement
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Achievement name | name | This name is used to link with the right achievement icon.
| String | required |
| Description of achievement | description | A short description of the achievement.
| String | required |
| Details | details | Details about the achievement.
| Content | optional |
| [[Image:Ach_{{{name}}}.jpg|60px]] | Achievement: {{{description}}} |