Template:Mod: Difference between revisions

114 bytes added ,  16:35, 14 August 2020
rework min/max tier
(integrate native tier, add canautotinker)
(rework min/max tier)
Line 74: Line 74:
{{#if: {{{type|}}}    | {{infobox row|Category|{{{type}}}{{consecutive links|{{{type}}}|,| |||Category:| Mods}} }} }}
{{#if: {{{type|}}}    | {{infobox row|Category|{{{type}}}{{consecutive links|{{{type}}}|,| |||Category:| Mods}} }} }}
{{#if: {{{restriction|}}}|{{infobox row|Restrictions|{{{restriction|}}} }} }}
{{#if: {{{restriction|}}}|{{infobox row|Restrictions|{{{restriction|}}} }} }}
{{infobox row|Tiers|{{{mintier|0}}} - {{{maxtier|99}}} }}
{{#ifexpr: {{{mintier|}}} > 0|{{infobox row|minimum item [[tier]]|{{{mintier}}} }} }}
{{#ifexpr: {{{maxtier|}}} < 8|{{infobox row|Maximum item [[tier]]|{{{maxtier}}} }} }}
{{#if: {{{nativetier|}}}|{{infobox row|{{Tooltip|Less likely to appear on items</br>at a lower [[tier]] than this.|Native Tier}}|{{{nativetier}}} }} }}
{{#if: {{{nativetier|}}}|{{infobox row|{{Tooltip|Less likely to appear on items</br>at a lower [[tier]] than this.|Native Tier}}|{{{nativetier}}} }} }}
{{#if: {{{rarity|}}}|{{infobox row|Rarity|{{#switch: {{{rarity}}}| C = Common | U = Uncommon | R = Rare | M = Mega Rare}} }} }}
{{#if: {{{rarity|}}}|{{infobox row|Rarity|{{#switch: {{{rarity}}}| C = Common | U = Uncommon | R = Rare | M = Mega Rare}} }} }}
671

edits