Vorlage:Trainerpkmn: Unterschied zwischen den Versionen

Aus PokéWiki
Zur Navigation springen Zur Suche springen
KKeine Bearbeitungszusammenfassung
K (Damit die Box bei breiten Bildern trotzdem dieselbe Höhe hat)
Zeile 1: Zeile 1:
<includeonly>{| width="20%" style="background: #{{Typ/Color/{{Id2Typ1|{{namenr|{{{poke}}}}}{{{form|}}}}}-hell}}; border: 2px solid #{{Typ/Color/{{Id2Typ2|{{namenr|{{{poke}}}}}{{{form|}}}}}-dunkel}}; margin-right: 1%; margin-bottom: 1%" class="round c links"
<includeonly>{| width="20%" style="background: #{{Typ/Color/{{Id2Typ1|{{namenr|{{{poke}}}}}{{{form|}}}}}-hell}}; border: 2px solid #{{Typ/Color/{{Id2Typ2|{{namenr|{{{poke}}}}}{{{form|}}}}}-dunkel}}; margin-right: 1%; margin-bottom: 1%" class="round c links"
|-
|-
| {{#if:{{{Bildlink|}}}|{{{Bildlink|}}}|{{#if: {{{bild|}}}|[[Datei:{{{bild|Ashs Bisasam.jpg}}}|{{{px|120x75}}}px|link={{{link|{{{poke|Bisasam}}}}}}]]|{{#if:{{{rare|}}}|{{SpriteLink|{{namenr|{{{poke}}}}}{{{form|}}}|shiny=1}}|[[Datei:Sugimori {{namenr|{{{poke}}}}}{{{form|}}}.png|link={{{poke}}}|120x75px]]}}}}}}
| height="75px" | {{#if:{{{Bildlink|}}}|{{{Bildlink|}}}|{{#if: {{{bild|}}}|[[Datei:{{{bild|Ashs Bisasam.jpg}}}|{{{px|120x75}}}px|link={{{link|{{{poke|Bisasam}}}}}}]]|{{#if:{{{rare|}}}|{{SpriteLink|{{namenr|{{{poke}}}}}{{{form|}}}|shiny=1}}|[[Datei:Sugimori {{namenr|{{{poke}}}}}{{{form|}}}.png|link={{{poke}}}|120x75px]]}}}}}}
|-
|-
| '''[[{{{link|{{{poke|Bisasam}}}}}}|{{{nick|{{{poke|Bisasam}}}}}}]]''' {{#if:{{{stk|}}}|<sup>×{{{stk}}}</sup>|}}{{#if:{{{note|}}}|<sup>{{{note}}}</sup>|}}
| '''[[{{{link|{{{poke|Bisasam}}}}}}|{{{nick|{{{poke|Bisasam}}}}}}]]''' {{#if:{{{stk|}}}|<sup>×{{{stk}}}</sup>|}}{{#if:{{{note|}}}|<sup>{{{note}}}</sup>|}}

Version vom 15. August 2017, 00:51 Uhr


Gebrauchsanweisung

{{Trainerpkmn
|poke=Name des Pokémon
|bild=Optional: Bildname.Dateiendung
|form=Optional: Um gewünschte Form anzuzeigen.
|rare=Optional: Um schillernde Form anzuzeigen.
|stk=Optional: Wenn ein Trainer ein Pokémon mehrfach besitzt, kann hier die Stückzahl eingetragen werden.
|px=Um die Größe anzupassen.
|link=Optional: Wenn das Pokémon einen eigenen Artikel hat.
|note=Um eine Notiz, wie z. B. den Wegtausch oder Ähnliches anzugeben.
}}
  • Die Vorlage kann beliebig oft hintereinander eingebunden werden.