Difference between revisions of "Template:Infobox Item"

From UnderWiki
Jump to navigation Jump to search
(WIP)
 
 
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
{| class="wikitable" style="width:400px; float: right; clear: right;"
+
<includeonly>{| class="wikitable" style="width:400px; float: right; clear: right;"
|+ style="text-align:center" {{!}} [[Image:Rotworm_Skin_Boots_icon.png|200px]]<nowiki>
+
|+ style="text-align:center;" {{!}} {{#ifexist: File:{{{icon|{{#replace:{{#replace:{{{author}}}|:|-}}|/|-}}_icon.png}}} |<!--
 +
-->[[Item icon::File:{{{icon|{{#replace:{{#replace:{{{author}}}|:|-}}|/|-}}_icon.png}}}|{{{iconwidth|200}}}px]]
 +
}}<nowiki>
 +
</nowiki><br><span class="l_en ua_small-caps" style="display: inline;">{{#set:Item name={{{name|{{PAGENAME}}}}}}}[[{{{name|{{PAGENAME}}}}}|{{#if: {{{magic|}}} |<span style="color:FFA500">|<span>}}{{{name|{{PAGENAME}}}}}</span>]]{{#if: {{{armor|}}}|&nbsp;({{{armor}}}% Armor)|}}</span><span class="l_es ua_small-caps" style="display: none;">{{#set:Item name es={{{name_es|Unknown}}}}}[[{{{name|{{PAGENAME}}}}}|{{#if: {{{magic|}}} |<span style="color:FFA500">|<span>}}{{{name_es|Unknown}}}</span>]]{{#if: {{{armor|}}}|&nbsp;({{{armor}}}% Armadura)|}}</span><span class="l_fr ua_small-caps" style="display: none;">{{#set:Item name fr={{{name_fr|Unknown}}}}}[[{{{name|{{PAGENAME}}}}}|{{#if: {{{magic|}}} |<span style="color:FFA500">|<span>}}{{{name_fr|Unknown}}}</span>]]{{#if: {{{armor|}}}|&nbsp;({{{armor}}}% Armure)|}}</span><span class="l_it ua_small-caps" style="display: none;">{{#set:Item name it={{{name_it|Unknown}}}}}[[{{{name|{{PAGENAME}}}}}|{{#if: {{{magic|}}} |<span style="color:FFA500">|<span>}}{{{name_it|Unknown}}}</span>]]{{#if: {{{armor|}}}|&nbsp;({{{armor}}}% Armatura)|}}</span><span class="l_de ua_small-caps" style="display: none;">{{#set:Item name de={{{name_de|Unknown}}}}}[[{{{name|{{PAGENAME}}}}}|{{#if: {{{magic|}}} |<span style="color:FFA500">|<span>}}{{{name_de|Unknown}}}</span>]]{{#if: {{{armor|}}}|&nbsp;({{{armor}}}% Rüstung)|}}</span><span class="l_ch ua_small-caps" style="display: none;">{{#set:Item name ch={{{name_ch|Unknown}}}}}[[{{{name|{{PAGENAME}}}}}|{{#if: {{{magic|}}} |<span style="color:FFA500">|<span>}}{{{name_ch|Unknown}}}</span>]]{{#if: {{{armor|}}}|&nbsp;({{{armor}}}% 护甲)|}}</span><span class="l_ru ua_small-caps" style="display: none;">{{#set:Item name ru={{{name_ru|Unknown}}}}}[[{{{name|{{PAGENAME}}}}}|{{#if: {{{magic|}}} |<span style="color:FFA500">|<span>}}{{{name_ru|Unknown}}}</span>]]{{#if: {{{armor|}}}|&nbsp;({{{armor}}}% Броня)|}}</span><span class="l_jp ua_small-caps" style="display: none;">{{#set:Item name jp={{{name_jp|Unknown}}}}}[[{{{name|{{PAGENAME}}}}}|{{#if: {{{magic|}}} |<span style="color:FFA500">|<span>}}{{{name_jp|Unknown}}}</span>]]{{#if: {{{armor|}}}|&nbsp;({{{armor}}}% 鎧)|}}</span>{{#if: {{{slot|}}}|<nowiki>
 
</nowiki>
 
</nowiki>
 
{{!}}-
 
{{!}}-
|+ <span class="l_en ua_small-caps" style="color: #FFA500;display: inline;">Rotworm Skin Boots<span id="if armor">&nbsp;(3% Armor)</span></span><nowiki>
+
{{!}} {{#set:Item slot={{{slot}}}}}{{Query slot name|{{{slot}}}}}|}}<nowiki>
 
</nowiki>
 
</nowiki>
 
{{!}}-
 
{{!}}-
{{!}} <span class="l_en" style="display: inline;">Slot: Boots<span><nowiki>
+
{{!}} <span class="l_en" style="display: inline;">{{{text}}}</span><span class="l_es" style="display: none;">{{{text_es|Unknown}}}</span><span class="l_fr" style="display: none;">{{{text_fr|Unknown}}}</span><span class="l_it" style="display: none;">{{{text_it|Unknown}}}</span><span class="l_de" style="display: none;">{{{text_de|Unknown}}}</span><span class="l_ch" style="display: none;">{{{text_ch|Unknown}}}</span><span class="l_ru" style="display: none;">{{{text_ru|Unknown}}}</span><span class="l_jp" style="display: none;">{{{text_jp|Unknown}}}</span>{{#if: {{{value|}}}|<nowiki>
 
</nowiki>
 
</nowiki>
 
{{!}}-
 
{{!}}-
{{!}} <span class="l_en" style="display: inline;">Boots that don't bog down in a mire, making the Underswamp less of a slog. +50% swimming speed.<nowiki>
+
{{!}} <span class="l_en" style="text-transform: uppercase;display: inline;">[[Item value::{{{value}}}]] Silver Coins</span><span class="l_es" style="text-transform: uppercase;display: none;">{{{value}}} MONEDAS DE PLATA</span><span class="l_fr" style="text-transform: uppercase;display: none;">{{{value}}} PIÈCES D'ARGENT</span><span class="l_it" style="text-transform: uppercase;display: none;">{{{value}}} MONETE D'ARGENTO</span><span class="l_de" style="text-transform: uppercase;display: none;">{{{value}}} SILBERMÜNZEN</span><span class="l_ch" style="text-transform: uppercase;display: none;">{{{value}}}银币</span><span class="l_ru" style="text-transform: uppercase;display: none;">{{{value}}} СЕРЕБРА</span><span class="l_jp" style="text-transform: uppercase;display: none;">銀貨{{{value}}}枚</span>|}}<nowiki>
 
</nowiki>
 
</nowiki>
 
{{!}}-
 
{{!}}-
{{!}} <span class="l_en" style="text-transform: uppercase;display: inline;">5 Silver Coins</span>
+
{{!}} {{#Widget:Language}}
|}
+
|}[[Category:Items]]</includeonly><noinclude>
 +
 
 +
{{Infobox Item
 +
|icon=Rotworm_Skin_Boots_icon.png
 +
|magic=1
 +
|armor=3
 +
|slot=Boots
 +
|value=5
 +
|name=Rotworm Skin Boots
 +
|name_es=
 +
|name_fr=
 +
|name_it=
 +
|name_de=
 +
|name_ch=
 +
|name_ru=
 +
|name_jp=
 +
|text=Boots that don't bog down in a mire, making the Underswamp less of a slog. +50% swimming speed.
 +
|text_es=
 +
|text_fr=
 +
|text_it=
 +
|text_de=
 +
|text_ch=
 +
|text_ru=
 +
|text_jp=
 +
}}
 +
[[Category:Utility templates]]
 +
</noinclude>

Latest revision as of 10:48, 10 April 2019


Rotworm Skin Boots icon.png
Rotworm Skin Boots (3% Armor)
Slot: Boots
Boots that don't bog down in a mire, making the Underswamp less of a slog. +50% swimming speed.
5 Silver Coins