Template:Trophy: Difference between revisions

From SmashWiki, the Super Smash Bros. wiki
Jump to navigationJump to search
mNo edit summary
m (Text replacement - "\[\[(:)?Image:" to "[[$1File:")
Line 1: Line 1:
<includeonly>{{#if:{{{image|}}}|[[Image:{{{image}}}|thumb|{{{image-align|left}}}|{{{size|150px}}}|{{{name|}}}'s trophy in {{#switch:{{lc:{{{game|}}}}}|ssbm|melee=''[[Melee]]''|ssbb|brawl=''[[Brawl]]''|ssb4-wiiu|ssb4-u={{forwiiu}}|ssb4-3ds|ssb4-3={{for3ds}}}}]]}}{{#if:{{{image-3ds|}}}|[[Image:{{{image-3ds}}}|thumb|left|{{{size|150px}}}|{{{name|}}}'s trophy in {{for3ds}}]]}}{{#if:{{{image-wiiu|}}}|[[Image:{{{image-wiiu}}}|thumb|right|{{{size|150px}}}|{{{name|{{SUBPAGENAME}}}}}'s trophy in {{forwiiu}}]]}}
<includeonly>{{#if:{{{image|}}}|[[File:{{{image}}}|thumb|{{{image-align|left}}}|{{{size|150px}}}|{{{name|}}}'s trophy in {{#switch:{{lc:{{{game|}}}}}|ssbm|melee=''[[Melee]]''|ssbb|brawl=''[[Brawl]]''|ssb4-wiiu|ssb4-u={{forwiiu}}|ssb4-3ds|ssb4-3={{for3ds}}}}]]}}{{#if:{{{image-3ds|}}}|[[File:{{{image-3ds}}}|thumb|left|{{{size|150px}}}|{{{name|}}}'s trophy in {{for3ds}}]]}}{{#if:{{{image-wiiu|}}}|[[File:{{{image-wiiu}}}|thumb|right|{{{size|150px}}}|{{{name|{{SUBPAGENAME}}}}}'s trophy in {{forwiiu}}]]}}
;'''{{{name|{{SUBPAGENAME}}}}}'''
;'''{{{name|{{SUBPAGENAME}}}}}'''
{{#if:{{{desc|}}}|:''{{{desc|}}}''|:{{flag|ntsc}} ''{{{desc-ntsc}}}''<br/>{{flag|pal}} ''{{{desc-pal}}}''}}</includeonly><noinclude>
{{#if:{{{desc|}}}|:''{{{desc|}}}''|:{{flag|ntsc}} ''{{{desc-ntsc}}}''<br/>{{flag|pal}} ''{{{desc-pal}}}''}}</includeonly><noinclude>

Revision as of 14:44, February 10, 2021

Usage

Parameter Description
name The name of the trophy
desc A description of the trophy, for use only if the trophy does not differ across NTSC and PAL
desc-ntsc A description of the trophy in the NTSC version
desc-pal A description of the trophy in the PAL version
image The image for the trophy. Do not use this for trophies that have both a Wii U and 3DS counterpart (only for Melee, Brawl, and 3DS/WiiU exclusive ones)
image-align Which side of the trophy the image should be aligned, defaulted to left (Use "left" or "right"). Not necessary for trophies with both Wii U and 3DS versions
image-3ds The image for the 3DS version
image-wiiu The image for the Wii U version
size Specifies the image size, defaulted to 150px.
game Specifies the game that the trophy appears in. Not necessary for trophies with both Wii U and 3DS versions

Example

this:
{{Trophy
|name=Mario
|desc-ntsc=As iconic as iconic gets, this gaming celebrity is known for saving the world from Bowser. He's got amazing jumping skills and makes use of a wide range of transformations. In his free time, he plays too many sports to count. In Smash Bros., he's a well-rounded fighter you can rely on. Say it with me: "It's-a me, Mario!"
|desc-pal=It's-a him! Maaario! Whether he's wearing one of his special outfits or just his normal blue dungarees, this running, jumping, Bowser-bashing, princess-saving hero is an all-round superstar. And in this game, he's got enough tricks up his sleeve to deal with anything. If you don't know which fighter to pick, Mario's a solid choice.
{{Trophy games|console1=nes|game1=Donkey Kong Classics 09/1988|console2=nes|game2=Super Mario Bros. 10/1985}}
|image-3ds=MarioTrophy3DS.png
|image-wiiu=MarioTrophyWiiU.png
}}

produces this:

Mario's trophy in Super Smash Bros. for Wii U
Mario
Ntsc As iconic as iconic gets, this gaming celebrity is known for saving the world from Bowser. He's got amazing jumping skills and makes use of a wide range of transformations. In his free time, he plays too many sports to count. In Smash Bros., he's a well-rounded fighter you can rely on. Say it with me: "It's-a me, Mario!"
Pal It's-a him! Maaario! Whether he's wearing one of his special outfits or just his normal blue dungarees, this running, jumping, Bowser-bashing, princess-saving hero is an all-round superstar. And in this game, he's got enough tricks up his sleeve to deal with anything. If you don't know which fighter to pick, Mario's a solid choice.
NES: Donkey Kong Classics 09/1988
NES: Super Mario Bros. 10/1985