Template:Pin: Difference between revisions
Jump to navigation
Jump to search
DokkeFyxen (talk | contribs) mNo edit summary |
(Added the ability to display certain underlay and overlay images.) |
||
Line 1: | Line 1: | ||
<includeonly><table><tr><td | <includeonly><table> | ||
<td> | <tr> | ||
{{#if: {{{devaward|}}} | [[File:Tweak_LevelLink_RandomMmPicksLevel.png|22px|top|This Pin is manually awarded by the developers.]] | }} {{#if: {{{dlc|}}} | [[File:DLC Icon Small.png|22px|top|link={{{dlc}}}|This Pin requires the {{{dlc}}} to unlock.]] | }}{{#switch:{{lc:{{{trophy}}}}} | <td style="min-width:{{{min-width|64}}}px;">{{#switch:{{lc:{{{underlay|}}}}} | ||
|ribbon2=[[File:Pin_Underlay_Ribbon_Level2.png|top|{{#expr: {{{imgwidth|64}}} * 1.5}}px|center|class=pin-ribbon-underlay]] | |||
|ribbon3=[[File:Pin_Underlay_Ribbon_Level3.png|top|{{#expr: {{{imgwidth|64}}} * 1.5}}px|center|class=pin-ribbon-underlay]] | |||
|ribbon4=[[File:Pin_Underlay_Ribbon_Level4.png|top|{{#expr: {{{imgwidth|64}}} * 1.5}}px|center|class=pin-ribbon-underlay]] | |||
|ribbon5=[[File:Pin_Underlay_Ribbon_Level5.png|top|{{#expr: {{{imgwidth|64}}} * 1.5}}px|center|class=pin-ribbon-underlay]] | |||
}}{{#switch:{{lc:{{{overlay|}}}}} | |||
|starbronze=[[File:Pin_Overlay_Challenge_Star_3rd.png|top|{{#expr: {{{imgwidth|64}}} * 1.5}}px|center|class=pin-ribbon-overlay]] | |||
|starsilver=[[File:Pin_Overlay_Challenge_Star_2nd.png|top|{{#expr: {{{imgwidth|64}}} * 1.5}}px|center|class=pin-ribbon-overlay]] | |||
|stargold=[[File:Pin_Overlay_Challenge_Star_1st.png|top|{{#expr: {{{imgwidth|64}}} * 1.5}}px|center|class=pin-ribbon-overlay]] | |||
|rank10=[[File:Pin_Overlay_Challenge_Rank_10.png|top|{{#expr: {{{imgwidth|64}}} * 1.5}}px|center|class=pin-ribbon-overlay]] | |||
|rank25=[[File:Pin_Overlay_Challenge_Rank_25.png|top|{{#expr: {{{imgwidth|64}}} * 1.5}}px|center|class=pin-ribbon-overlay]] | |||
|rank50=[[File:Pin_Overlay_Challenge_Rank_50.png|top|{{#expr: {{{imgwidth|64}}} * 1.5}}px|center|class=pin-ribbon-overlay]] | |||
}}[[File:{{{icon|Placeholder_Pin.png}}} | {{{pic-align|center}}} | {{{imgwidth|64}}}px|class=pin-mainimage]]</td> | |||
<td> | |||
{{#if: {{{devaward|}}} | [[File:Tweak_LevelLink_RandomMmPicksLevel.png|22px|top|This Pin is manually awarded by the developers.]] | }} {{#if: {{{dlc|}}} | [[File:DLC Icon Small.png|22px|top|link={{{dlc}}}|This Pin requires the {{{dlc}}} to unlock.]] | }}{{#switch:{{lc:{{{trophy}}}}} | |||
|platinum= [[File:Platinum_trophy.svg|22px|top|link=Trophies|This Pin {{#if: {{{threshold|}}} | (or one of its thresholds) | }} unlocks a platinum PSN trophy.]] | |platinum= [[File:Platinum_trophy.svg|22px|top|link=Trophies|This Pin {{#if: {{{threshold|}}} | (or one of its thresholds) | }} unlocks a platinum PSN trophy.]] | ||
|gold= [[File:Gold_trophy.svg|22px|top|link=Trophies|This Pin {{#if: {{{threshold|}}} | (or one of its thresholds) | }} unlocks a gold PSN trophy.]] | |gold= [[File:Gold_trophy.svg|22px|top|link=Trophies|This Pin {{#if: {{{threshold|}}} | (or one of its thresholds) | }} unlocks a gold PSN trophy.]] | ||
|silver= [[File:Silver_trophy.svg|22px|top|link=Trophies|This Pin {{#if: {{{threshold|}}} | (or one of its thresholds) | }} unlocks a silver PSN trophy.]] | |silver= [[File:Silver_trophy.svg|22px|top|link=Trophies|This Pin {{#if: {{{threshold|}}} | (or one of its thresholds) | }} unlocks a silver PSN trophy.]] | ||
|bronze= [[File:Bronze_trophy.svg|22px|top|link=Trophies|This Pin {{#if: {{{threshold|}}} | (or one of its thresholds) | }} unlocks a bronze PSN trophy.]] | |bronze= [[File:Bronze_trophy.svg|22px|top|link=Trophies|This Pin {{#if: {{{threshold|}}} | (or one of its thresholds) | }} unlocks a bronze PSN trophy.]] | ||
}} '''{{{name|Pin Title}}}''' {{#if: {{{threshold|}}} | <small>('''{{{threshold}}}''')</small> | }}<br>{{{desc|Pin Description}}}{{#if: {{{actualreq|}}} | <br> <small>({{{actualreq}}})</small> | }}</td></tr></table></includeonly><noinclude><big>'''Pin Unlocked!'''</big> | }} '''{{{name|Pin Title}}}''' {{#if: {{{threshold|}}} | <small>('''{{{threshold}}}''')</small> | }}<br>{{{desc|Pin Description}}}{{#if: {{{actualreq|}}} | <br> <small>({{{actualreq}}})</small> | }}</td> | ||
</tr> | |||
</table></includeonly><noinclude><big>'''Pin Unlocked!'''</big> | |||
{{Pin | {{Pin | ||
|name=Making A Good Example | |name=Making A Good Example | ||
Line 18: | Line 34: | ||
<pre> | <pre> | ||
{{Pin | {{Pin | ||
|icon= | |icon= Filename for the Pin's icon. (e.g. Placeholder_Pin.png) | ||
|name= | |underlay= Use this to specify which ribbon to display underneath the main image, for Tiered Pins. Options include "ribbon2" "ribbon3" "ribbon4" and "ribbon5". | ||
|threshold= Use this to mark thresholds, if the Pin is tiered. Should be a comma separated list. | |overlay= Use this to specify an image to display on top of the main image, for LBP3's Challenge Pins. Options include "starbronze", "starsilver", "stargold", "rank10", "rank25" and "rank50" | ||
|desc= | |name= The Pin's in-game name. | ||
|actualreq= Use this to clarify the Pin's actual requirements, if the in-game description is different or vague. Text entered here is displayed in small parenthesese below the in-game description. | |threshold= Use this to mark thresholds, if the Pin is tiered. Should be a comma separated list. | ||
|trophy= | |desc= The Pin's in-game description. | ||
|dlc= | |actualreq= Use this to clarify the Pin's actual requirements, if the in-game description is different or vague. Text entered here is displayed in small parenthesese below the in-game description. | ||
|devaward= | |trophy= The tier of trophy awarded by this Pin. Values include "bronze", "silver", "gold" and "platinum". | ||
|dlc= If this Pin is not from a level kit but still requires DLC to unlock, use this to specify the name of the DLC. Clicking the icon will send users to the corresponding article. | |||
|devaward= Use this to specify if the Pin is manually awarded by the game developers (e.g. a prize in a contest, participation in a community meetup, etc). | |||
}} | }} | ||
</pre> | </pre> | ||
[[Category:Content box templates]]</noinclude> | [[Category:Content box templates]]</noinclude> |
Revision as of 19:30, 11 June 2024
Pin Unlocked!
Making A Good Example (1, 2, 3, 4, 5) Show off your proudest achievements! (Use the Pin template to display information about in-game Pins on the wiki.) |
Mainly used on pages about Pins.
Usage
{{Pin |icon= Filename for the Pin's icon. (e.g. Placeholder_Pin.png) |underlay= Use this to specify which ribbon to display underneath the main image, for Tiered Pins. Options include "ribbon2" "ribbon3" "ribbon4" and "ribbon5". |overlay= Use this to specify an image to display on top of the main image, for LBP3's Challenge Pins. Options include "starbronze", "starsilver", "stargold", "rank10", "rank25" and "rank50" |name= The Pin's in-game name. |threshold= Use this to mark thresholds, if the Pin is tiered. Should be a comma separated list. |desc= The Pin's in-game description. |actualreq= Use this to clarify the Pin's actual requirements, if the in-game description is different or vague. Text entered here is displayed in small parenthesese below the in-game description. |trophy= The tier of trophy awarded by this Pin. Values include "bronze", "silver", "gold" and "platinum". |dlc= If this Pin is not from a level kit but still requires DLC to unlock, use this to specify the name of the DLC. Clicking the icon will send users to the corresponding article. |devaward= Use this to specify if the Pin is manually awarded by the game developers (e.g. a prize in a contest, participation in a community meetup, etc). }}