Zum Inhalt springen

Vorlage:Icon: Unterschied zwischen den Versionen

Aus Firestone Idle Rpg Wiki
Keine Bearbeitungszusammenfassung
Keine Bearbeitungszusammenfassung
 
(6 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt)
Zeile 1: Zeile 1:
<includeonly><!-- #<WRAPPER>
<includeonly><!-- #<WRAPPER>
--><span class="fs-icon"><!--
--><span class="fs-icon"><!--
#<PAGE>
 
-->{{#ifexpr: {{{label|1}}} |<!-- #<Visibility FLAG>
<!-- ICON (links) -->
--><span class="label">[[<!-- #<LINK> (alphabetical order by Id)
<span class="icon"><!--
-->{{#invoke:Item|link|{{{1}}} }}|<!--
-->[[File:{{#invoke:Get|main|{{{1}}}|img|{{{2}}} }}|<!--
#<TITLE> (alphabetical order by Id)
<!-- SIZE: 4. Parameter oder |size= -->
-->{{#invoke:Item|short|{{{1}}} }}<!--
{{#switch:{{{4|{{{size|}}}}}}
-->]]</span><!--
|0=64x64px
|1=48x48px
|2=32x32px
|3=24x24px
|4=16x16px
|#default=24x24px
}}<!--
-->]]<!--
--></span><!--
 
<!-- LABEL + optionale MENGE -->
{{#ifexpr: {{{label|1}}} |<!--
--><span class="label"><!--
-->{{#if: {{{3|{{{amount|}}}}}} |{{{3|{{{amount|}}}}}}&nbsp;}}<!--
-->{{#invoke:Get|main|{{{1}}}|link|{{{2}}} }}<!--
--></span><!--
-->|}}<!--
-->|}}<!--
--><span><!--
 
# <ICON>
--></span><!-- #</WRAPPER>
# alphabetical order by Id
--></includeonly><noinclude>{{Dokumentation}}</noinclude>
# compulsory completion for all items
# compulsory duplication in the [Icon/doc] section
-->[[File:{{#invoke:Item|img|{{{1}}} }}.png|<!--
#<SIZE>
-->{{#switch:{{lc:{{{2}}}}}
|0=60x60px
|1=40x40px
|2=60x60px
|3=96x96px
|4=128x128px
|#default=60x60px
}}<!--
-->]]</span><!--
--></span><!-- #</>
--></includeonly><noinclude>
{{Documentation}}
<templatedata>
{
"params": {
"1": {
"label": "name",
"description": "Resource name",
"example": "{{Icon|Force}}",
"type": "string",
"required": true
},
"2": {
"label": "size",
"description": "Icon size",
"example": "{{Icon|Force|3}}",
"type": "number",
"required": false,
"default": "2"
},
"label": {
"label": "label",
"description": "Visibility flag for the name parameter",
"example": "{{Icon|Force||label=0}}",
"type": "boolean",
"required": false,
"default": "1"
}
},
"paramOrder": [
"1",
"2",
"label"
],
"format": "inline"
}
</templatedata>
</noinclude>

Aktuelle Version vom 9. Dezember 2025, 00:27 Uhr

Dokumentation