Modèle:ItemShop/Layout : Différence entre versions

[version vérifiée][version vérifiée]
Ligne 1 : Ligne 1 :
 
{{Subpage|[[Accueil|Accueil]]|[[:Catégorie:Item Shop|Item Shop]]/ [[Item Shop:Liste|Item Shop Liste]]}}
 
{{Subpage|[[Accueil|Accueil]]|[[:Catégorie:Item Shop|Item Shop]]/ [[Item Shop:Liste|Item Shop Liste]]}}
  
{{Layout 02
+
<!-- Reference to the Upgrading lists if as Category ''Upgrading'' emerges -->
 +
{{#ifexpr: ({{#ifeq: {{{Category1}}} | Upgrading | 1 | 0 }}
 +
  or {{#ifeq: {{{Category2}}} | Upgrading | 1 | 0 }}
 +
  or {{#ifeq: {{{Category3}}} | Upgrading | 1 | 0 }}) and
 +
    ({{#if: {{{UpgradingBracelet| }}} | 0 | 1 }}
 +
  and {{#if: {{{UpgradingNecklace| }}} | 0 | 1 }}
 +
  and {{#if: {{{UpgradingHelmet| }}} | 0 | 1 }}
 +
  and {{#if: {{{UpgradingEarring| }}} | 0 | 1 }}
 +
  and {{#if: {{{UpgradingArmour| }}} | 0 | 1 }}
 +
  and {{#if: {{{UpgradingShield| }}} | 0 | 1 }}
 +
  and {{#if: {{{UpgradingShoe| }}} | 0 | 1 }}
 +
  and {{#if: {{{UpgradingWeapon| }}} | 0 | 1 }}) |
 +
{{Messagebox|So far still no Category was assigned to this Item.<br />[[Help:New_article_fields#UnderCategory|Here]] stands, as it goes.|#ff2222}}
 +
}}
 +
<!--  The actual layout  -->
 +
{{Layout 01
 +
|ColorH= {{Item/ColorH}}
 +
|ColorR= {{Item/ColorR}}
 +
 
 +
|Header  =
 +
{{PAGENAME}}
 +
 
 +
|Box1  =
 +
{{{!}} style="width:18em; margin-top:0.3em;"
 +
{{!}} style="border-bottom:#000000 1px solid;" {{!}}
 +
{{#if: {{{Image}}} <!-- Specially for the Category fish -->
 +
| {{#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 }}
 +
  | '''Fonction when grilled:''' <!-- if Fish -->
 +
  | '''Utilisation :''' <!-- normally quest -->
 +
}}
 +
{{!}}-
 +
{{!}}
 +
{{#if: {{{Utilisation| }}} | {{{Utilisation}}} | - }}
 +
{{#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 Fishinglevel:'''
 +
 
 +
{{#if: {{{Fishinglevel| }}} | {{{Fishinglevel}}} | ?? }}
 +
 
 +
'''Waittime after Fish-Symbol:'''
 +
 
 +
{{#if: {{{Waittime| }}} | {{{Waittime}}} | ?? }}
 +
}}
 +
 
 +
'''Origine :'''
 +
 
 +
{{#if: {{{Quest| }}} | {{{Quest}}} | - }}
 +
 
 +
{{#ifexpr: {{#ifeq: {{{Category1}}} | Fish | 1 | 0 }} <!--Specially for normally -->
 +
  or {{#ifeq: {{{Category2}}} | Fish | 1 | 0 }}
 +
  or {{#ifeq: {{{Category3}}} | Fish | 1 | 0 }} ||
 +
'''Autre :'''
 +
 
 +
{{#if: {{{Autre| }}} | {{{Autre}}} | - }}
 +
}}
  
|Head2  = Objet : {{PAGENAME}}
+
'''Catégorie :'''
  
|Box    =
+
{{#if: {{{Other| }}} | {{{Other}}} | - }}
{{!}}colspan="2" valign="top"{{!}}
+
 
{{{!}}cellpadding="0" cellspacing="0"
+
{{#ifexpr: {{#if: {{{UpgradingBracelet| }}} | 1 | 0 }}
{{!-}}
+
  or {{#if: {{{UpgradingNecklace| }}} | 1 | 0 }}
{{!}}valign="top"{{!}}{{#if: {{{Image}}}| {{{Image}}}
+
  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 {{!}} '''Serves for the Upgrading:'''
 +
{{!}}- 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}}} | - }}
 
{{!}}}
 
{{!}}}
{{!-}}
 
{{!}}colspan="2"{{!}} &nbsp;
 
{{!-}}
 
{{!}}width="50%" valign="top"{{!}} '''Description :'''
 
{{!}}valign="top"{{!}} '''Prix :'''
 
{{!-}}
 
{{!}}width="50%" valign="top"{{!}}
 
{{#if:{{{Description| }}} | {{{Description}}} | - }}
 
{{!}}valign="top"{{!}}
 
{{#if:{{{Prix| }}} | {{{Prix}}} | - }}
 
{{!-}}
 
{{!}}colspan="2"{{!}} &nbsp;
 
{{!-}}
 
{{!}}width="50%" valign="top"{{!}} '''Utilisation :'''
 
{{!}}valign="top"{{!}} '''Catégorie :'''
 
{{!-}}
 
{{!}}width="50%" valign="top"{{!}}
 
{{#if:{{{Utilisation| }}} | {{{Utilisation}}} | - }}
 
{{!}}valign="top"{{!}}
 
{{#if:{{{Catégorie| }}} | {{{Catégorie}}} | - }}
 
{{!-}}
 
{{!}}colspan="2"{{!}} &nbsp;
 
{{!-}}
 
{{!}}colspan="2"{{!}} '''Autres :'''
 
{{!-}}
 
{{!}}colspan="2"{{!}}
 
{{#if:{{{Autres| }}} | {{{Autres}}} | - }}
 
 
}}
 
}}
 +
</div>
 +
 
}}
 
}}
{{Top}}
+
 
 +
{{#if: {{{Category1| }}} | [[Catégorie:Items/{{{Category1}}}|{{PAGENAME}}]] }}
 +
{{#if: {{{Category2| }}} | [[Catégorie:Items/{{{Category2}}}|{{PAGENAME}}]] }}
 +
{{#if: {{{Category3| }}} | [[Catégorie:Items/{{{Category3}}}|{{PAGENAME}}]] }}
 +
{{#ifeq: {{PAGENAME}} | Objets || <includeonly>[[Catégorie:Objets|{{PAGENAME}}]]</includeonly> }}
  
 
<noinclude>
 
<noinclude>

Version du 9 février 2013 à 19:00

< Accueil < Item Shop/ Item Shop Liste < ItemShop/Layout


ItemShop/Layout

{{{Image}}}

Description :

-

Utilisation :

-


Origine :

-

Autre :

-

Catégorie :

-