Difference between revisions of "Template:DroprateTable"

From ChatWars Wiki
Jump to: navigation, search
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{| class="wikitable" style="width:200px; font-size:100%;"
+
<includeonly>{{#vardefine: source | {{{source| {{ReplaceNumericCharEncoding| string={{PAGENAME}} }} }}} }}{{{!}} class="wikitable"  
   | style="width: 15%"  align="left"| :Quest: '''Quest'''  
+
   {{!}} style="width: 14%"  align="left"{{!}} {{Emoticon|emoticon=Quest|link=Quest}} '''Quest'''  
   | style="width: 1.5%" align="center"| :Timemorning:
+
   {{!}} style="width: 1.5%" align="center"{{!}} {{Emoticon|emoticon=Timemorning|link=Morning}}
   | style="width: 1.5%" align="center"| :Timeday:
+
   {{!}} style="width: 1.5%" align="center"{{!}} {{Emoticon|emoticon=Timeday|link=Day}}
   | style="width: 1.5%" align="center"| :Timeevening:
+
   {{!}} style="width: 1.5%" align="center"{{!}} {{Emoticon|emoticon=Timeevening|link=Evening}}
   | style="width: 1.5%" align="center"| :Timenight:
+
   {{!}} style="width: 1.5%" align="center"{{!}} {{Emoticon|emoticon=Timenight|link=Night}}
   |-style=text-align:center;"
+
   {{!}}-style=text-align:center;"
   |style=text-align:left;" | :Forest: [[Forest]] {{!}}{{!}} {{#ifeq: {{{forest-morning|}}}| yes | :Checkmark: | :Error:}} {{!}}{{!}} {{#ifeq: {{{forest-day|}}}| yes | :Checkmark: | :Error:}} {{!}}{{!}} {{#ifeq: {{{forest-evening|}}}| yes | :Checkmark: | :Error:}} {{!}}{{!}} {{#ifeq: {{{forest-night|}}}| yes | :Checkmark: | :Error:}}
+
   {{!}}style=text-align:left;" {{!}} {{Emoticon|emoticon=Forest|link=Forest}} [[Forest]]
   |-style=text-align:center;"
+
                                {{!}} {{#if: {{#show: {{#var: source}} |?QuestForestMorning}} | {{#ifeq: {{#show: {{#var: source}} |?QuestForestMorning}} | true | {{Emoticon|emoticon=Checkmark}} | {{Emoticon|emoticon=Error}} }} | {{Emoticon|emoticon=Questionmark}} }}
   |style=text-align:left;" | :Swamp: [[Swamp]] {{!}}{{!}} {{#ifeq: {{{swamp-morning|}}}| yes | :Checkmark: | :Error:}} {{!}}{{!}} {{#ifeq: {{{swamp-day|}}}| yes | :Checkmark: | :Error:}}{{!}}{{!}} {{#ifeq: {{{swamp-evening|}}}| yes | :Checkmark: | :Error:}}{{!}}{{!}}{{#ifeq: {{{swamp-night|}}}| yes | :Checkmark: | :Error:}}
+
                                {{!}} {{#if: {{#show: {{#var: source}} |?QuestForestDay}} | {{#ifeq: {{#show: {{#var: source}} |?QuestForestDay}} | true | {{Emoticon|emoticon=Checkmark}} | {{Emoticon|emoticon=Error}} }} | {{Emoticon|emoticon=Questionmark}} }}
   |-style=text-align:center;"
+
                                {{!}} {{#if: {{#show: {{#var: source}} |?QuestForestEvening}} | {{#ifeq: {{#show: {{#var: source}} |?QuestForestEvening}} | true | {{Emoticon|emoticon=Checkmark}} | {{Emoticon|emoticon=Error}} }} | {{Emoticon|emoticon=Questionmark}} }}
   |style=text-align:left;" | :Valley: [[Valley]] {{!}}{{!}} {{#ifeq: {{{valley-morning|}}}| yes | :Checkmark: | :Error:}}{{!}}{{!}} {{#ifeq: {{{valley-day|}}}| yes | :Checkmark: | :Error:}}{{!}}{{!}} {{#ifeq: {{{valley-evening|}}}| yes | :Checkmark: | :Error:}}{{!}}{{!}}{{#ifeq: {{{valley-night|}}}| yes | :Checkmark: | :Error:}}
+
                                {{!}} {{#if: {{#show: {{#var: source}} |?QuestForestNight}} | {{#ifeq: {{#show: {{#var: source}} |?QuestForestNight}} | true | {{Emoticon|emoticon=Checkmark}} | {{Emoticon|emoticon=Error}} }} | {{Emoticon|emoticon=Questionmark}} }}
|}
+
   {{!}}-style=text-align:center;"
 +
   {{!}}style=text-align:left;" {{!}} {{Emoticon|emoticon=Swamp|link=Swamp}} [[Swamp]]
 +
                                {{!}} {{#if: {{#show: {{#var: source}} |?QuestSwampMorning}} | {{#ifeq: {{#show: {{#var: source}} |?QuestSwampMorning}} | true | {{Emoticon|emoticon=Checkmark}} | {{Emoticon|emoticon=Error}} }} | {{Emoticon|emoticon=Questionmark}} }}
 +
                                {{!}} {{#if: {{#show: {{#var: source}} |?QuestSwampDay}} | {{#ifeq: {{#show: {{#var: source}} |?QuestSwampDay}} | true | {{Emoticon|emoticon=Checkmark}} |  {{Emoticon|emoticon=Error}} }} | {{Emoticon|emoticon=Questionmark}} }}
 +
                                {{!}} {{#if: {{#show: {{#var: source}} |?QuestSwampEvening}} | {{#ifeq: {{#show: {{#var: source}} |?QuestSwampEvening}} | true | {{Emoticon|emoticon=Checkmark}} | {{Emoticon|emoticon=Error}} }} | {{Emoticon|emoticon=Questionmark}} }}
 +
                                {{!}} {{#if: {{#show: {{#var: source}} |?QuestSwampNight}} | {{#ifeq: {{#show: {{#var: source}} |?QuestSwampNight}} | true | {{Emoticon|emoticon=Checkmark}} | {{Emoticon|emoticon=Error}} }} | {{Emoticon|emoticon=Questionmark}} }}
 +
   {{!}}-style=text-align:center;"
 +
   {{!}}style=text-align:left;" {{!}} {{Emoticon|emoticon=Valley|link=Valley}} [[Valley]]
 +
                                {{!}} {{#if: {{#show: {{#var: source}} |?QuestValleyMorning}} | {{#ifeq: {{#show: {{#var: source}} |?QuestValleyMorning}} | true | {{Emoticon|emoticon=Checkmark}} | {{Emoticon|emoticon=Error}} }} | {{Emoticon|emoticon=Questionmark}} }}
 +
                                {{!}} {{#if: {{#show: {{#var: source}} |?QuestValleyDay}} | {{#ifeq: {{#show: {{#var: source}} |?QuestValleyDay}} | true | {{Emoticon|emoticon=Checkmark}} | {{Emoticon|emoticon=Error}} }} | {{Emoticon|emoticon=Questionmark}} }}
 +
                                {{!}} {{#if: {{#show: {{#var: source}} |?QuestValleyEvening}} | {{#ifeq: {{#show: {{#var: source}} |?QuestValleyEvening}} | true | {{Emoticon|emoticon=Checkmark}} | {{Emoticon|emoticon=Error}} }} | {{Emoticon|emoticon=Questionmark}} }}
 +
                                {{!}} {{#if: {{#show: {{#var: source}} |?QuestValleyNight}} | {{#ifeq: {{#show: {{#var: source}} |?QuestValleyNight}} | true | {{Emoticon|emoticon=Checkmark}} | {{Emoticon|emoticon=Error}} }} | {{Emoticon|emoticon=Questionmark}} }}
 +
  {{!}}-style=text-align:center;"
 +
  {{!}}style=text-align:left;" {{!}} {{Emoticon|emoticon=Foray|link=Foray}} [[Foray]]
 +
                                {{!}} {{#if: {{#show: {{#var: source}} |?QuestForayMorning}} | {{#ifeq: {{#show: {{#var: source}} |?QuestForayMorning}} | true | {{Emoticon|emoticon=Checkmark}} | {{Emoticon|emoticon=Error}} }} | {{Emoticon|emoticon=Questionmark}} }}
 +
                                {{!}} {{#if: {{#show: {{#var: source}} |?QuestForayDay}} | {{#ifeq: {{#show: {{#var: source}} |?QuestForayDay}} | 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}} }}
 +
{{!}}}</includeonly><noinclude>
 +
Template to show the droprate table for a given source (if none specified pagename is used)
 
[[Category:Templates]]</noinclude>
 
[[Category:Templates]]</noinclude>

Latest revision as of 21:00, 18 March 2019

Template to show the droprate table for a given source (if none specified pagename is used)