Jump to content

Template:TypeIcon: Difference between revisions

From PokeHero Official Wiki
Undo revision 89 by Admin (talk)
No edit summary
 
(12 intermediate revisions by the same user not shown)
Line 1: Line 1:
<translate><!--T:1-->
{{TemplateUsage
{{TemplateUsage
|usage=<pre>{{TypeIcon|Type}}</pre>
|usage=<pre>{{TypeIcon|Type}}</pre>
|description=Creates an icon for the supplied type.
|description=Creates an icon for the supplied type.
<b>Type</b> will default to <b>Normal</b> if unspecified.
<b>Type</b> will default to <b>Normal</b> if unspecified.
}}
}}</translate>
 
<onlyinclude><includeonly>{| style="display: inline-table; {{rounded|5px}}; background-color: #5A5A5A; margin: 2px; background-image:linear-gradient(90deg, #{{{{{1|Normal}}}Color}} 32px, #5A5A5A 33px, #5A5A5A);"
<onlyinclude><includeonly>{| style="display: inline-table; {{rounded|5px}}; background-color: #5A5A5A; margin: 2px; background-image:linear-gradient(105deg,#{{{{{1|Normal}}}Color}} 30px,#5A5A5A 31px,#5A5A5A);"
| style="padding:2px;" | {{TransLinkImage|{{{1|Normal}}} (type)|{{{1|Normal}}} icon.png|25}}
| style="padding:2px;" | {{TransLinkImage|{{{1|Normal}}} (type)|{{{1|Normal}}} icon.png|25}}
| style="padding:2px 5px 2px 0px; min-width:50px; text-align:center;" | {{TransLink|{{{1|Normal}}} (type)|{{Color|FFF|{{{1|Normal}}}}}}}
| style="padding:2px 5px 2px 5px; min-width:50px; text-align:center;" | {{TransLink|{{{1|Normal}}} (type)|{{Color|FFF|{{Msg|types|{{lc:{{{1|Normal}}}}}|lang={{PAGELANGUAGE}}}}}}}}
|}</includeonly></onlyinclude>
|}</includeonly></onlyinclude>
 
<translate>== All exemples == <!--T:2--></translate>
== All exemples ==


* {{TypeIcon|Normal}}
* {{TypeIcon|Normal}}
Line 19: Line 18:
* {{TypeIcon|Ninja}}
* {{TypeIcon|Ninja}}
* {{TypeIcon|Sword}}
* {{TypeIcon|Sword}}
* {{TypeIcon|Demon}}
* {{TypeIcon|Glitch}}
* {{TypeIcon|Glitch}}
* {{TypeIcon|God}}
* {{TypeIcon|God}}

Latest revision as of 16:37, 31 August 2025

Usage
{{TypeIcon|Type}}
Description Creates an icon for the supplied type.

Type will default to Normal if unspecified.

All exemples

Normal
Fighting
Energy
Element
Mental
Ninja
Sword
Demon
Glitch
God