Template:Oatchi: Difference between revisions
Jump to navigation
Jump to search
(Added template documentation) |
m (Text replacement - "class=("?)invert([^-])" to "class=$1invert-dark$2") |
||
(8 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
[[ | [[File:Oatchi P4 icon.png|16px|alt=|class=invert-dark|link={{#if:{{{1|}}}|Gear#Pup {{{1}}}}}]]<span style="font-size:0">{{{alt|Pup}}}</span>{{#if:{{{1|}}}|[[Gear#Pup {{{1}}}| {{{1}}}]]}}<noinclude> | ||
==Info== | ==Info== | ||
This template places an [[Oatchi]] icon on the page, in a style that matches {{p4}}{{'s}} usage of this icon in text. | This template places an [[Oatchi]] icon on the page, in a style that matches {{p4}}{{'s}} usage of this icon in text. | ||
== | ==Parameters== | ||
{| class = "wikitable" | |||
! Parameter || Mandatory || Default || Purpose || Detailed description | |||
|- | |||
! 1 | |||
| '''No''' || || Pup Gear || The name of a piece of Pup Gear. Displays the Gear name alongside the icon and links them both to the respective section on the [[Gear]] article. | |||
|- | |||
! alt | |||
| '''No''' || Pup || Alt text || The alt text of the icon. Used for things such as the table of contents and a page's preview text. To remove the alt text completely, set <code>alt</code> equal to nothing (i.e. <code><nowiki>{{oatchi|alt=}}</nowiki></code>). | |||
|} | |||
==Examples== | |||
{|class="wikitable" | {|class="wikitable" | ||
! Code | ! Code | ||
! Result | ! Result | ||
! Read as | |||
|- | |- | ||
| <pre>{{oatchi}} Air Armor</pre> | | <pre>{{oatchi}} Air Armor</pre> | ||
| {{oatchi}} Air Armor | | {{oatchi}} Air Armor | ||
| Pup Air Armor | |||
|- | |||
| <pre>{{oatchi|Air Armor}}</pre> | |||
| {{oatchi|Air Armor}} | |||
| Pup Air Armor | |||
|- | |||
| <pre>{{oatchi|Air Armor|alt=Oatchi's}}</pre> | |||
| {{oatchi|Air Armor|alt=Oatchi's}} | |||
| Oatchi's Air Armor | |||
|} | |} | ||
[[Category:Inline templates]]</noinclude> | [[Category:Inline templates]]</noinclude> |
Latest revision as of 14:12, May 20, 2024
Pup
Info
This template places an Oatchi icon on the page, in a style that matches Pikmin 4's usage of this icon in text.
Parameters
Parameter | Mandatory | Default | Purpose | Detailed description |
---|---|---|---|---|
1 | No | Pup Gear | The name of a piece of Pup Gear. Displays the Gear name alongside the icon and links them both to the respective section on the Gear article. | |
alt | No | Pup | Alt text | The alt text of the icon. Used for things such as the table of contents and a page's preview text. To remove the alt text completely, set alt equal to nothing (i.e. {{oatchi|alt=}} ).
|
Examples
Code | Result | Read as |
---|---|---|
{{oatchi}} Air Armor |
Pup Air Armor | Pup Air Armor |
{{oatchi|Air Armor}} |
Pup Air Armor | Pup Air Armor |
{{oatchi|Air Armor|alt=Oatchi's}} |
Oatchi's Air Armor | Oatchi's Air Armor |