Template:Pokémon: Difference between revisions

From SmashWiki, the Super Smash Bros. wiki
Jump to navigationJump to search
(I think this will do it. I'm not the best at template code, though, so hopefully it works)
(Several pokemon have language-neutral voices.)
 
(20 intermediate revisions by 7 users not shown)
Line 1: Line 1:
{| class="infobox bordered" style="float:right; width:264px; font-size:90%; text-align:left;" cellpadding="3"
{| class="infobox bordered" style="width:264px" cellpadding="3"
|-
! colspan="2" style="font-size:110%; text-align:center; background:#E6E6FA" | {{{name}}}
! colspan="2" style="font-size:110%; text-align:center; background-color:#E6E6FA; color:#000;" | {{{name}}}
|-
|-
{{#if:{{{image<includeonly>|</includeonly>}}} |
{{#if:{{{image<includeonly>|</includeonly>}}} |
{{!}} colspan="2" style="text-align:center;background-color:#FFF;" {{!}}{{{image}}}{{#if:{{{caption|}}}|<br />{{{caption}}}}}
{{!}} colspan="2" style="text-align:center; background:#fff" {{!}}{{{image}}}{{#if:{{{caption|}}}|<br>{{{caption}}}}}
{{!}}-
{{!}}-
}}
}}
{{#if:{{{game<includeonly>|</includeonly>}}} |
{{#if:{{{game<includeonly>|</includeonly>}}} |
{{!}} style="background-color:#E6E6FA; color:#000;" {{!}}'''Games'''
{{!}} style="background:#E6E6FA" {{!}}'''Games'''
{{!}}{{{game}}}
{{!}}{{{game}}}
{{!}}-
{{!}}-
}}
}}
{{#if:{{{moveused<includeonly>|</includeonly>}}} |
{{#if:{{{moveused<includeonly>|</includeonly>}}} |
{{!}} style="background-color:#E6E6FA; color:#000;" {{!}}'''Move'''
{{!}} style="background:#E6E6FA" {{!}}'''Move'''
{{!}}[[bulbapedia:{{{moveused}}} (move){{!}}{{{moveused}}}]]
{{!}}[[bulbapedia:{{{moveused}}} ({{{altmovesuffix|move}}}){{!}}{{{moveused}}}]] {{#if:{{{moveused2<includeonly>|</includeonly>}}}|<br>[[bulbapedia:{{{moveused2}}} ({{{altmovesuffix|move}}}){{!}}{{{moveused2}}}]]}} {{#if:{{{moveused3<includeonly>|</includeonly>}}}|<br>[[bulbapedia:{{{moveused3}}} ({{{altmovesuffix|move}}}){{!}}{{{moveused3}}}]]}}
{{#if:{{{moveused2<includeonly>|</includeonly>}}} |
<br>[[bulbapedia:{{{moveused2}}} (move){{!}}{{{moveused2}}}]]}}
{{!}}-
{{!}}-
}}
}}
{{#if:{{{rarity<includeonly>|</includeonly>}}} |
{{#if:{{{rarity<includeonly>|</includeonly>}}} |
{{!}} style="background-color:#E6E6FA; color:#000;" {{!}}'''Rarity'''
{{!}} style="background:#E6E6FA" {{!}}'''Rarity'''
{{!}}{{{rarity}}}
{{!}}{{{rarity}}}
{{!}}-
}}
{{#if:{{{voiceactor<includeonly>|</includeonly>}}} |
{{!}} style="background:#E6E6FA" {{!}}'''Voice actor'''
{{!}}{{{voiceactor}}}
{{!}}-
}}
{{#if:{{{englishactor<includeonly>|</includeonly>}}} |
{{!}} style="background:#E6E6FA" {{!}}'''English voice actor'''
{{!}}{{{englishactor}}}
{{!}}-
}}
{{#if:{{{japanactor<includeonly>|</includeonly>}}} |
{{!}} style="background:#E6E6FA" {{!}}'''Japanese voice actor'''
{{!}}{{{japanactor}}}
{{!}}-
}}
{{#if:{{{franceactor<includeonly>|</includeonly>}}} |
{{!}} style="background:#E6E6FA" {{!}}'''French voice actor'''
{{!}}{{{franceactor}}}
{{!}}-
}}
{{#if:{{{germanyactor<includeonly>|</includeonly>}}} |
{{!}} style="background:#E6E6FA" {{!}}'''German voice actor'''
{{!}}{{{germanyactor}}}
{{!}}-
}}
{{#if:{{{koreaactor<includeonly>|</includeonly>}}} |
{{!}} style="background:#E6E6FA" {{!}}'''Korean voice actor'''
{{!}}{{{koreaactor}}}
{{!}}-
{{!}}-
}}
}}
Line 27: Line 54:
{{InterwikiInfobox|{{{interwikiname}}}|{{{interwiki}}}|{{{interwikipage}}}|{{{interwikipage}}}|page2={{{interwikipage2|}}}|title2={{{interwikipage2|}}}}}
{{InterwikiInfobox|{{{interwikiname}}}|{{{interwiki}}}|{{{interwikipage}}}|{{{interwikipage}}}|page2={{{interwikipage2|}}}|title2={{{interwikipage2|}}}}}
}}
}}
|}<noinclude>
|}<noinclude>
{{Documentation}}
{{/doc}}


[[Category:Infobox templates|{{PAGENAME}}]]
[[Category:Infobox templates]]</noinclude>
</noinclude>

Latest revision as of 13:02, May 23, 2024

{{{name}}}
{{{image}}}
Games {{{game}}}
Move [[bulbapedia:{{{moveused}}} (move)|{{{moveused}}}]]
[[bulbapedia:{{{moveused2}}} (move)|{{{moveused2}}}]]
[[bulbapedia:{{{moveused3}}} (move)|{{{moveused3}}}]]
Rarity {{{rarity}}}
Voice actor {{{voiceactor}}}
English voice actor {{{englishactor}}}
Japanese voice actor {{{japanactor}}}
French voice actor {{{franceactor}}}
German voice actor {{{germanyactor}}}
Korean voice actor {{{koreaactor}}}
Article on {{{interwikiname}}} [[{{{interwiki}}}:{{{interwikipage}}}|{{{interwikipage}}}]]

Code

{{Pokémon
|name=
|image=
|game=
|caption=
|moveused=
|altmovesuffix=
|rarity=
|voiceactor=
|englishactor=
|japanactor=
|germanyactor=
|franceactor=
|koreaactor=
|interwiki=
|interwikiname=
|interwikipage=
|interwikipage2=
}}

"altmovesuffix" is "move" by default (for linking to "Name (move)"), but if you need to link to an ability or something, set it to that.