Difference between revisions of "Template:Item"

 
(8 intermediate revisions by the same user not shown)
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
 
}}}}}}
 
}}}}}}
 
|-
 
|-
{{#ifexpr:{{PAGESINCAT:{{SUBPAGENAME}} rewarded from quest}} >= 1 |
+
{{#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:
 
{{Header|Title=<span id="Rewarded from Quest">Rewarded from Quest:</span>|CountCat={{SUBPAGENAME}} rewarded from quest|dpl={{#dpl:
| category={{SUBPAGENAME}} rewarded from quest
+
| category={{fixtick|{{SUBPAGENAME}}}} rewarded from quest
 
| includepage ={Sidequest}:Name:Chapter
 
| includepage ={Sidequest}:Name:Chapter
 
| format      =,,\n
 
| format      =,,\n
 
| table      =class="GEtable sortable" style="width: 95%;",-,Name,Chapter
 
| table      =class="GEtable sortable" style="width: 95%;",-,Name,Chapter
 
| tablerow =  [[%%]],[[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
 
| suppresserrors=true
 
}}}}}}
 
}}}}}}
 
|}[[Category:Items]]{{#if:{{{Type|}}}|[[Category:{{{Type|}}}]]}}{{#if:{{{Subtype|}}}|[[Category:{{{Subtype|}}}]]}}</includeonly><noinclude>[[Category:Templates|{{PAGENAME}}]]</noinclude>
 
|}[[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