Difference between revisions of "Template:Item/Layout"

[unchecked revision][checked revision]
m (Reverted edits by Skilgannon (talk) to last revision by Quinn)
 
(27 intermediate revisions by 5 users not shown)
Line 11: Line 11:
 
</div></div></div>
 
</div></div></div>
 
<div style="float: left; border: 1px solid #97100d; width: 250px; margin: 0 0 5px 5px; padding: 2px;">
 
<div style="float: left; border: 1px solid #97100d; width: 250px; margin: 0 0 5px 5px; padding: 2px;">
<div style="text-align: center; border: 0; margin: 1px 0 0 2px">{{#if: {{{IS-Picture|}}} | [[File:{{{IS-Picture}}}|{{#switch: {{PAGENAME}} | Cupid's Chest | Shrunken Head = 64px | 32px }}]]&nbsp; | }}{{#switch: {{PAGENAME}} | Azrael's Chest | Nine Tail's Chest | Demon King Chest | Flame King Chest | Queen Spider Chest | Chief Orc Chest | Giant Tortoise Chest | Death Reaper Chest | Yellow Tiger's Chest | Jewelry Box = [[File:Boss Chest.png]] | Wolf Seal (yellow) | Tiger Seal (yellow) | Lion Seal (yellow) | Wild Boar Seal (yellow) = [[File:Seal (yellow).png]] | Lion Certificate | Reindeer Certificate (m) | Wild Boar Certificate | Wolf Certificate | Reindeer Certificate (f) = [[File:Certificate.png]] | {{#ifexist: Media:{{PAGENAME}}.png | [[File:{{PAGENAME}}.png]] | ''Picture not found.''}} }}{{#switch: {{{Category1}}} | Fish = -> [[File:{{PAGENAME}}-dead.png]] -> [[File:{{PAGENAME}}-grilled.png]] }}{{#switch: {{{Category2}}} | Fish = -> [[File:{{PAGENAME}}-dead.png]] -> [[File:{{PAGENAME}}-grilled.png]] }}{{#switch: {{{Category3}}} | Fish = -> [[File:{{PAGENAME}}-dead.png]] -> [[File:{{PAGENAME}}-grilled.png]] }}</div>
+
<div style="text-align: center; border: 0; margin: 1px 0 0 2px">{{#if: {{{IS-Picture|}}} | [[File:{{#explode:{{{IS-Picture}}}|;|0}}|{{#explode:{{{IS-Picture}}}|;|1}}]]&nbsp; }}[[File:{{#switch: {{PAGENAME}} Wolf Seal (yellow) | Tiger Seal (yellow) | Lion Seal (yellow) | Wild Boar Seal (yellow) = Seal (yellow)| Lion Certificate | Tiger Certificate | Reindeer Certificate (m) | Wild Boar Certificate | Wolf Certificate | Reindeer Certificate (f) = Certificate | Fez | Keffiyeh | Jack O' | Samurai Helm | Desert Scarf | Turban | Headscarf | Afro | Flower Hat = Hairstyles | Apprentice Chest I | Apprentice Chest II | Apprentice Chest III  = Apprentice Chest | Expert Chest I | Expert Chest II | Expert Chest III = Expert Chest | Master Chest I | Master Chest II | Master Chest III = Master Chest | {{PAGENAME}} }}.png]]{{#switch: {{{Category1}}} | Fish = -> [[File:{{PAGENAME}}-dead.png]] -> [[File:{{PAGENAME}}-grilled.png]] }}{{#switch: {{{Category2}}} | Fish = -> [[File:{{PAGENAME}}-dead.png]] -> [[File:{{PAGENAME}}-grilled.png]] }}{{#switch: {{{Category3}}} | Fish = -> [[File:{{PAGENAME}}-dead.png]] -> [[File:{{PAGENAME}}-grilled.png]] }}</div>
 
<div style="margin: 1px 0 0 2px; border-top: 1px solid #97100d; padding: 1px">
 
<div style="margin: 1px 0 0 2px; border-top: 1px solid #97100d; padding: 1px">
 
'''Description:'''<p style="text-align: left; margin: 0 0 5px 10px;">{{#if: {{{Description|}}} | ''{{{Description}}}'' | ''Unknown.'' }}</p></div>{{#if: {{{IS-Description|}}} | <div style="margin: 1px 0 0 2px; border-top: 1px solid #97100d; padding: 1px">'''Story of the Item:'''<p style="text-align: left; margin: 0 0 5px 8px;">''{{{IS-Description}}}''</p></div>}}
 
'''Description:'''<p style="text-align: left; margin: 0 0 5px 10px;">{{#if: {{{Description|}}} | ''{{{Description}}}'' | ''Unknown.'' }}</p></div>{{#if: {{{IS-Description|}}} | <div style="margin: 1px 0 0 2px; border-top: 1px solid #97100d; padding: 1px">'''Story of the Item:'''<p style="text-align: left; margin: 0 0 5px 8px;">''{{{IS-Description}}}''</p></div>}}
{{#if: {{{Function|}}} |<div style="margin: 1px 0 0 2px; border-top: 1px solid #97100d; padding: 1px;">'''Function:'''<p style="text-align: left; margin: 0 0 5px 8px;">''{{{Function}}}''</p></div>}}{{#ifexist: Média:{{PAGENAME}}-dead.png | <div style="margin: 1px 0 0 2px; border-top: 1px solid #97100d; padding: 1px">'''Description of dead fish:'''<p style="text-align: left; margin: 0 0 5px 8px;">''Perfect for grilling on a campfire.'' </p></div> | }}{{#ifexist: Média:{{PAGENAME}}-grilled.png | <div style="margin: 1px 0 0 2px; border-top: 1px solid #97100d; padding: 1px">'''Description of grilled gish:'''<p style="text-align: left; margin: 0 0 5px 8px;">''{{{Grilled-Description}}}''</p></div> | }}{{#ifexist: Média:{{PAGENAME}}-grilled.png | <div style="margin: 1px 0 0 2px; border-top: 1px solid #97100d; padding: 1px">'''Effect of grilled fish:'''<p style="text-align: left; margin: 0 0 5px 8px;">''{{{Effect}}}''</p></div>}}{{#if: {{{Content|}}} | <div style="margin: 1px 0 0 2px; border-top: 1px solid #97100d; padding: 1px">'''Content:'''<p style="text-align: left; margin: 0 0 5px 8px;">{{#if: {{{Content|}}} | {{{Content}}} | }}</p></div>}}{{#if: {{{List of Quests|}}} | <div style="margin: 1px 0 0 2px; border-top: 1px solid #97100d; padding: 1px">'''List of Quests:'''<p style="text-align: left; margin: 0 0 5px 8px;">{{{List of Quests}}}</p></div>}}{{#if: {{{Bonus|}}} | <div style="margin: 1px 0 0 2px; border-top: 1px solid #97100d; padding: 1px">'''Bonus/Effect:'''<p style="text-align: left; margin: 0 0 5px 8px;">''{{{Bonus}}}''</p></div>}}
+
{{#if: {{{Function|}}} |<div style="margin: 1px 0 0 2px; border-top: 1px solid #97100d; padding: 1px;">'''Function:'''<p style="text-align: left; margin: 0 0 5px 8px;">''{{{Function}}}''</p></div>}}{{#ifexist: Média:{{PAGENAME}}-dead.jpg | <div style="margin: 1px 0 0 2px; border-top: 1px solid #97100d; padding: 1px">'''Description of dead fish:'''<p style="text-align: left; margin: 0 0 5px 8px;">''Perfect for grilling on a campfire.'' </p></div> | }}{{#ifexist: Média:{{PAGENAME}}-grilled.jpg | <div style="margin: 1px 0 0 2px; border-top: 1px solid #97100d; padding: 1px">'''Description of grilled gish:'''<p style="text-align: left; margin: 0 0 5px 8px;">''{{{Grilled-Description}}}''</p></div> | }}{{#ifexist: Média:{{PAGENAME}}-grilled.jpg | <div style="margin: 1px 0 0 2px; border-top: 1px solid #97100d; padding: 1px">'''Effect of grilled fish:'''<p style="text-align: left; margin: 0 0 5px 8px;">''{{{Effect}}}''</p></div>}}{{#if: {{{Content|}}} | <div style="margin: 1px 0 0 2px; border-top: 1px solid #97100d; padding: 1px">'''Content:'''<p style="text-align: left; margin: 0 0 5px 8px;">{{#if: {{{Content|}}} | {{{Content}}} | }}</p></div>}}{{#if: {{{List of Quests|}}} | <div style="margin: 1px 0 0 2px; border-top: 1px solid #97100d; padding: 1px">'''List of Quests:'''<p style="text-align: left; margin: 0 0 5px 8px;">{{{List of Quests}}}</p></div>}}{{#if: {{{Bonus|}}} | <div style="margin: 1px 0 0 2px; border-top: 1px solid #97100d; padding: 1px">'''Bonus/Effect:'''<p style="text-align: left; margin: 0 0 5px 8px;">''{{{Bonus}}}''</p></div>}}
 
</div></div>
 
</div></div>
 
<div style="clear: both; margin: 0; font-size: 0.9em; text-align: left;">
 
<div style="clear: both; margin: 0; font-size: 0.9em; text-align: left;">
Line 38: Line 38:
 
{{#if: {{{Category2| }}} | [[Category:Items/{{{Category2}}}|{{PAGENAME}}]] }}
 
{{#if: {{{Category2| }}} | [[Category:Items/{{{Category2}}}|{{PAGENAME}}]] }}
 
{{#if: {{{Category3| }}} | [[Category:Items/{{{Category3}}}|{{PAGENAME}}]] }}
 
{{#if: {{{Category3| }}} | [[Category:Items/{{{Category3}}}|{{PAGENAME}}]] }}
{{#ifeq: {{PAGENAME}} | Předmět || <includeonly>[[Category:Předměty|{{PAGENAME}}]]</includeonly> }}
+
{{#ifeq: {{PAGENAME}} | Item || <includeonly>[[Category:Items|{{PAGENAME}}]]</includeonly> }}
  
 
<noinclude>
 
<noinclude>

Latest revision as of 01:37, 21 February 2013

Item/Layout
Quests:

This Item is not used in Quests.

Origin:

Unspecified.

Other:

-

Description:

Unknown.