Template:Achievement: Difference between revisions
Created page with "{{ombox | type=notice | image=[[Image:Ach_{{{name}}}.jpg|60px]] | text = You can obtain the achievement {{{name}}} here. }} Category:Stubs" |
Axelandre42 (talk | contribs) No edit summary |
||
| (16 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
{{ombox | type=notice | image=[[Image:Ach_{{{name}}}.jpg|60px]] | text = | <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> | |||