Difference between revisions of "Template:Item"

 
(11 intermediate revisions by the same user not shown)
Line 5: Line 5:
 
|width="50%" valign="top" id="infoboxfade" style="color: #ffffff; font-size:100%; padding-left:10px; padding:0px 0px 10px 10px; align:center;"|
 
|width="50%" valign="top" id="infoboxfade" style="color: #ffffff; font-size:100%; padding-left:10px; padding:0px 0px 10px 10px; align:center;"|
 
{{{Description}}}
 
{{{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|350px|link=]]
+
|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=]]
 
|-
 
|-
 
|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:  
 
|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:  
Line 14: Line 14:
 
{{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
Line 25: Line 25:
 
{{Header|Title=<span id="Rare drop by Enemy">Rare Drop by Enemy:</span>|CountCat={{SUBPAGENAME}} rarely dropped by enemy|dpl={{#dpl:
 
{{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
 
| category={{SUBPAGENAME}} rarely 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
Line 36: Line 36:
 
{{Header|Title=<span id="Stolen from Enemy">Stolen from Enemy:</span>|CountCat={{SUBPAGENAME}} stolen from enemy|dpl={{#dpl:
 
{{Header|Title=<span id="Stolen from Enemy">Stolen from Enemy:</span>|CountCat={{SUBPAGENAME}} stolen from enemy|dpl={{#dpl:
 
| category={{SUBPAGENAME}} stolen from enemy
 
| category={{SUBPAGENAME}} stolen from 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
 
}}}}}}
 
}}}}}}
 
|-
 
|-
{{#ifexpr:{{PAGESINCAT:{{SUBPAGENAME}} sold by merchant}} >= 1 |
+
{{#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:
 
{{Header|Title=<span id="Sold by Merchant">Sold by Merchant:</span>|CountCat={{SUBPAGENAME}} sold by merchant|dpl={{#dpl:
| category={{SUBPAGENAME}} sold by merchant
+
| category={{fixtick|{{SUBPAGENAME}}}} sold by merchant
| includepage ={Sells}:Merchant:Location:Price
+
| includepage ={Sells} merchantdpl
 
| format      =,,\n
 
| format      =,,\n
 
| table      =class="GEtable sortable" style="width: 95%;",-,Merchant,Location,Price
 
| table      =class="GEtable sortable" style="width: 95%;",-,Merchant,Location,Price
| includematch=/\{{!}}\s*Item\s*=\s*{{PAGENAME}}\b\s*\{{!}}/
+
| includematch=/\{{!}}\s*Item\s*=\s*{{fixtick|{{SUBPAGENAME}}}}\b\s*\{{!}}/
| tablerow =  [[%%]],[[%%]],%%
+
| tablerow =  %%
 
| suppresserrors=true
 
| suppresserrors=true
 
}}}}}}
 
}}}}}}
|}[[Category:Items]]{{#if:{{{Type|}}}|[[Category:{{{Type|}}}]]}}</includeonly><noinclude>[[Category:Templates|{{PAGENAME}}]]</noinclude>
+
|-
 +
{{#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