Difference between revisions of "Template:Item"

 
(27 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<noinclude>{{/Documentation}}</noinclude><includeonly>
 
<noinclude>{{/Documentation}}</noinclude><includeonly>
 
{| width="100%"
 
{| width="100%"
|colspan="2" id="titlefade" style="color: #ffffff; font-size:150%; padding-left:10px; letter-spacing:2.5px; font-family: arial; padding:0px 0px 0px 10px; align:center;border-radius: 5px 5px 0 0;"|{{{Name|Name}}}<div style="padding: 0 0 10px 30px; font-size:10px">{{Colorlink|white|:Category:Items|Item}}</div>
+
|colspan="2" id="titlefade" style="color: #ffffff; font-size:150%; padding-left:10px; letter-spacing:2.5px; font-family: arial; padding:0px 0px 0px 10px; align:center;border-radius: 5px 5px 0 0;"|{{{Name|Name}}}<div style="padding: 0 0 10px 30px; font-size:10px">{{Colorlink|white|:Category:Items|Item}}{{#if:{{{Type|}}}| - {{Colorlink|white|:Category:{{{Type}}}|{{{Type}}}}}}}{{#if:{{{Subtype|}}}| - {{Colorlink|white|:Category:{{{Subtype}}}|{{{Subtype}}}}}}}</div>
 
|-
 
|-
|colspan="2" valign="top" style="background-color: #071729; color: #ffffff; font-size:100%; padding-left:10px; padding:0px 0px 10px 10px; align:center;"|{{{Description}}}
+
|width="50%" valign="top" id="infoboxfade" style="color: #ffffff; font-size:100%; padding-left:10px; padding:0px 0px 10px 10px; align:center;"|
 +
{{{Description}}}
 +
|valign="top" width="50%" id="infoboxfade" style="color: #ffffff; font-size:100%; padding-left:10px; padding:0px 0px 10px 10px; align:center;"|[[File:{{{Name|}}}.png|250px|link=]]
 
|-
 
|-
|width="50%" style="background-color: #071729; color: #ffffff; font-size:110%; padding-top:10px; padding-left:10px; letter-spacing:2.5px; font-family: arial; color: #7dd2ff; border-bottom: 2px solid #7dd2ff;"|Acquisition
+
|valign="top" style="background-color: #ffffff; font-size:110%; padding-top:10px; padding-left:10px; letter-spacing:2.5px; font-family: arial; color: #23343b; border-bottom: 2px solid #7dd2ff;"|Acquisition:
|width="50%" style="background-color: #071729; color: #ffffff; font-size:110%; padding-top:10px; padding-left:10px; letter-spacing:2.5px; font-family: arial; color: #7dd2ff; border-bottom: 2px solid #7dd2ff;"|Uses
+
{{{Acquisition|}}}
 
|-
 
|-
|
+
{{#ifexpr:{{PAGESINCAT:{{SUBPAGENAME}} dropped by enemy}} >= 1 |
 +
{{!}}
 
{{Header|Title=<span id="Dropped by Enemy">Dropped by Enemy:</span>|CountCat={{SUBPAGENAME}} dropped by enemy|dpl={{#dpl:
 
{{Header|Title=<span id="Dropped by Enemy">Dropped by Enemy:</span>|CountCat={{SUBPAGENAME}} dropped by enemy|dpl={{#dpl:
 
| category={{SUBPAGENAME}} dropped by enemy
 
| category={{SUBPAGENAME}} dropped by enemy
| includepage ={Enemy}:Name:HP
+
| includepage ={Enemy}:Name:Areas Encountered
 
| format      =,,\n
 
| format      =,,\n
| table      =class="GEtable sortable" style="width: 95%;",-,Name,HP
+
| table      =class="GEtable sortable" style="width: 95%;",-,Name,Areas Encountered
 
| tablerow =  [[%%]],%%
 
| tablerow =  [[%%]],%%
 
| suppresserrors=true
 
| suppresserrors=true
}}}}
+
}}}}}}
|}[[Category:Items]]</includeonly><noinclude>[[Category:Templates|{{PAGENAME}}]]</noinclude>
+
|-
 +
{{#ifexpr:{{PAGESINCAT:{{SUBPAGENAME}} rarely dropped by enemy}} >= 1 |
 +
{{!}}
 +
{{Header|Title=<span id="Rare drop by Enemy">Rare Drop by Enemy:</span>|CountCat={{SUBPAGENAME}} rarely dropped by enemy|dpl={{#dpl:
 +
| category={{SUBPAGENAME}} rarely dropped by enemy
 +
| includepage ={Enemy}:Name:Areas Encountered
 +
| format      =,,\n
 +
| table      =class="GEtable sortable" style="width: 95%;",-,Name,Areas Encountered
 +
| tablerow =  [[%%]],%%
 +
| suppresserrors=true
 +
}}}}}}
 +
|-
 +
{{#ifexpr:{{PAGESINCAT:{{SUBPAGENAME}} stolen from enemy}} >= 1 |
 +
{{!}}
 +
{{Header|Title=<span id="Stolen from Enemy">Stolen from Enemy:</span>|CountCat={{SUBPAGENAME}} stolen from enemy|dpl={{#dpl:
 +
| category={{SUBPAGENAME}} stolen from enemy
 +
| includepage ={Enemy}:Name:Areas Encountered
 +
| format      =,,\n
 +
| table      =class="GEtable sortable" style="width: 95%;",-,Name,Areas Encountered
 +
| tablerow =  [[%%]],%%
 +
| suppresserrors=true
 +
}}}}}}
 +
|-
 +
{{#ifexpr:{{PAGESINCAT:{{fixtick|{{SUBPAGENAME}}}} sold by merchant}} >= 1 |
 +
{{!}}
 +
{{Header|Title=<span id="Sold by Merchant">Sold by Merchant:</span>|CountCat={{SUBPAGENAME}} sold by merchant|dpl={{#dpl:
 +
| category={{fixtick|{{SUBPAGENAME}}}} sold by merchant
 +
| includepage ={Sells} merchantdpl
 +
| format      =,,\n
 +
| table      =class="GEtable sortable" style="width: 95%;",-,Merchant,Location,Price
 +
| includematch=/\{{!}}\s*Item\s*=\s*{{fixtick|{{SUBPAGENAME}}}}\b\s*\{{!}}/
 +
| tablerow =  %%
 +
| suppresserrors=true
 +
}}}}}}
 +
|-
 +
{{#ifexpr:{{PAGESINCAT:{{fixtick|{{SUBPAGENAME}}}} rewarded from quest}} >= 1 |
 +
{{!}}
 +
{{Header|Title=<span id="Rewarded from Quest">Rewarded from Quest:</span>|CountCat={{SUBPAGENAME}} rewarded from quest|dpl={{#dpl:
 +
| category={{fixtick|{{SUBPAGENAME}}}} rewarded from quest
 +
| includepage ={Sidequest}:Name:Chapter
 +
| format      =,,\n
 +
| table      =class="GEtable sortable" style="width: 95%;",-,Name,Chapter
 +
| tablerow =  [[%%]],[[Chapter %%]]
 +
| suppresserrors=true
 +
}}}}}}
 +
|-
 +
{{#ifexpr:{{PAGESINCAT:{{fixtick|{{SUBPAGENAME}}}} rewarded from hard mode quest}} >= 1 |
 +
{{!}}
 +
{{Header|Title=<span id="Rewarded from Hard Mode Quest">Rewarded from Hard Mode Quest:</span>|CountCat={{SUBPAGENAME}} rewarded from hard mode quest|dpl={{#dpl:
 +
| category={{fixtick|{{SUBPAGENAME}}}} rewarded from hard mode quest
 +
| includepage ={Sidequest}:Name:Chapter
 +
| format      =,,\n
 +
| table      =class="GEtable sortable" style="width: 95%;",-,Name,Chapter
 +
| tablerow =  [[%%]] (Hard Mode),[[Chapter %%]]
 +
| suppresserrors=true
 +
}}}}}}
 +
|-
 +
{{#ifexpr:{{PAGESINCAT:{{SUBPAGENAME}} rewarded from Campaign}} >= 1 |
 +
{{!}}
 +
{{Header|Title=<span id="Rewarded from Campaign">Rewarded from Campaign:</span>|CountCat={{SUBPAGENAME}} rewarded from Campaign|dpl={{#dpl:
 +
| category={{SUBPAGENAME}} rewarded from Campaign
 +
| includepage ={Orderbonus}:Acquisition
 +
| format      =,,\n
 +
| table      =class="GEtable sortable" style="width: 95%;",-,Acquisition
 +
| includematch=/\{{!}}\s*Item\d+\s*={{SUBPAGENAME}}\s*/
 +
| tablerow =  %%
 +
| suppresserrors=true
 +
}}}}}}
 +
|}[[Category:Items]]{{#if:{{{Type|}}}|[[Category:{{{Type|}}}]]}}{{#if:{{{Subtype|}}}|[[Category:{{{Subtype|}}}]]}}</includeonly><noinclude>[[Category:Templates|{{PAGENAME}}]]</noinclude>
 
__NOEDITSECTION__ __NOTOC__
 
__NOEDITSECTION__ __NOTOC__

Latest revision as of 20:25, 19 April 2020