Template:Trophy: Difference between revisions
From SmashWiki, the Super Smash Bros. wiki
Jump to navigationJump to search
m (Text replacement - "\[\[(:)?Image:" to "[[$1File:") |
No edit summary |
||
(6 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{#if:{{{image|}}}|[[File:{{{image}}}|thumb|{{{image-align|left}}}|{{{size| | <includeonly>{{#if:{{{image|}}}|[[File:{{{image}}}|thumb|{{{image-align|left}}}|{{{size|100px}}}|{{{name|{{SUBPAGENAME}}}}}'s{{#switch:{{lc:{{{game|}}}}}|ssbm|melee=<nowiki/> {{#switch:{{lc:{{{mode|}}}}}|class|classic=Classic Mode|adv|adventure=Adventure Mode|asm|all|all-star|all star=All-Star Mode|#default=}}|#default=}} trophy in {{#switch:{{lc:{{{game|}}}}}|ssbm|melee=''[[Melee]]''|ssbb|brawl=''[[Brawl]]''|pm|project M=''[[Project+]]''|ssb4-wiiu|ssb4-u={{forwiiu}}|ssb4-3ds|ssb4-3={{for3ds}}}}]]}}{{#if:{{{image-3ds|}}}|[[File:{{{image-3ds}}}|thumb|left|{{{size|100px}}}|{{{name|{{SUBPAGENAME}}}}}'s trophy in {{for3ds}}]]}}{{#if:{{{image-wiiu|}}}|[[File:{{{image-wiiu}}}|thumb|right|{{{size|100px}}}|{{{name|{{SUBPAGENAME}}}}}'s trophy in {{forwiiu}}]]}} | ||
; | {{#if:{{{name-ntsc|}}}{{{name-pal|}}}| | ||
{{#if:{{{desc|}}}|: | ;{{flag|ntsc}}{{{name-ntsc}}} | ||
;{{flag|pal}}{{{name-pal}}}| | |||
;{{{name|{{SUBPAGENAME}}}}}{{#switch:{{lc:{{{game|}}}}}|ssbm|melee=<nowiki/> {{#switch:{{lc:{{{mode|}}}}}|adv|adventure=<span style="color:red" class="explain" title="Adventure Mode">[Smash]</span>|asm|all|all-star|all star=<span style="color:blue" class="explain" title="All-Star Mode">[Smash]</span>|#default=}}|#default=}}}}{{#if:{{{desc|}}}| | |||
:<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}}{{GameIcon|ssb4-3ds}} <i>{{{desc-3ds-ntsc}}}</i>}}{{#if:{{{desc-wiiu-ntsc|}}}| | |||
:{{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}}{{GameIcon|ssb4-3ds}} <i>{{{desc-3ds-pal}}}</i>}}{{#if:{{{desc-wiiu-pal|}}}| | |||
:{{flag|PAL}}{{GameIcon|ssb4-wiiu}} <i>{{{desc-wiiu-pal}}}</i>}}{{#if:{{{gamelist-pal|}}}|{{#if:{{{desc-pal|}}}{{{desc-3ds-pal|}}}{{{desc-wiiu-pal|}}}|| | |||
:{{flag|PAL}}}} | |||
{{{gamelist-pal}}}}}{{#if:{{{gamelist|}}}| | |||
{{{gamelist}}}}}</includeonly><noinclude> | |||
==Usage== | ==Usage== | ||
{|class=wikitable | {|class=wikitable | ||
Line 7: | Line 23: | ||
! Parameter !! Description | ! Parameter !! Description | ||
|- | |- | ||
| name || The name of the trophy | | 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 || A description of the trophy, for use only if the trophy does not differ across NTSC and PAL | ||
Line 14: | Line 34: | ||
|- | |- | ||
| desc-pal || A description of the trophy in the PAL 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 || 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) | ||
Line 23: | Line 55: | ||
| image-wiiu || The image for the Wii U version | | image-wiiu || The image for the Wii U version | ||
|- | |- | ||
| size || Specifies the image size, defaulted to | | 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 | | game || Specifies the game that the trophy appears in. Not necessary for trophies with both Wii U and 3DS versions | ||
|- | |||
| mode || The game mode (i.e. Adventure, Classic, All-Star). Only works for Melee; adds mode to the image description and the corresponding colored "[Smash]" text | |||
|- | |||
| gamelist || Games listed below the description ("Related Games", "Appears In", etc.). Use {{t|Trophy games}}. Melee sometimes lists attacks and should use indents with colons (:) instead. | |||
|- | |||
| gamelist-ntsc || Games listed in the NTSC version | |||
|- | |||
| gamelist-pal || Games listed in the PAL version | |||
|} | |} | ||
===Example=== | ===Example 1=== | ||
Input | |||
< | <pre><nowiki>{{Trophy | ||
{{Trophy | |name=Mario | ||
|name=Mario | |image=Mario Trophy (Smash).png | ||
|desc | |mode=Adventure | ||
|desc=Mario is a character without any glaring weaknesses and plenty of strong attacks: he's even equipped with a Meteor Smash. He's a straightforward character who'll reflect the actual skills of the player. Mario's Cape will turn other characters in the opposite direction and can also reflect missile weapons. | |||
< | |gamelist=:B: Fireball | ||
| | :Smash B: Cape | ||
| | |game=Melee | ||
}}</nowiki></pre> | |||
Output | |||
{{Trophy | |||
|name=Mario | |||
|image=Mario Trophy (Smash).png | |||
|mode=Adventure | |||
|desc=Mario is a character without any glaring weaknesses and plenty of strong attacks: he's even equipped with a Meteor Smash. He's a straightforward character who'll reflect the actual skills of the player. Mario's Cape will turn other characters in the opposite direction and can also reflect missile weapons. | |||
|gamelist=:B: Fireball | |||
:Smash B: Cape | |||
|game=Melee | |||
}} | }} | ||
</ | |||
{{clr}} | |||
===Example 2=== | |||
Input | |||
<pre><nowiki>{{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 | |||
}}</nowiki></pre> | |||
Output | |||
{{Trophy | {{Trophy | ||
|name=Mario | |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-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> |
Latest revision as of 12:08, April 15, 2024
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 |
mode | The game mode (i.e. Adventure, Classic, All-Star). Only works for Melee; adds mode to the image description and the corresponding colored "[Smash]" text |
gamelist | Games listed below the description ("Related Games", "Appears In", etc.). Use {{Trophy games}}. Melee sometimes lists attacks and should use indents with colons (:) instead. |
gamelist-ntsc | Games listed in the NTSC version |
gamelist-pal | Games listed in the PAL version |
Example 1
Input
{{Trophy |name=Mario |image=Mario Trophy (Smash).png |mode=Adventure |desc=Mario is a character without any glaring weaknesses and plenty of strong attacks: he's even equipped with a Meteor Smash. He's a straightforward character who'll reflect the actual skills of the player. Mario's Cape will turn other characters in the opposite direction and can also reflect missile weapons. |gamelist=:B: Fireball :Smash B: Cape |game=Melee }}
Output
- Mario [Smash]
- Mario is a character without any glaring weaknesses and plenty of strong attacks: he's even equipped with a Meteor Smash. He's a straightforward character who'll reflect the actual skills of the player. Mario's Cape will turn other characters in the opposite direction and can also reflect missile weapons.
- B: Fireball
- Smash B: Cape
Example 2
Input
{{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 }}
Output
- Mario
- 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!"
- 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.
- : Donkey Kong Classics (09/1988)
- : Super Mario Bros. (10/1985)