5,350
edits
No edit summary Tags: Mobile edit Advanced mobile edit |
(blank the image alt since it's handled by the span text) |
||
(3 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
[[File:Oatchi P4 icon.png|16px|class=invert|link={{#if:{{{1|}}}|{{{1}}} | [[File:Oatchi P4 icon.png|16px|alt=|class=invert|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> | | <pre>{{oatchi|Air Armor}}</pre> | ||
| {{oatchi|Air Armor}} | | {{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> |