Template:ULCard: Difference between revisions
From Bulbapedia, the community-driven Pokémon encyclopedia.
Jump to navigationJump to search
Tiddlywinks (talk | contribs) m (typo) |
Tiddlywinks (talk | contribs) m (Tiddlywinks moved page User:Tiddlywinks/ULCard to Template:ULCard without leaving a redirect: mainspace) |
(No difference)
|
Revision as of 12:32, 22 December 2023
Template documentation
|
---|
Note: portions of the template sample may not be visible without values provided. |
View or edit this documentation. (About template documentation) |
The template {{ULCard}}
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 asMewtwo (X)
- 2: the role of the Pokémon (
All-Rounder
,Attacker
,Defender
,Speedster
, orSupporter
), 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 asMewtwo (Unite License X)
ULCard creates list items for Pokémon UNITE licenses
Parameter | Description | Type | Status | |
---|---|---|---|---|
Pokémon Name | 1 | The Pokémon's name or the text that should be used for the Pokémon's link | Line | required |
Role | 2 | The role of the Pokémon, to color the background
| Line | required |
Filename | fname | The name of the Pokémon in its filename, if it differs from the Pokémon's basic name | Line | suggested |
Page link | link | A custom link to the Pokémon's page if it is not <name> (Unite) | Page name | suggested |
EX | ex | set to yes or 1 or any non-empty string if the Pokémon's license is an EX license.
| Line | suggested |
Examples
A basic Pokémon (Venusaur), an EX Pokémon (Zacian), and the three current non-standard Pokémon: Mr. Mime, Mewtwo (X), and Mewtwo (Y).
<div class="roundy" style="margin:auto; display: flex; flex-flow: row wrap; align-items: flex-start; padding: 3px; border: 2px solid #{{black color}}; background: #{{white color}}; text-align:center; font-size: 80%; gap: 2px;"><!-- OPEN list container --> {{ULCard|Venusaur|Attacker}} {{ULCard|Mr. Mime|Supporter|fname=Mr Mime}} {{ULCard|Mewtwo (X)|All-Rounder|fname=Mega Mewtwo X|link=Mewtwo (Unite License X)|ex=1}} {{ULCard|Mewtwo (Y)|Attacker|fname=Mega Mewtwo Y|link=Mewtwo (Unite License Y)|ex=1}} {{ULCard|Zacian|All-Rounder|ex=yes}} </div><!-- CLOSE list container -->