Difference between revisions of "Template:Item/Layout"

[unchecked revision][checked revision]
m (Unprotected "Template:Item/Layout")
m (Reverted edits by Skilgannon (talk) to last revision by Quinn)
 
(36 intermediate revisions by 8 users not shown)
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 revaluation lists if as Category ''revaluation'' emerges -->
+
<div style="clear: left; border: 0; padding: 5px; border: 0;">
{{#ifexpr: ({{#ifeq: {{{Category1}}} | Revaluation | 1 | 0 }}
+
'''Quests:'''<p style="margin: 0 0 5px 8px;">{{#if: {{{Quest|}}} | {{{Quest}}} | ''This Item is not used in Quests.'' }}</p>
  or {{#ifeq: {{{Category2}}} | Revaluation | 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}}} | Revaluation | 1 | 0 }}) and
+
'''Origin:'''<p style="margin: 0 0 5px 8px;">{{#if: {{{Origin|}}} | {{{Origin}}} | ''Unspecified.'' }}</p>
    ({{#if: {{{RevaluationBracelett| }}} | 0 | 1 }}
+
'''Other:'''<p style="margin: 0 0 5px 8px;">{{#if: {{{Other|}}} | {{{Other}}} | - }}</p>
  and {{#if: {{{RevaluationHalskette| }}} | 0 | 1 }}
+
</div></div></div>
  and {{#if: {{{RevaluationHelmet| }}} | 0 | 1 }}
+
<div style="float: left; border: 1px solid #97100d; width: 250px; margin: 0 0 5px 5px; padding: 2px;">
  and {{#if: {{{RevaluationEarpiece| }}} | 0 | 1 }}
+
<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>
  and {{#if: {{{RevaluationArmour| }}} | 0 | 1 }}
+
<div style="margin: 1px 0 0 2px; border-top: 1px solid #97100d; padding: 1px">
  and {{#if: {{{RevaluationSchild| }}} | 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: {{{RevaluationShoe| }}} | 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.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>}}
  and {{#if: {{{RevaluationWeapon| }}} | 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}}}_live.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 }} |
 
'''Needed Angellevel:'''
 
 
 
{{#if: {{{Angellevel| }}} | {{{Angellevel}}} | ?? }}
 
 
 
'''Waittime 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: {{{RevaluationBracelett| }}} | 1 | 0 }}
 
  or {{#if: {{{RevaluationHalskette| }}} | 1 | 0 }}
 
  or {{#if: {{{RevaluationHelmet| }}} | 1 | 0 }}
 
  or {{#if: {{{RevaluationEarpiece| }}} | 1 | 0 }}
 
  or {{#if: {{{RevaluationArmour| }}} | 1 | 0 }}
 
  or {{#if: {{{RevaluationSchild| }}} | 1 | 0 }}
 
  or {{#if: {{{RevaluationShoe| }}} | 1 | 0 }}
 
  or {{#if: {{{RevaluationWeapon| }}} | 1 | 0 }} |
 
{{{!}} style="width:100%; margin:1.5em 0em 0em 0em; clear:both;"
 
{{!}} colspan=3 {{!}} '''Serves for the revaluation:'''
 
{{!}}- valign="top"
 
{{!}} <u>Braceletts:</u><br />
 
{{#if: {{{RevaluationBracelett| }}} | {{{RevaluationBracelett}}} | - }}
 
{{!}} <u>Halsketten:</u>
 
{{#if: {{{RevaluationHalskette| }}} | {{{RevaluationHalskette}}} | - }}
 
{{!}} <u>Earpieces:</u>
 
{{#if: {{{RevaluationEarpiece| }}} | {{{RevaluationEarpiece}}} | - }}
 
{{!}}- valign="top"
 
{{!}}<u>Helmet:</u><br />
 
{{#if: {{{RevaluationHelmet| }}} | {{{RevaluationHelmet}}} | - }}
 
{{!}} <u>Schilde:</u>
 
{{#if: {{{RevaluationSchild| }}} | {{{RevaluationSchild}}} | - }}
 
{{!}} <u>Shoes:</u>
 
{{#if: {{{RevaluationShoe| }}} | {{{RevaluationShoe}}} | - }}
 
{{!}}- valign="top"
 
{{!}}<u>Armours:</u><br />
 
{{#if: {{{RevaluationArmour| }}} | {{{RevaluationArmour}}} | - }}
 
{{!}} <u>Weapons:</u>
 
{{#if: {{{RevaluationWeapon| }}} | {{{RevaluationWeapon}}} | - }}
 
{{!}}}
 
}}
 
 
</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}}]] }}

Latest revision as of 01:37, 21 February 2013

Item/Layout
Quests:

This Item is not used in Quests.

Origin:

Unspecified.

Other:

-

Description:

Unknown.