Difference between revisions of "Template:Infobox Item"

From UnderWiki
Jump to navigation Jump to search
(WIP)
 
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}}} |<!--
 +
-->[[Memora icon::File:{{{icon|{{#replace:{{#replace:{{{author}}}|:|-}}|/|-}}_icon.png}}}|{{{iconwidth|200}}}px]]
 +
}}<nowiki>
 +
</nowiki>
 +
|+ {{#if: {{{magic|}}} |<span style="color:FFA500">|}}<span class="l_en" style="text-transform: uppercase;display: inline;">{{#set:Item name={{{name|{{PAGENAME}}}}}}}[[{{{name|{{PAGENAME}}}}}]]{{#if: {{{armor|}}}|&nbsp;({{{armor}}}% Armor)|}}</span><span class="l_es" style="text-transform: uppercase;display: none;">{{#set:Item name es={{{name_es|Unknown}}}}}[[{{{name|{{PAGENAME}}}}}|{{{name_es|Unknown}}}]]{{#if: {{{armor|}}}|&nbsp;({{{armor}}}% Armadura)|}}</span><span class="l_fr" style="text-transform: uppercase;display: none;">{{#set:Item name fr={{{name_fr|Unknown}}}}}[[{{{name|{{PAGENAME}}}}}|{{{name_fr|Unknown}}}]]{{#if: {{{armor|}}}|&nbsp;({{{armor}}}% Armure)|}}</span><span class="l_it" style="text-transform: uppercase;display: none;">{{#set:Item name it={{{name_it|Unknown}}}}}[[{{{name|{{PAGENAME}}}}}|{{{name_it|Unknown}}}]]{{#if: {{{armor|}}}|&nbsp;({{{armor}}}% Armatura)|}}</span><span class="l_de" style="text-transform: uppercase;display: none;">{{#set:Item name de={{{name_de|Unknown}}}}}[[{{{name|{{PAGENAME}}}}}|{{{name_de|Unknown}}}]]{{#if: {{{armor|}}}|&nbsp;({{{armor}}}% Rüstung)|}}</span><span class="l_ch" style="text-transform: uppercase;display: none;">{{#set:Item name ch={{{name_ch|Unknown}}}}}[[{{{name|{{PAGENAME}}}}}|{{{name_ch|Unknown}}}]]{{#if: {{{armor|}}}|&nbsp;({{{armor}}}% 护甲)|}}</span><span class="l_ru" style="text-transform: uppercase;display: none;">{{#set:Item name ru={{{name_ru|Unknown}}}}}[[{{{name|{{PAGENAME}}}}}|{{{name_ru|Unknown}}}]]{{#if: {{{armor|}}}|&nbsp;({{{armor}}}% Броня)|}}</span><span class="l_jp" style="text-transform: uppercase;display: none;">{{#set:Item name jp={{{name_jp|Unknown}}}}}[[{{{name|{{PAGENAME}}}}}|{{{name_jp|Unknown}}}]]{{#if: {{{armor|}}}|&nbsp;({{{armor}}}% 鎧)|}}</span>{{#if: {{{magic|}}} |</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>
+
{{!}} <span class="l_en" style="display: inline;">Slot: {{{slot}}}</span><span class="l_es" style="display: inline;">Slot: {{{slot_es|Unknown}}}</span><span class="l_fr" style="display: inline;">Slot: {{{slot_fr|Unknown}}}</span><span class="l_it" style="display: inline;">Slot: {{{slot_it|Unknown}}}</span><span class="l_fr" style="display: inline;">Slot: {{{slot_fr|Unknown}}}</span><span class="l_ch" style="display: inline;">Slot: {{{slot_ch|Unknown}}}</span><span class="l_ru" style="display: inline;">Slot: {{{slot_ru|Unknown}}}</span><span class="l_jp" style="display: inline;">Slot: {{{slot_jp|Unknown}}}</span>|}}<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: inline;">{{{text_es|Unknown}}}</span><span class="l_fr" style="display: inline;">{{{text_fr|Unknown}}}</span><span class="l_it" style="display: inline;">{{{text_it|Unknown}}}</span><span class="l_fr" style="display: inline;">{{{text_fr|Unknown}}}</span><span class="l_ch" style="display: inline;">{{{text_ch|Unknown}}}</span><span class="l_ru" style="display: inline;">{{{text_ru|Unknown}}}</span><span class="l_jp" style="display: inline;">{{{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: inline;">{{{value}}} MONEDAS DE PLATA</span><span class="l_fr" style="text-transform: uppercase;display: inline;">{{{value}}} PIÈCES D'ARGENT</span><span class="l_it" style="text-transform: uppercase;display: inline;">{{{value}}} MONETE D'ARGENTO</span><span class="l_de" style="text-transform: uppercase;display: inline;">{{{value}}} SILBERMÜNZEN</span><span class="l_ch" style="text-transform: uppercase;display: inline;">{{{value}}}银币</span><span class="l_ru" style="text-transform: uppercase;display: inline;">{{{value}}} СЕРЕБРА</span><span class="l_jp" style="text-transform: uppercase;display: inline;">銀貨{{{value}}}枚</span>|}}<nowiki>
 
</nowiki>
 
</nowiki>
{{!}}-
+
|}[[Category:Items]]</includeonly><noinclude>
{{!}} <span class="l_en" style="text-transform: uppercase;display: inline;">5 Silver Coins</span>
+
 
|}
+
{{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>

Revision as of 11:37, 31 March 2019


Rotworm Skin Boots icon.png Rotworm Skin Boots (3% Armor)
Slot: BootsSlot: UnknownSlot: UnknownSlot: UnknownSlot: UnknownSlot: UnknownSlot: UnknownSlot: Unknown
Boots that don't bog down in a mire, making the Underswamp less of a slog. +50% swimming speed.
5 Silver Coins5 MONEDAS DE PLATA5 PIÈCES D'ARGENT5 MONETE D'ARGENTO5 SILBERMÜNZEN5银币5 СЕРЕБРА銀貨5枚