Template:TypeIcon: Difference between revisions
No edit summary |
No edit summary |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<translate>{{TemplateUsage | <translate><!--T:1--> | ||
{{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. | ||
Line 6: | Line 7: | ||
<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(90deg, #{{{{{1|Normal}}}Color}} 32px, #5A5A5A 33px, #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 5px; min-width:50px; text-align:center;" | {{TransLink|{{{1|Normal}}} (type)|{{Color|FFF|{{ | | 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 ==</translate> | <translate>== All exemples == <!--T:2--></translate> | ||
* {{TypeIcon|Normal}} | * {{TypeIcon|Normal}} |