Template:ModuleInfobox: Difference between revisions

m
Metallurgy will never be a non-base page, Shamirs will never be a base module
m (So many checks)
m (Metallurgy will never be a non-base page, Shamirs will never be a base module)
Line 6: Line 6:
   | label2 = Module Type
   | label2 = Module Type
   | data2 = {{ #switch: {{{type|}}}
   | data2 = {{ #switch: {{{type|}}}
| Base = Base {{#if: {{{retired|}}} | | [[Category: All Modules]][[Category:Base Modules]] {{#ifeq: {{#sub:{{{name | {{SUBPAGENAME}} }}} |-6}} | Shamir | [[Category:Metallurgy]] | }} }}
| Base = Base {{#if: {{{retired|}}} | | [[Category: All Modules]][[Category:Base Modules]] {{#ifeq: {{{name}}} | Metallurgy | [[Category:Metallurgy]] | }} }}
| Expansion = Expansion {{#if: {{{retired|}}} | | [[Category: All Modules]][[Category:Expansion Packs]] {{#ifeq: {{#sub:{{{name | {{SUBPAGENAME}} }}}|-6}} | Shamir | [[Category:Metallurgy]] | }} }}
| Expansion = Expansion {{#if: {{{retired|}}} | | [[Category: All Modules]][[Category:Expansion Packs]] {{#ifeq: {{#sub:{{{name | {{SUBPAGENAME}} }}}|-6}} | Shamir | [[Category:Metallurgy]] | }} }}
| Reliant = Reliant {{#if: {{{retired|}}} | | [[Category: All Modules]][[Category:Reliant Modules]] {{#ifeq: {{#sub: {{{name | {{SUBPAGENAME}}}}} |-6}} | Shamir | [[Category:Metallurgy]] | }} }}
| Reliant = Reliant {{#if: {{{retired|}}} | | [[Category: All Modules]][[Category:Reliant Modules]] {{#ifeq: {{#sub: {{{name | {{SUBPAGENAME}}}}} |-6}} | Shamir | [[Category:Metallurgy]] | }} }}
Bureaucrats, Check users, emailconfirmed, Interface administrators, staff, Administrators, translation-admin, Widget editors
1,659

edits