Template:Fd/doc: Difference between revisions

From Bulbapedia, the community-driven Pokémon encyclopedia.
Jump to navigationJump to search
(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:
This template links to the form data section of a species page.
The template {{template|fd}} links to the form data section of a species page.


;Unnamed parameters
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
|-
|-
| <code><nowiki>{{fd|Venusaur}}</nowiki></code>
| <pre>{{fd|Venusaur}}</pre>
| {{fd|Venusaur}}
| {{fd|Venusaur}}
|-
|-
| <code><nowiki>{{fd|Venusaur|Mega form}}</nowiki></code>
| <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.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Species name1

The Pokémon species name

Example
Venusaur
Linerequired
Display text2

Optional: Override for display text

Default
form
Example
Mega
Lineoptional