Template:ModuleInfobox: Difference between revisions

m
Metallurgy Category handled by Module List template
m (Metallurgy will never be a non-base page, Shamirs will never be a base module)
m (Metallurgy Category handled by Module List template)
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: {{{name}}} | Metallurgy | [[Category:Metallurgy]] | }} }}
| Base = Base {{#if: {{{retired|}}} | | [[Category: All Modules]][[Category:Base Modules]] }}
| 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]] }}
| 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]] }}
| Stand Alone = Stand Alone {{#if: {{{retired|}}}| | [[Category: All Modules]] {{#ifeq: {{#sub:{{{name | {{SUBPAGENAME}} }}} |-6}} | Shamir | [[Category:Metallurgy]] | }} [[Category:Stand Alone Modules]] }}
| Stand Alone = Stand Alone {{#if: {{{retired|}}}| | [[Category: All Modules]] [[Category:Stand Alone Modules]] }}
|''unknown''
|''unknown''
}}
}}
Bureaucrats, Check users, emailconfirmed, Interface administrators, staff, Administrators, translation-admin, Widget editors
1,633

edits