Template:ULCard/doc

From Bulbapedia, the community-driven Pokémon encyclopedia.
Revision as of 05:15, 22 December 2023 by Tiddlywinks (talk | contribs) (Created page with "This template creates list items for the condensed list of Pokémon at Pokémon UNITE#Pokémon. ==Parameters== ;Unnamed * 1: the Pokémon's name (such as <code>Venusaur</...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
⧼bulbapediamonobook-jumptonavigation⧽⧼bulbapediamonobook-jumptosearch⧽

This template creates list items for the condensed list of Pokémon at Pokémon UNITE#Pokémon.

Parameters

Unnamed
  • 1: the Pokémon's name (such as Venusaur), or the text that should be used for the Pokémon's link (such as Mewtwo (X)
  • 2: the role of the Pokémon (All-Rounder, Attacker, Defender, Speedster, or Supporter), to color the background
Named
  • fname (optional): the name of the Pokémon in its filename, if it differs from the Pokémon's basic name
  • link (optional): a custom link to the Pokémon's page if it is not <name> (Unite), such as Mewtwo (Unite License X)

Examples

A basic Pokémon (Venusaur), and the three current non-standard Pokémon: Mr. Mime, Mewtwo (X), and Mewtwo (Y).

<div class="blacklinks" style="margin:auto; display: flex; flex-wrap: wrap; align-items: flex-start; padding: 3px; {{roundy|20px}}; border: 2px solid #{{black color}}; background: #{{white color}}; text-align:center; font-size: 80%; gap: 2px;"><!-- OPEN list container -->

{{User:Tiddlywinks/ULCard|Venusaur|Attacker}}
{{User:Tiddlywinks/ULCard|Mr. Mime|Supporter|fname=Mr Mime}}
{{User:Tiddlywinks/ULCard|Mewtwo (X)|All-Rounder|fname=Mega Mewtwo X|link=Mewtwo (Unite License X)}}
{{User:Tiddlywinks/ULCard|Mewtwo (Y)|Attacker|fname=Mega Mewtwo Y|link=Mewtwo (Unite License Y)}}

</div><!-- CLOSE list container -->