Template:Trophy Total/doc: Difference between revisions
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
;Description | ;Description | ||
:Use this to display the total number of trophies for each game that supports them. | :Use this to display the total number of trophies for each game on PlayStation consoles that supports them. | ||
;Syntax | ;Syntax | ||
:Type <code>{{t|Trophy Total|...}}</code> before the trophy list, with parameters as shown below. | :Type <code>{{t|Trophy Total|...}}</code> before the trophy list, with parameters as shown below. | ||
Line 26: | Line 26: | ||
|platTrophies= 1 | |platTrophies= 1 | ||
}} | }} | ||
==TemplateData== | |||
<templatedata> | |||
{ | |||
"params": { | |||
"banner": { | |||
"label": "Banner", | |||
"description": "Displays a trophy banner for the game.", | |||
"example": "banner=Trophy Banner.png", | |||
"type": "wiki-file-name", | |||
"required": true | |||
}, | |||
"total": { | |||
"label": "Trophy total", | |||
"description": "Displays the total number of trophies.", | |||
"type": "number", | |||
"required": true | |||
}, | |||
"game": { | |||
"label": "Video Game", | |||
"description": "Displays the name of the video game.", | |||
"type": "string", | |||
"required": true | |||
}, | |||
"bronzeTrophies": { | |||
"label": "Bronze trophies", | |||
"description": "Displays the number of bronze trophies.", | |||
"type": "number", | |||
"default": "0", | |||
"required": true | |||
}, | |||
"silverTrophies": { | |||
"label": "Silver trophies", | |||
"description": "Displays the number of silver trophies.", | |||
"default": "0", | |||
"required": true | |||
}, | |||
"goldTrophies": { | |||
"label": "Gold trophies", | |||
"description": "Displays the number of gold trophies.", | |||
"type": "number", | |||
"default": "0", | |||
"required": true | |||
}, | |||
"platTrophies": { | |||
"label": "Platinum trophies", | |||
"description": "Displays the number of platinum trophies, if any.", | |||
"type": "number", | |||
"default": "0", | |||
"suggested": true | |||
} | |||
}, | |||
"description": "Displays the total number of trophies for each game on PlayStation consoles that supports them.", | |||
"format": "block" | |||
} | |||
</templatedata> | |||
==See also== | ==See also== |