Vorlage:Item infobox/infoboxView: Unterschied zwischen den Versionen

Aus Terraria Wiki
Wechseln zu: Navigation, Suche
K (class fix)
K (Kleinen Fehler mit types behoben.)
Zeile 72: Zeile 72:
 
--><td><div class="tags">{{#lstmap:{{#var:ii:types}}|/|@@@@|<!--
 
--><td><div class="tags">{{#lstmap:{{#var:ii:types}}|/|@@@@|<!--
 
--><esc><!--
 
--><esc><!--
-->{{#vardefine:_typepage|{{#or:{{l10n|item_infobox|typepage:@@@@}}|{{tr|{{ucfirst:@@@@}}|de|link=y}}}}}}<!--
+
-->{{#vardefine:_typepage|{{#or:{{l10n|item_infobox|typepage:{{lcfirst:@@@@}}}}|{{tr|{{ucfirst:@@@@}}|de|link=y}}}}}}<!--
-->{{#vardefine:_typetext|{{#or:{{l10n|item_infobox|type:@@@@}}|{{tr|{{ucfirst:@@@@}}|de}}}}}}<!--
+
-->{{#vardefine:_typetext|{{#or:{{l10n|item_infobox|type:{{lcfirst:@@@@}}}}|{{tr|{{ucfirst:@@@@}}|de}}}}}}<!--
 
-->{{nowrap|class=tag|{{ifexists|{{#var:_typepage}}|[[{{#var:_typepage}}|{{#var:_typetext}}]]|{{#var:_typetext}}}}}}<!--
 
-->{{nowrap|class=tag|{{ifexists|{{#var:_typepage}}|[[{{#var:_typepage}}|{{#var:_typetext}}]]|{{#var:_typetext}}}}}}<!--
 
--></esc><!--
 
--></esc><!--

Version vom 22. September 2020, 14:21 Uhr

Internal subtemplate. Handles the output of the default "infobox" view of {{item infobox}}.