Difference between revisions of "Template:Item/Layout"

[unchecked revision][unchecked revision]
m (Removed protection from "Template:Item/Layout")
Line 1: Line 1:
{{Subpage|[[Metin2Wiki:Portal|Metin2Wiki]]|[[Itemoverview|Itemoverview]] / [[:Category:Items|ItemCategory]]}}
+
{{Subpage|[[Main Page]]|[[:Category:Items|Categories of Items]] / [[Items|List of Items]]}}
<!-- Reference to the Category if yet do not assign -->
+
<div style="width: 98%; margin: 0; font-size: 0.9em; text-align: left; padding: 0; clear: both;">
{{#if: {{{Category1| }}} | |
+
<div style="background-color: #5d0505; padding: 5px; font-size: 130%; color: #f0d9a2; font-weight: bold; clear: both; width: 100%;">{{#explode:{{PAGENAME}}| (|0}}</div>
{{Messagebox|So far still no Category was assigned to this Item.<br />[[Help:New_article_fields#UnderCategory|Here]] stands, as it goes.|#ff2222}}
+
<div style="width: 98%; margin: 10px auto 0;">
}}
+
<div style="float: right; width: 490px; margin: 0 0 10px 10px; padding: 2px;">
<!-- Reference to the Upgrading lists if as Category ''Upgrading'' emerges -->
+
<div style="clear: left; border: 0; padding: 5px; border: 0;">
{{#ifexpr: ({{#ifeq: {{{Category1}}} | Upgrading | 1 | 0 }}
+
'''Quests:'''<p style="margin: 0 0 5px 8px;">{{#if: {{{Quest|}}} | {{{Quest}}} | ''This Item is not used in Quests.'' }}</p>
  or {{#ifeq: {{{Category2}}} | Upgrading | 1 | 0 }}
+
{{#if: {{{Price|}}} | '''Price:'''<p style="margin: 0 0 5px 8px;">{{#if: {{{Price|}}} | {{{Price}}} }}</p> }}{{#if: {{{Duration|}}} | '''Duration of effect:'''<p style="margin: 0 0 5px 8px;">{{#if: {{{Duration|}}} | {{{Duration}}} }}</p> }}
  or {{#ifeq: {{{Category3}}} | Upgrading | 1 | 0 }}) and
+
'''Origin:'''<p style="margin: 0 0 5px 8px;">{{#if: {{{Origin|}}} | {{{Origin}}} | ''Unspecified.'' }}</p>
    ({{#if: {{{UpgradingBracelet| }}} | 0 | 1 }}
+
'''Other:'''<p style="margin: 0 0 5px 8px;">{{#if: {{{Other|}}} | {{{Other}}} | - }}</p>
  and {{#if: {{{UpgradingNecklace| }}} | 0 | 1 }}
+
</div></div></div>
  and {{#if: {{{UpgradingHelmet| }}} | 0 | 1 }}
+
<div style="float: left; border: 1px solid #97100d; width: 250px; margin: 0 0 5px 5px; padding: 2px;">
  and {{#if: {{{UpgradingEarring| }}} | 0 | 1 }}
+
<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>
  and {{#if: {{{UpgradingArmour| }}} | 0 | 1 }}
+
<div style="margin: 1px 0 0 2px; border-top: 1px solid #97100d; padding: 1px">
  and {{#if: {{{UpgradingShield| }}} | 0 | 1 }}
+
'''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>}}
  and {{#if: {{{UpgradingShoe| }}} | 0 | 1 }}
+
{{#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>}}
  and {{#if: {{{UpgradingWeapon| }}} | 0 | 1 }}) |
+
</div></div>
{{Messagebox|So far still no Category was assigned to this Item.<br />[[Help:New_article_fields#UnderCategory|Here]] stands, as it goes.|#ff2222}}
+
<div style="clear: both; margin: 0; font-size: 0.9em; text-align: left;">
}}
+
{{#ifeq: {{{Upgading|}}} | Yes | <div style="clear: left; border: 0; padding: 5px; border: 0;">
<!--  The actual layout  -->
+
'''Used for upgrading of:'''
{{Layout 01
+
<div style="float: left; width: 33%;">
|ColorH= {{Item/ColorH}}
+
'''[[Necklace|Necklaces]]:'''<p style="margin: 0 0 5px 8px;">{{#if: {{{Necklaces|}}} | {{{Necklaces}}} | ''Not used.'' }}</p>
|ColorR= {{Item/ColorR}}
+
'''[[:Category:Weapons|Weapons]]:'''<p style="margin: 0 0 5px 8px;">{{#if: {{{Weapons|}}} | {{{Weapons}}} | ''Not used.'' }}</p></div>
 
+
<div style="float: left; width: 33%;">
|Header  =
+
'''[[Bracelets]]:'''<p style="margin: 0 0 5px 8px;">{{#if: {{{Bracelets|}}} | {{{Bracelets}}} | ''Not used.'' }}</p>
{{PAGENAME}}
+
'''[[:Category:Armour|Armour]]:'''<p style="margin: 0 0 5px 8px;">{{#if: {{{Armour|}}} | {{{Armour}}} | ''Not used.'' }}</p></div>
 
+
<div style="float: left; width: 33%;">
|Box1  =
+
'''[[Earring]]:'''<p style="margin: 0 0 5px 8px;">{{#if: {{{Earring|}}} | {{{Earring}}} | ''Not used.'' }}</p>
{{{!}} style="width:18em; margin-top:0.3em;"
+
'''[[Shoes]]:'''<p style="margin: 0 0 5px 8px;">{{#if: {{{Shoes|}}} | {{{Shoes}}} | ''Not used.'' }}</p>
{{!}} style="border-bottom:#000000 1px solid;" {{!}}
+
'''[[:Category:Přilby|Přilby]]:'''<p style="margin: 0 0 5px 8px;">{{#if: {{{Helmy|}}} | {{{Helmy}}} | ''Not used.'' }}</p>
{{#if: {{{Image}}} <!-- Specially for the Category fish -->
+
'''[[Shield|Shields]]:'''<p style="margin: 0 0 5px 8px;">{{#if: {{{Shields|}}} | {{{Shields}}} | ''Not used.'' }}</p></div></div>}}
| {{#ifexpr: {{#ifeq: {{{Category1}}} | Fish | 1 | 0 }}
 
    or {{#ifeq: {{{Category2}}} | Fish | 1 | 0 }}
 
    or {{#ifeq: {{{Category3}}} | Fish | 1 | 0 }}
 
    | [[Image:{{{Image}}}_living.jpg]] [[Image:{{{Image}}}_dead.jpg]] [[Image:{{{Image}}}_grilled.jpg]]
 
    | {{{Image}}}
 
  }}
 
}}
 
{{!}}-
 
{{!}} '''Description:'''
 
{{!}}-
 
{{!}} style="border-bottom:#000000 1px solid;" {{!}}
 
{{#if: {{{Description| }}} |
 
{{{Description}}} | ?? }}
 
{{!}}-
 
{{!}} {{#ifexpr: {{#ifeq: {{{Category1}}} | Fish | 1 | 0 }} <!-- Specially for the Category fish -->
 
  or {{#ifeq: {{{Category2}}} | Fish | 1 | 0 }}
 
  or {{#ifeq: {{{Category3}}} | Fish | 1 | 0 }}
 
  | '''Function when grilled:''' <!-- if Fish -->
 
  | '''Function:''' <!-- normally quest -->
 
}}
 
{{!}}-
 
{{!}}
 
{{#if: {{{Function| }}} | {{{Function}}} | ?? }}
 
{{#ifexpr: {{#ifeq: {{{Category1}}} | Container | 1 | 0 }} <!-- Specially for the Category Container -->
 
  or {{#ifeq: {{{Category2}}} | Container | 1 | 0 }}
 
  or {{#ifeq: {{{Category3}}} | Container | 1 | 0 }} |
 
{{!}}-
 
{{!}} style="border-top:#000000 1px solid;" {{!}} '''The following can contain:''' <!-- if Container -->
 
{{!}}-
 
{{!}}
 
{{#if: {{{Content| }}} | {{{Content}}} | ?? }}
 
}}
 
{{!}}}
 
 
 
|Box2  =
 
<div style="margin-left:1.2em;">
 
{{#ifexpr: {{#ifeq: {{{Category1}}} | Fish | 1 | 0 }} <!-- Specially for the Category fish -->
 
  or {{#ifeq: {{{Category2}}} | Fish | 1 | 0 }}
 
  or {{#ifeq: {{{Category3}}} | Fish | 1 | 0 }} |
 
'''Required fishing level:'''
 
 
 
{{#if: {{{Fishinglevel| }}} | {{{Fishinglevel}}} | ?? }}
 
 
 
'''Wait time after fish-symbol:'''
 
 
 
{{#if: {{{Waittime| }}} | {{{Waittime}}} | ?? }}
 
}}
 
 
 
'''Quests:'''
 
 
 
{{#if: {{{Quest| }}} | {{{Quest}}} | ?? }}
 
 
 
{{#ifexpr: {{#ifeq: {{{Category1}}} | Fish | 1 | 0 }} <!--Specially for normally -->
 
  or {{#ifeq: {{{Category2}}} | Fish | 1 | 0 }}
 
  or {{#ifeq: {{{Category3}}} | Fish | 1 | 0 }} ||
 
'''Origin:'''
 
 
 
{{#if: {{{Origin| }}} | {{{Origin}}} | ?? }}
 
}}
 
 
 
'''Other:'''
 
 
 
{{#if: {{{Other| }}} | {{{Other}}} | ?? }}
 
 
 
{{#ifexpr: {{#if: {{{UpgradingBracelet| }}} | 1 | 0 }}
 
  or {{#if: {{{UpgradingNecklace| }}} | 1 | 0 }}
 
  or {{#if: {{{UpgradingHelmet| }}} | 1 | 0 }}
 
  or {{#if: {{{UpgradingEarring| }}} | 1 | 0 }}
 
  or {{#if: {{{UpgradingArmour| }}} | 1 | 0 }}
 
  or {{#if: {{{UpgradingShield| }}} | 1 | 0 }}
 
  or {{#if: {{{UpgradingShoe| }}} | 1 | 0 }}
 
  or {{#if: {{{UpgradingWeapon| }}} | 1 | 0 }} |
 
{{{!}} style="width:100%; margin:1.5em 0em 0em 0em; clear:both;"
 
{{!}} colspan=3 {{!}} '''Required for the upgrading of:'''
 
{{!}}- valign="top"
 
{{!}} <u>Bracelets:</u><br />
 
{{#if: {{{UpgradingBracelet| }}} | {{{UpgradingBracelet}}} | - }}
 
{{!}} <u>Necklaces:</u>
 
{{#if: {{{UpgradingNecklace| }}} | {{{UpgradingNecklace}}} | - }}
 
{{!}} <u>Earrings:</u>
 
{{#if: {{{UpgradingEarring| }}} | {{{UpgradingEarring}}} | - }}
 
{{!}}- valign="top"
 
{{!}}<u>Helmets:</u><br />
 
{{#if: {{{UpgradingHelmet| }}} | {{{UpgradingHelmet}}} | - }}
 
{{!}} <u>Shields:</u>
 
{{#if: {{{UpgradingShield| }}} | {{{UpgradingShield}}} | - }}
 
{{!}} <u>Shoes:</u>
 
{{#if: {{{UpgradingShoe| }}} | {{{UpgradingShoe}}} | - }}
 
{{!}}- valign="top"
 
{{!}}<u>Armours:</u><br />
 
{{#if: {{{UpgradingArmour| }}} | {{{UpgradingArmour}}} | - }}
 
{{!}} <u>Weapons:</u>
 
{{#if: {{{UpgradingWeapon| }}} | {{{UpgradingWeapon}}} | - }}
 
{{!}}}
 
}}
 
 
</div>
 
</div>
 +
<div style="clear: both;"></div>
 +
<includeonly>{{top}}</includeonly>
  
}}
+
{{#ifeq: {{{Upgading| }}} | Yes | [[Category:Items/Upgrading|{{PAGENAME}}]] }}
{{Subpage|[[Metin2Wiki:Portal|Metin2Wiki]]|[[Itemoverview|Itemoverview]] / [[:Category:Items|ItemCategory]]}}
 
 
 
 
{{#if: {{{Category1| }}} | [[Category:Items/{{{Category1}}}|{{PAGENAME}}]] }}
 
{{#if: {{{Category1| }}} | [[Category:Items/{{{Category1}}}|{{PAGENAME}}]] }}
 
{{#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}} | Item || <includeonly>[[Category:Items|{{PAGENAME}}]]</includeonly> }}
+
{{#ifeq: {{PAGENAME}} | Předmět || <includeonly>[[Category:Předměty|{{PAGENAME}}]]</includeonly> }}
  
 
<noinclude>
 
<noinclude>

Revision as of 19:50, 20 May 2012

Item/Layout
Quests:

This Item is not used in Quests.

Origin:

Unspecified.

Other:

-

Picture not found.
Description:

Unknown.