Template:TypeIcon: Difference between revisions
No edit summary |
No edit summary |
||
(8 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( | |||
| 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 | | 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}} |