Template:Achievement: Difference between revisions

From Stalburg Wiki
Jump to navigation Jump to search
mNo edit summary
Improve template
Line 1: Line 1:
{{ombox | type=notice | image=[[Image:Ach_{{{name}}}.jpg|60px]] | text = {{{description}}} }}
<noinclude>
[[Category:Stubs]]
<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 = '''{{{description}}}'''
 
{{{details}}} }}
[[Category:Stubs]] [[Category:Templates]]

Revision as of 00:09, 27 January 2026

Message box for specifying an achievement

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Achievement namename

This name is used to link with the right achievement icon.

Example
preparations
Stringrequired
Description of achievementdescription

A short description of the achievement.

Example
Preparations
Stringrequired
Detailsdetails

Details about the achievement.

Example
Complete the chapter "Preparations".
Contentoptional