Difference between revisions of "Template:ResourcePropertiesInfoBox"

From ChatWars Wiki
Jump to: navigation, search
(updated to droprate table template (same code but broken out to a separate template))
 
Line 1: Line 1:
{{#vardefine: source | {{{source|{{PAGENAME}} }}} }}<includeonly>
+
{{#vardefine: source | {{{source| {{ReplaceNumericCharEncoding| string={{PAGENAME}} }} }}} }}<includeonly>
 
|Craftable
 
|Craftable
 
| {{#ifeq: {{#show: {{#var: source}} |?BoolCraft}} | true | yes | no}}
 
| {{#ifeq: {{#show: {{#var: source}} |?BoolCraft}} | true | yes | no}}
Line 15: Line 15:
 
{{!}}Drop info
 
{{!}}Drop info
 
{{!}}
 
{{!}}
{{{!}} class="wikitable"  
+
{{DroprateTable | source={{#var: source}} }}
 +
<!--{{{!}} class="wikitable"  
 
   {{!}} style="width: 14%"  align="left"{{!}} {{Emoticon|emoticon=Quest|link=Quest}} '''Quest'''  
 
   {{!}} style="width: 14%"  align="left"{{!}} {{Emoticon|emoticon=Quest|link=Quest}} '''Quest'''  
 
   {{!}} style="width: 1.5%" align="center"{{!}} {{Emoticon|emoticon=Timemorning|link=Morning}}  
 
   {{!}} style="width: 1.5%" align="center"{{!}} {{Emoticon|emoticon=Timemorning|link=Morning}}  
Line 45: Line 46:
 
                                 {{!}} {{#if: {{#show: {{#var: source}} |?QuestForayEvening}} | {{#ifeq: {{#show: {{#var: source}} |?QuestForayEvening}} | true | {{Emoticon|emoticon=Checkmark}} | {{Emoticon|emoticon=Error}} }} | {{Emoticon|emoticon=Questionmark}} }}
 
                                 {{!}} {{#if: {{#show: {{#var: source}} |?QuestForayEvening}} | {{#ifeq: {{#show: {{#var: source}} |?QuestForayEvening}} | true | {{Emoticon|emoticon=Checkmark}} | {{Emoticon|emoticon=Error}} }} | {{Emoticon|emoticon=Questionmark}} }}
 
                                 {{!}} {{#if: {{#show: {{#var: source}} |?QuestForayNight}} | {{#ifeq: {{#show: {{#var: source}} |?QuestForayNight}} | true | {{Emoticon|emoticon=Checkmark}} | {{Emoticon|emoticon=Error}} }} | {{Emoticon|emoticon=Questionmark}} }}
 
                                 {{!}} {{#if: {{#show: {{#var: source}} |?QuestForayNight}} | {{#ifeq: {{#show: {{#var: source}} |?QuestForayNight}} | true | {{Emoticon|emoticon=Checkmark}} | {{Emoticon|emoticon=Error}} }} | {{Emoticon|emoticon=Questionmark}} }}
{{!}}}
+
{{!}}}-->
 
{{!}}-
 
{{!}}-
 
{{!}} Required Level of {{#ifeq: {{#show: {{#var: source}} |? ItemSubType#}} | Alchemy Resource
 
{{!}} Required Level of {{#ifeq: {{#show: {{#var: source}} |? ItemSubType#}} | Alchemy Resource

Latest revision as of 20:58, 18 March 2019


This template is designed for being used inside Template:InfoOverview. It adds information on Resources to the general info overview