Template:Fd/doc: Difference between revisions
From Bulbapedia, the community-driven Pokémon encyclopedia.
Jump to navigationJump to search
Tiddlywinks (talk | contribs) (Created page with "This template links to the form data section of a species page. ;Unnamed parameters * 1: species name (e.g., {{p|Venusaur}}) * 2 (''optional''): text to show; defaults to "fo...") |
(TemplateData) |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
The template {{template|fd}} links to the form data section of a species page. | |||
;Unnamed | See {{template|form}} for linking to the [[List of Pokémon with form differences]] article. | ||
==Parameters== | |||
;Unnamed | |||
* 1: species name (e.g., {{p|Venusaur}}) | * 1: species name (e.g., {{p|Venusaur}}) | ||
* 2 (''optional''): text to show; defaults to "form" | * 2 (''optional''): text to show; defaults to "form" | ||
==Examples== | ==Examples== | ||
{| class="wikitable" | {| class="wikitable" style="background: #e5f1ec;" | ||
! Code | |||
! Output | |||
|- | |- | ||
| < | | <pre>{{fd|Venusaur}}</pre> | ||
| {{fd|Venusaur}} | | {{fd|Venusaur}} | ||
|- | |- | ||
| < | | <pre>{{fd|Venusaur|Mega form}}</pre> | ||
| {{fd|Venusaur|Mega form}} | | {{fd|Venusaur|Mega form}} | ||
|- | |||
| <pre>{{fd|Venusaur|Mega}} {{p|Venusaur}}</pre> | |||
| {{fd|Venusaur|Mega}} {{p|Venusaur}} | |||
|} | |} | ||
==TemplateData== | |||
<templatedata> | |||
{ | |||
"params": { | |||
"1": { | |||
"label": "Species name", | |||
"description": "The Pokémon species name", | |||
"example": "Venusaur", | |||
"type": "line", | |||
"required": true | |||
}, | |||
"2": { | |||
"label": "Display text", | |||
"description": "Optional: Override for display text", | |||
"example": "Mega", | |||
"type": "line", | |||
"default": "form" | |||
} | |||
}, | |||
"format": "inline", | |||
"description": "The template {{fd}} links to the form data section of a species page.\n\nSee {{form}} for linking to the List of Pokémon with form differences article." | |||
} | |||
</templatedata> | |||
<noinclude> | <noinclude> | ||
[[Category:Documentation templates]] | [[Category:Documentation templates]] | ||
</noinclude> | </noinclude> |
Latest revision as of 20:14, 29 February 2024
The template {{fd}}
links to the form data section of a species page.
See {{form}}
for linking to the List of Pokémon with form differences article.
Parameters
- Unnamed
- 1: species name (e.g., Venusaur)
- 2 (optional): text to show; defaults to "form"
Examples
Code | Output |
---|---|
{{fd|Venusaur}} |
form |
{{fd|Venusaur|Mega form}} |
Mega form |
{{fd|Venusaur|Mega}} {{p|Venusaur}} |
Mega Venusaur |
TemplateData
The template {{fd}} links to the form data section of a species page. See {{form}} for linking to the List of Pokémon with form differences article.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Species name | 1 | The Pokémon species name
| Line | required |
Display text | 2 | Optional: Override for display text
| Line | optional |