Template:Trophy: Difference between revisions
Jump to navigation
Jump to search
(Created page with "<includeonly><table><tr><td class="msgboximg" style="min-width:{{{min-width|64}}}px;">[[File:{{{icon|Placeholder_Pin.png}}} | {{{pic-align|center}}} | {{{imgwidth|64}}}px]]</t...") |
(Added the option to mark a trophy as server dependant.) |
||
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: {{{rank|}}} | | {{#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 online functionality to unlock.]] }} }} {{#if: {{{rank|}}} | | ||
{{#ifeq: {{{rank}}} | bronze | [[File:Bronze_trophy.svg|22px|top|Bronze trophy]] | }} | {{#ifeq: {{{rank}}} | bronze | [[File:Bronze_trophy.svg|22px|top|Bronze trophy]] | }} | ||
{{#ifeq: {{{rank}}} | silver | [[File:Silver_trophy.svg|22px|top|Silver trophy]] | }} | {{#ifeq: {{{rank}}} | silver | [[File:Silver_trophy.svg|22px|top|Silver trophy]] | }} | ||
Line 8: | Line 8: | ||
}} '''{{{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> | ||
{{trophy | {{trophy | ||
|online= y | |||
|rank=platinum | |rank=platinum | ||
|name=Trophy Title | |name=Trophy Title | ||
Line 18: | Line 19: | ||
{{Trophy | {{Trophy | ||
|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". | |||
|rank= Displays a coloured icon beside the trophy's name, indicating its rank. Values include "bronze", "silver", "gold" and "platinum". Note that these values are case-sensitive. | |rank= Displays a coloured icon beside the trophy's name, indicating its rank. Values include "bronze", "silver", "gold" and "platinum". Note that these values are case-sensitive. | ||
|name= The trophy's name. | |name= The trophy's name. |
Revision as of 15:52, 18 February 2021
This trophy requires online functionality to unlock. 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". Note that these values are case-sensitive. |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. }}