Template:Trophy: Difference between revisions
Jump to navigation
Jump to search
(Added the option to mark a trophy as server dependant.) |
DokkeFyxen (talk | contribs) mNo edit summary |
||
(2 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
<includeonly><table><tr><td class="msgboximg" style="min-width:{{{min-width|64}}}px;">[[File:{{{icon|Placeholder_Pin.png}}} | {{{pic-align|center}}} | {{{imgwidth|64}}}px]]</td> | <includeonly><table><tr><td class="msgboximg" style="min-width:{{{min-width|64}}}px;">[[File:{{{icon|Placeholder_Pin.png}}} | {{{pic-align|center}}} | {{{imgwidth|64}}}px]]</td> | ||
<td> | <td> | ||
{{#if: {{{online|}}} | {{#ifeq: {{{online}}} | n | [[File:No_Connection.png|22px|top|This trophy can no longer be unlocked due to the official servers being shut down.]] | [[File:PSN_Icon.png|22px|top|This trophy requires | {{#if: {{{online|}}} | {{#ifeq: {{{online}}} | n | [[File:No_Connection.png|22px|top|{{#ifeq: {{lc:{{{rank}}}}} | platinum | One or more of this trophy's dependencies | This trophy }} can no longer be unlocked due to the official servers being shut down.]] | [[File:PSN_Icon.png|22px|top|{{#ifeq: {{lc:{{{rank}}}}} | platinum |One or more of this trophy's dependencies | This trophy }} requires an internet connection to unlock.]] }} }} {{#switch: {{lc:{{{rank}}}}} | ||
|platinum= [[File:Platinum_trophy.svg|22px|top|Platinum trophy]] | |||
|gold= [[File:Gold_trophy.svg|22px|top|Gold trophy]] | |||
|silver= [[File:Silver_trophy.svg|22px|top|Silver trophy]] | |||
|bronze= [[File:Bronze_trophy.svg|22px|top|Bronze trophy]] | |||
}} '''{{{name|Trophy Title}}}'''<br>{{{desc|Trophy Description}}}{{#if: {{{actualreq|}}} | <br><small>({{{actualreq}}})</small> | }}</td></tr></table></includeonly><noinclude> | }} '''{{{name|Trophy Title}}}'''<br>{{{desc|Trophy Description}}}{{#if: {{{actualreq|}}} | <br><small>({{{actualreq}}})</small> | }}</td></tr></table></includeonly><noinclude><big>'''You have earned a trophy.'''</big> | ||
{{trophy | {{trophy | ||
|rank=platinum | |rank=platinum | ||
|name=Trophy Title | |name=Trophy Title | ||
Line 20: | Line 19: | ||
|icon= Filename for the trophy's icon. (e.g. Trophy.png) | |icon= Filename for the trophy's icon. (e.g. Trophy.png) | ||
|online= Used to denote if a trophy requires online functionality to unlock. If the game's servers have been shut down, append with "n" to mark it as unobtainable. Otherwise, append with "y". | |online= Used to denote if a trophy requires online functionality to unlock. If the game's servers have been shut down, append with "n" to mark it as unobtainable. Otherwise, append with "y". | ||
|rank= Displays a coloured icon beside the trophy's name, indicating its rank. Values include "bronze", "silver", "gold" and "platinum" | |rank= Displays a coloured icon beside the trophy's name, indicating its rank. Values include "bronze", "silver", "gold" and "platinum". | ||
|name= The trophy's name. | |name= The trophy's name. | ||
|desc= The trophy's description. | |desc= The trophy's description. | ||
Line 26: | Line 25: | ||
}} | }} | ||
</pre> | </pre> | ||
[[Category: | [[Category:Content box templates]]</noinclude> |
Latest revision as of 17:01, 10 June 2024
You have earned a trophy.
Trophy Title Fix the icon for the trophy. (Also think of some witty text to put here.) |
Essentially just a stripped-down pin template, specifically meant for use on pages about PSN trophies.
Usage
{{Trophy |icon= Filename for the trophy's icon. (e.g. Trophy.png) |online= Used to denote if a trophy requires online functionality to unlock. If the game's servers have been shut down, append with "n" to mark it as unobtainable. Otherwise, append with "y". |rank= Displays a coloured icon beside the trophy's name, indicating its rank. Values include "bronze", "silver", "gold" and "platinum". |name= The trophy's name. |desc= The trophy's description. |actualreq= Use this to clarify the trophy's actual requirements, if the given description is different or vague. Text entered here is displayed in small parenthesese. }}