Difference between revisions of "Template:ResourcePropertiesInfoBox"
(updated to droprate table template (same code but broken out to a separate template)) |
|||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
− | <includeonly> | + | {{#vardefine: source | {{{source| {{ReplaceNumericCharEncoding| string={{PAGENAME}} }} }}} }}<includeonly> |
|Craftable | |Craftable | ||
− | | {{#ifeq: {{#show: {{ | + | | {{#ifeq: {{#show: {{#var: source}} |?BoolCraft}} | true | yes | no}} |
|- | |- | ||
|Tradeable (Exchange) | |Tradeable (Exchange) | ||
− | | {{#ifeq: {{#show: {{ | + | | {{#ifeq: {{#show: {{#var: source}} |?BoolExchange}} | true | yes, (Command: <code>/t_{{#show: {{#var: source}} |?ItemID}}</code>) | no}} |
|- | |- | ||
|Tradeable (Auction) | |Tradeable (Auction) | ||
− | | {{#ifeq: {{#show: {{ | + | | {{#ifeq: {{#show: {{#var: source}} |?BoolAuction}} | true | yes | no}} |
|- | |- | ||
|Can be found in [[Quest|quests]] | |Can be found in [[Quest|quests]] | ||
− | | {{#ifeq: {{#show: {{ | + | | {{#ifeq: {{#show: {{#var: source}} |?BoolQuest}} | true | yes | no}} |
|- | |- | ||
− | {{#ifeq: {{#show: {{ | + | {{#ifeq: {{#show: {{#var: source}} |?BoolQuest}} | true | |
{{!}}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 23: | Line 24: | ||
{{!}}-style=text-align:center;" | {{!}}-style=text-align:center;" | ||
{{!}}style=text-align:left;" {{!}} {{Emoticon|emoticon=Forest|link=Forest}} [[Forest]] | {{!}}style=text-align:left;" {{!}} {{Emoticon|emoticon=Forest|link=Forest}} [[Forest]] | ||
− | {{!}} {{#if: {{#show: {{ | + | {{!}} {{#if: {{#show: {{#var: source}} |?QuestForestMorning}} | {{#ifeq: {{#show: {{#var: source}} |?QuestForestMorning}} | true | {{Emoticon|emoticon=Checkmark}} | {{Emoticon|emoticon=Error}} }} | {{Emoticon|emoticon=Questionmark}} }} |
− | {{!}} {{#if: {{#show: {{ | + | {{!}} {{#if: {{#show: {{#var: source}} |?QuestForestDay}} | {{#ifeq: {{#show: {{#var: source}} |?QuestForestDay}} | true | {{Emoticon|emoticon=Checkmark}} | {{Emoticon|emoticon=Error}} }} | {{Emoticon|emoticon=Questionmark}} }} |
− | {{!}} {{#if: {{#show: {{ | + | {{!}} {{#if: {{#show: {{#var: source}} |?QuestForestEvening}} | {{#ifeq: {{#show: {{#var: source}} |?QuestForestEvening}} | true | {{Emoticon|emoticon=Checkmark}} | {{Emoticon|emoticon=Error}} }} | {{Emoticon|emoticon=Questionmark}} }} |
− | {{!}} {{#if: {{#show: {{ | + | {{!}} {{#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:center;" | ||
{{!}}style=text-align:left;" {{!}} {{Emoticon|emoticon=Swamp|link=Swamp}} [[Swamp]] | {{!}}style=text-align:left;" {{!}} {{Emoticon|emoticon=Swamp|link=Swamp}} [[Swamp]] | ||
− | {{!}} {{#if: {{#show: {{ | + | {{!}} {{#if: {{#show: {{#var: source}} |?QuestSwampMorning}} | {{#ifeq: {{#show: {{#var: source}} |?QuestSwampMorning}} | true | {{Emoticon|emoticon=Checkmark}} | {{Emoticon|emoticon=Error}} }} | {{Emoticon|emoticon=Questionmark}} }} |
− | {{!}} {{#if: {{#show: {{ | + | {{!}} {{#if: {{#show: {{#var: source}} |?QuestSwampDay}} | {{#ifeq: {{#show: {{#var: source}} |?QuestSwampDay}} | true | {{Emoticon|emoticon=Checkmark}} | {{Emoticon|emoticon=Error}} }} | {{Emoticon|emoticon=Questionmark}} }} |
− | {{!}} {{#if: {{#show: {{ | + | {{!}} {{#if: {{#show: {{#var: source}} |?QuestSwampEvening}} | {{#ifeq: {{#show: {{#var: source}} |?QuestSwampEvening}} | true | {{Emoticon|emoticon=Checkmark}} | {{Emoticon|emoticon=Error}} }} | {{Emoticon|emoticon=Questionmark}} }} |
− | {{!}} {{#if: {{#show: {{ | + | {{!}} {{#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:center;" | ||
{{!}}style=text-align:left;" {{!}} {{Emoticon|emoticon=Valley|link=Valley}} [[Valley]] | {{!}}style=text-align:left;" {{!}} {{Emoticon|emoticon=Valley|link=Valley}} [[Valley]] | ||
− | {{!}} {{#if: {{#show: {{ | + | {{!}} {{#if: {{#show: {{#var: source}} |?QuestValleyMorning}} | {{#ifeq: {{#show: {{#var: source}} |?QuestValleyMorning}} | true | {{Emoticon|emoticon=Checkmark}} | {{Emoticon|emoticon=Error}} }} | {{Emoticon|emoticon=Questionmark}} }} |
− | {{!}} {{#if: {{#show: {{ | + | {{!}} {{#if: {{#show: {{#var: source}} |?QuestValleyDay}} | {{#ifeq: {{#show: {{#var: source}} |?QuestValleyDay}} | true | {{Emoticon|emoticon=Checkmark}} | {{Emoticon|emoticon=Error}} }} | {{Emoticon|emoticon=Questionmark}} }} |
− | {{!}} {{#if: {{#show: {{ | + | {{!}} {{#if: {{#show: {{#var: source}} |?QuestValleyEvening}} | {{#ifeq: {{#show: {{#var: source}} |?QuestValleyEvening}} | true | {{Emoticon|emoticon=Checkmark}} | {{Emoticon|emoticon=Error}} }} | {{Emoticon|emoticon=Questionmark}} }} |
− | {{!}} {{#if: {{#show: {{ | + | {{!}} {{#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:center;" | ||
{{!}}style=text-align:left;" {{!}} {{Emoticon|emoticon=Foray|link=Foray}} [[Foray]] | {{!}}style=text-align:left;" {{!}} {{Emoticon|emoticon=Foray|link=Foray}} [[Foray]] | ||
− | {{!}} {{#if: {{#show: {{ | + | {{!}} {{#if: {{#show: {{#var: source}} |?QuestForayMorning}} | {{#ifeq: {{#show: {{#var: source}} |?QuestForayMorning}} | true | {{Emoticon|emoticon=Checkmark}} | {{Emoticon|emoticon=Error}} }} | {{Emoticon|emoticon=Questionmark}} }} |
− | {{!}} {{#if: {{#show: {{ | + | {{!}} {{#if: {{#show: {{#var: source}} |?QuestForayDay}} | {{#ifeq: {{#show: {{#var: source}} |?QuestForayDay}} | true | {{Emoticon|emoticon=Checkmark}} | {{Emoticon|emoticon=Error}} }} | {{Emoticon|emoticon=Questionmark}} }} |
− | {{!}} {{#if: {{#show: {{ | + | {{!}} {{#if: {{#show: {{#var: source}} |?QuestForayEvening}} | {{#ifeq: {{#show: {{#var: source}} |?QuestForayEvening}} | true | {{Emoticon|emoticon=Checkmark}} | {{Emoticon|emoticon=Error}} }} | {{Emoticon|emoticon=Questionmark}} }} |
− | {{!}} {{#if: {{#show: {{ | + | {{!}} {{#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: {{ | + | {{!}} Required Level of {{#ifeq: {{#show: {{#var: source}} |? ItemSubType#}} | Alchemy Resource |
| [[Harvest]] | | [[Harvest]] | ||
| [[Perception]] | | [[Perception]] | ||
}} | }} | ||
− | {{!}} {{#show: {{ | + | {{!}} {{#show: {{#var: source}} |?PerceptionLevel}} |
− | {{#if: {{#show: {{ | + | {{#if: {{#show: {{#var: source}} |?PlayerQuestMinLevel}} | {{#switch: {{#show: {{#var: source}} |?PlayerQuestMinLevel}} |
| 0 | 1 = | | 0 | 1 = | ||
| #default = {{!}}- | | #default = {{!}}- | ||
{{!}} Minimum required Player Level | {{!}} Minimum required Player Level | ||
− | {{!}} {{#show: {{ | + | {{!}} {{#show: {{#var: source}} |?PlayerQuestMinLevel}} |
}} | }} | ||
}} | }} |
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