Template:Mod: Difference between revisions

80 bytes added ,  07:33, 16 October 2023
m
no edit summary
m (Fix unhandled "Yes" from mod pages)
mNo edit summary
 
(2 intermediate revisions by 2 users not shown)
Line 71: Line 71:
|Value      = {{{value|1.0}}}
|Value      = {{{value|1.0}}}
|Rarity      = {{{rarity|}}}
|Rarity      = {{{rarity|}}}
|Tinkerable  = {{{tinkerable|no}}}
|Tinkerable  = {{lc:{{{tinkerable|no}}}}}
|TinkerTier  = {{#ifeq:{{{tinkerable|}}}|yes|{{tinker check|{{{tinkertier|1}}} }} }}
|TinkerTier  = {{#ifeq:{{lc:{{{tinkerable|}}}}}|yes|{{tinker check|{{{tinkertier|1}}} }} }}
|BitUsed    = {{#ifeq:{{{tinkerable|}}}|yes|{{{tinkertier|1}}} }}
|BitUsed    = {{#ifeq:{{lc:{{{tinkerable|}}}}}|yes|{{{tinkertier|1}}} }}
|NativeTier  = {{{nativetier|}}}
|NativeTier  = {{{nativetier|}}}
|CanAutoTinker = {{{canautotinker|yes}}}
|CanAutoTinker = {{lc:{{{canautotinker|yes}}}}}
|Description = {{qud text|{{{desc|}}} }}
|Description = {{qud text|{{{desc|}}} }}
|Restriction = {{{restriction|no restrictions}}}
|Restriction = {{{restriction|no restrictions}}}
|Difficulty  = {{{difficulty|}}}
|Difficulty  = {{{difficulty|}}}
|Complexity  = {{{complexity|}}}
|Complexity  = {{{complexity|}}}
|PowerLoadSensitive = {{{powerloadsensitive|no}}}
|PowerLoadSensitive = {{lc:{{{powerloadsensitive|no}}}}}
|EMPSensitive = {{{empsensitive|no}}}
|EMPSensitive = {{lc:{{{empsensitive|no}}}}}
|RealityDistortionBased = {{{realitydistortion|no}}}
|RealityDistortionBased = {{lc:{{{realitydistortion|no}}}}}
|ChargeUsed  = {{{chargeused|}}}
|ChargeUsed  = {{{chargeused|}}}
|DisplayName = {{{title|{{#titleparts:{{PAGENAME}}}} }}}
|DisplayName = {{{title|{{#titleparts:{{PAGENAME}}}} }}}
|PlainName  = {{#invoke: HTMLParse | strip_formatting | html ={{{title|{{#titleparts:{{PAGENAME}}}} }}}}}
|PlainName  = {{#invoke: HTMLParse | strip_formatting | html ={{{title|{{#titleparts:{{PAGENAME}}}} }}}}}
|TinkerTierNum = {{#ifeq:{{{tinkerable|}}}|yes|{{{tinkertier|1}}} }}
|TinkerTierNum = {{#ifeq:{{lc:{{{tinkerable|}}}}}|yes|{{{tinkertier|1}}} }}
}}<!--
}}<!--


Line 103: Line 103:
{{#ifexpr: {{{maxtier|99}}} < 8|{{infobox row|Maximum item [[tier]]|{{{maxtier}}} }} }}
{{#ifexpr: {{{maxtier|99}}} < 8|{{infobox row|Maximum item [[tier]]|{{{maxtier}}} }} }}
{{#if: {{{nativetier|}}}|{{infobox row|{{Tooltip|Less likely to appear on items<br/>of a lower [[tier]] than this.|Native tier}}|{{{nativetier}}} }} }}
{{#if: {{{nativetier|}}}|{{infobox row|{{Tooltip|Less likely to appear on items<br/>of 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 | R2 = Rare 2 | R3 = Rare 3}} }} }}
{{infobox row|Tinkerable|{{{tinkerable|no}}} }}
{{infobox row|Tinkerable|{{{tinkerable|no}}} }}
{{#ifeq: {{lc:{{{tinkerable|}}}}}| yes | {{infobox row|Tinker skill|[[{{Tinker check|{{{tinkertier}}} }}]] }} }}
{{#ifeq: {{lc:{{{tinkerable|}}}}}| yes | {{infobox row|Tinker skill|[[{{Tinker check|{{{tinkertier}}} }}]] }} }}
{{#ifeq: {{lc:{{{tinkerable|}}}}}| yes | {{infobox row|Bit required|{{Bits|{{{tinkertier|1}}}}} }} }}
{{#ifeq: {{lc:{{{tinkerable|}}}}}| yes | {{infobox row|Bit required|{{Bits|{{{tinkertier|1}}}}} }} }}
{{infobox row|{{Tooltip|Can appear spontaneously on an<br/>item you create with tinkering.|Autotinkerable}}|{{{canautotinker|yes}}} }}
{{infobox row|{{Tooltip|Can appear spontaneously on an<br/>item you create with tinkering.|Autotinkerable}}|{{lc:{{{canautotinker|yes}}}}} }}
{{infobox row|Value multiplier|{{{value|1.0}}}}}
{{infobox row|Value multiplier|{{{value|1.0}}}}}
{{#if: {{{difficulty|}}}|{{infobox row|[[Artifact difficulty|Difficulty]]|+{{{difficulty}}} }} }}
{{#if: {{{difficulty|}}}|{{infobox row|[[Artifact difficulty|Difficulty]]|+{{{difficulty}}} }} }}
Line 189: Line 189:
! rarity
! rarity
| rarity.
| rarity.
| character(C, U, R, M)
| character(C, U, R, R2, R3)
|-
|-
! id
! id
321

edits