Difference between revisions of "Template:Item"

Line 10: Line 10:
 
{{{Acquisition|}}}  
 
{{{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
Line 19: Line 18:
 
| tablerow =  [[%%]],%%
 
| tablerow =  [[%%]],%%
 
| suppresserrors=true
 
| suppresserrors=true
}}}}}}
+
}}}}
 
|-
 
|-
{{#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:
 
{{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
Line 30: Line 28:
 
| tablerow =  [[%%]],%%
 
| tablerow =  [[%%]],%%
 
| suppresserrors=true
 
| 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:
 
{{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
Line 41: Line 38:
 
| tablerow =  [[%%]],%%
 
| tablerow =  [[%%]],%%
 
| suppresserrors=true
 
| suppresserrors=true
}}}}}}
+
}}}}
 
|-
 
|-
{{#ifexpr:{{PAGESINCAT:{{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={{SUBPAGENAME}} sold by merchant
Line 50: Line 46:
 
| 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*{{PAGENAME}}\b\s*\{{!}}/
 
| tablerow =  [[%%]],[[%%]],%%
 
| tablerow =  [[%%]],[[%%]],%%
 
| suppresserrors=true
 
| suppresserrors=true
}}}}}}
+
}}}}
 
|}[[Category:Items]]{{#if:{{{Type|}}}|[[Category:{{{Type|}}}]]}}</includeonly><noinclude>[[Category:Templates|{{PAGENAME}}]]</noinclude>
 
|}[[Category:Items]]{{#if:{{{Type|}}}|[[Category:{{{Type|}}}]]}}</includeonly><noinclude>[[Category:Templates|{{PAGENAME}}]]</noinclude>
 
__NOEDITSECTION__ __NOTOC__
 
__NOEDITSECTION__ __NOTOC__

Revision as of 13:55, 14 April 2020