Template:Trophy: Difference between revisions

From SmashWiki, the Super Smash Bros. wiki
Jump to navigationJump to search
(Same change as t:TrophyTableRow (Special:Diff/1724777) with alterations to match format)
(Adding gamelists for regional diffs like with TrophyTableRow)
Line 4: Line 4:
;{{flag|pal}}{{{name-pal}}}|
;{{flag|pal}}{{{name-pal}}}|
;{{{name|{{SUBPAGENAME}}}}}}}{{#if:{{{desc|}}}|
;{{{name|{{SUBPAGENAME}}}}}}}{{#if:{{{desc|}}}|
:<i>{{{desc}}}</i>}}{{#if:{{{desc-ntsc|}}}|
:<i>{{{desc}}}</i>}}<!--{{#if:{{{desc-3ds|}}}|
:{{GameIcon|ssb4-3ds}} <i>{{{desc-3ds}}}</i>}}-->{{#if:{{{desc-wiiu|}}}|
:{{GameIcon|ssb4-wiiu}} <i>{{{desc-wiiu}}}</i>}}{{#if:{{{desc-ntsc|}}}|
:{{flag|NTSC}} <i>{{{desc-ntsc}}}</i>}}{{#if:{{{desc-3ds-ntsc|}}}|
:{{flag|NTSC}} <i>{{{desc-ntsc}}}</i>}}{{#if:{{{desc-3ds-ntsc|}}}|
:{{flag|NTSC}}{{GameIcon|ssb4-3ds}} <i>{{{desc-3ds-ntsc}}}</i>}}{{#if:{{{desc-wiiu-ntsc|}}}|
:{{flag|NTSC}}{{GameIcon|ssb4-3ds}} <i>{{{desc-3ds-ntsc}}}</i>}}{{#if:{{{desc-wiiu-ntsc|}}}|
:{{flag|NTSC}}{{GameIcon|ssb4-wiiu}} <i>{{{desc-wiiu-ntsc}}}</i>}}{{#if:{{{desc-pal|}}}|
:{{flag|NTSC}}{{GameIcon|ssb4-wiiu}} <i>{{{desc-wiiu-ntsc}}}</i>}}{{#if:{{{gamelist-ntsc|}}}|{{#if:{{{desc-ntsc|}}}{{{desc-3ds-ntsc|}}}{{{desc-wiiu-ntsc|}}}||
:{{flag|NTSC}}}}
{{{gamelist-ntsc}}}}}{{#if:{{{desc-pal|}}}|
:{{flag|PAL}} <i>{{{desc-pal}}}</i>}}{{#if:{{{desc-3ds-pal|}}}|
:{{flag|PAL}} <i>{{{desc-pal}}}</i>}}{{#if:{{{desc-3ds-pal|}}}|
:{{flag|PAL}}{{GameIcon|ssb4-3ds}} <i>{{{desc-3ds-pal}}}</i>}}{{#if:{{{desc-wiiu-pal|}}}|
:{{flag|PAL}}{{GameIcon|ssb4-3ds}} <i>{{{desc-3ds-pal}}}</i>}}{{#if:{{{desc-wiiu-pal|}}}|
:{{flag|PAL}}{{GameIcon|ssb4-wiiu}} <i>{{{desc-wiiu-pal}}}</i>}}<!--{{#if:{{{desc-3ds|}}}|
:{{flag|PAL}}{{GameIcon|ssb4-wiiu}} <i>{{{desc-wiiu-pal}}}</i>}}{{#if:{{{gamelist-pal|}}}|{{#if:{{{desc-pal|}}}{{{desc-3ds-pal|}}}{{{desc-wiiu-pal|}}}||
:{{GameIcon|ssb4-3ds}} <i>{{{desc-3ds}}}</i>}}-->{{#if:{{{desc-wiiu|}}}|
:{{flag|PAL}}}}
:{{GameIcon|ssb4-wiiu}} <i>{{{desc-wiiu}}}</i>}}{{#if:{{{gamelist|}}}|
{{{gamelist-pal}}}}}{{#if:{{{gamelist|}}}|
{{{gamelist}}}}}</includeonly><noinclude>
{{{gamelist}}}}}</includeonly><noinclude>
==Usage==
==Usage==
Line 56: Line 60:
|-
|-
| gamelist || Games listed below the description ("Related Games", "Appears In", etc.). Use {{t|Trophy games}}
| gamelist || Games listed below the description ("Related Games", "Appears In", etc.). Use {{t|Trophy games}}
|-
| gamelist-ntsc || Games listed in the NTSC version
|-
| gamelist-pal || Games listed in the PAL version
|}
|}


Line 65: Line 73:
|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!"<br/>
|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!"<br/>
|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.<br/>
|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.<br/>
<nowiki>{{Trophy games|console1=nes|game1=Donkey Kong Classics (09/1988)|console2=nes|game2=Super Mario Bros. (10/1985)}}</nowiki><br/>
|gamelist=<nowiki>{{Trophy games|console1=nes|game1=Donkey Kong Classics|release1=09/1988|console2=nes|game2=Super Mario Bros.|release2=10/1985}}</nowiki><br/>
|image-3ds=MarioTrophy3DS.png<br/>
|image-3ds=MarioTrophy3DS.png<br/>
|image-wiiu=MarioTrophyWiiU.png<br/>
|image-wiiu=MarioTrophyWiiU.png<br/>
Line 74: Line 82:
|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-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.
|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)}}
|gamelist={{Trophy games|console1=nes|game1=Donkey Kong Classics|release1=09/1988|console2=nes|game2=Super Mario Bros.|release2=10/1985}}
|image-3ds=MarioTrophy3DS.png
|image-3ds=MarioTrophy3DS.png
|image-wiiu=MarioTrophyWiiU.png
|image-wiiu=MarioTrophyWiiU.png
}}</noinclude>
}}</noinclude>

Revision as of 14:35, November 10, 2022

Usage

Parameter Description
name The name of the trophy. Defaults to article's name. Always used regardless of NTSC/PAL name
name-ntsc The name of the trophy in the NTSC version
name-pal The name of the trophy in the PAL version
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
desc-3ds-ntsc A description of the trophy exclusive to the for Nintendo 3DS NTSC version
desc-wiiu-ntsc A description of the trophy exclusive to the for Wii U NTSC version
desc-3ds-pal A description of the trophy exclusive to the for Nintendo 3DS PAL version
desc-wiiu-pal A description of the trophy exclusive to the for Wii U PAL version
desc-3ds A description of the trophy exclusive to the for Nintendo 3DS version that does not differ across NTSC and PAL (disabled due to no use cases)
desc-wiiu A description of the trophy exclusive to the for Wii U version that does not differ across NTSC and PAL
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 100px.
game Specifies the game that the trophy appears in. Not necessary for trophies with both Wii U and 3DS versions
gamelist Games listed below the description ("Related Games", "Appears In", etc.). Use {{Trophy games}}
gamelist-ntsc Games listed in the NTSC version
gamelist-pal Games listed in the PAL version

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.
|gamelist={{Trophy games|console1=nes|game1=Donkey Kong Classics|release1=09/1988|console2=nes|game2=Super Mario Bros.|release2=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)