Template:ULCard

From Bulbapedia, the community-driven Pokémon encyclopedia.
Revision as of 22:53, 12 June 2024 by SuperPikaPool13 (talk | contribs) (update to role colors taken from website, lightened and darkened for background)
Jump to navigationJump to search



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 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)

ULCard creates list items for Pokémon UNITE licenses

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Pokémon Name1

The Pokémon's name or the text that should be used for the Pokémon's link

Linerequired
Role2

The role of the Pokémon, to color the background

Suggested values
All-Rounder Attacker Defender Speedster Supporter
Linerequired
Filenamefname

The name of the Pokémon in its filename, if it differs from the Pokémon's basic name

Linesuggested
Page linklink

A custom link to the Pokémon's page if it is not <name> (Unite)

Page namesuggested
EXex

set to yes or 1 or any non-empty string if the Pokémon's license is an EX license.

Suggested values
yes 1 true
Linesuggested

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 -->