Template:Mod: Difference between revisions

270 bytes removed ,  20:00, 13 August 2020
try to remove concept of relic mods
(recat where it actually counts)
(try to remove concept of relic mods)
Line 57: Line 57:
|NativeTier={{{nativetier|}}}
|NativeTier={{{nativetier|}}}
|Description={{qud text|{{{desc|}}} }}
|Description={{qud text|{{{desc|}}} }}
|Restriction={{#if:{{#ifeq:{{{reliconly|}}}|yes|yes}}{{{restriction|}}}|{{#ifeq: {{{reliconly|}}}|yes|Relic Only }}{{{restriction|}}}|no restrictions}}
|Restriction={{#if:{{{restriction|}}}|{{{restriction|}}}|no restrictions}}
|Type={{{type|}}}
|Type={{{type|}}}
|DisplayName={{{title|{{#titleparts:{{PAGENAME}}}} }}}
|DisplayName={{{title|{{#titleparts:{{PAGENAME}}}} }}}
Line 72: Line 72:
| rows =  
| rows =  
{{#if: {{{type|}}}    | {{infobox row|Category|{{{type}}}{{consecutive links|{{{type}}}|,| |||Category:| Mods}} }} }}
{{#if: {{{type|}}}    | {{infobox row|Category|{{{type}}}{{consecutive links|{{{type}}}|,| |||Category:| Mods}} }} }}
{{#if: {{{restriction|}}}{{#ifeq:{{{reliconly|}}}|yes|yes}}|{{infobox row|Restrictions|{{#if: {{{reliconly|}}}|Relic Only</br>[[Category:Relic Mods]]}}{{{restriction|}}} }} }}
{{#if: {{{restriction|}}}|{{infobox row|Restrictions|{{{restriction|}}} }} }}
{{infobox row|Tiers|{{{mintier|0}}} - {{{maxtier|99}}} }}
{{infobox row|Tiers|{{{mintier|0}}} - {{{maxtier|99}}} }}
{{#if: {{{nativetier|}}}|{{infobox row|{{Tooltip|Items at a lower tier than this will</br>be less likely to appear.|Native Tier}}|{{{nativetier}}} }} }}
{{#if: {{{nativetier|}}}|{{infobox row|{{Tooltip|Items at a lower tier than this will</br>be less likely to appear.|Native Tier}}|{{{nativetier}}} }} }}
Line 84: Line 84:
}}{{#if: {{{desc|}}}|{{qud quote {{#ifeq:{{{notxml|}}}| yes | notxml}}|{{{desc}}}}} }}<!--
}}{{#if: {{{desc|}}}|{{qud quote {{#ifeq:{{{notxml|}}}| yes | notxml}}|{{{desc}}}}} }}<!--


if no specific category was added by 'type' or 'reliconly' parameter, add the generic 'Mod' category:
if no specific category was added by 'type' parameter, add the generic 'Mod' category:


-->{{#if: {{{type|}}}{{{reliconly|}}} || [[Category:Mods]] }}</includeonly><noinclude><!---
-->{{#if: {{{type|}}} || [[Category:Mods]] }}</includeonly><noinclude><!---
   
   
     Documentation here
     Documentation here
Line 132: Line 132:
|-
|-
! restriction
! restriction
| any further specifications from type. If only applicable to relics, use <code>reliconly</code> below.
| any further specifications from type.
| strings
| strings
|-
|-
671

edits