Template:ModuleInfobox: Difference between revisions

Jump to navigation Jump to search
m
Let's try an onlyinclude
m (double curly brace)
m (Let's try an onlyinclude)
Line 1: Line 1:
<includeonly>{{#if: {{{retired|}}} | [[Category: Retired Modules]] | [[Category: All Modules]] }}
<includeonly>{{#if: {{{retired|}}} | [[Category: Retired Modules]] | <onlyinclude>[[Category: All Modules]]</onlyinclude> }}
{{Infobox
{{Infobox
| title = {{{name|Gamemode 4 Module}}}
| title = {{{name|Gamemode 4 Module}}}
Line 6: Line 6:
| label2 = Module Type
| label2 = Module Type
| data2 = {{ #switch: {{{type|}}}
| data2 = {{ #switch: {{{type|}}}
| Base = Base {{#if: {{{retired|}}} | | [[Category:Base Modules]] {{#ifeq: {{#sub:{{{name}}} |-6}} | Shamir | [[Category:Shamirs]] | }} }}
| Base = Base {{#if: {{{retired|}}} | | [[Category:Base Modules]] {{#ifeq: {{#sub:{{{name}}} |-6}} | Shamir | [[Category:Metallurgy]] | }} }}
| Expansion = Expansion {{#if: {{{retired|}}} | | [[Category:Expansion Packs]] {{#ifeq:{{#sub:{{{name}}}|-6}}|Shamir|[[Category:Shamirs]] | }} }}
| Expansion = Expansion {{#if: {{{retired|}}} | | [[Category:Expansion Packs]] {{#ifeq:{{#sub:{{{name}}}|-6}}|Shamir|[[Category:Shamirs]] | }} }}
| Reliant = Reliant {{#if: {{{retired|}}} | | [[Category:Reliant Modules]] {{#ifeq: {{#sub: {{{name}}} |-6}} | Shamir | [[Category:Shamirs]] | }} }}
| Reliant = Reliant {{#if: {{{retired|}}} | | [[Category:Reliant Modules]] {{#ifeq: {{#sub: {{{name}}} |-6}} | Shamir | [[Category:Shamirs]] | }} }}
Bureaucrats, Check users, emailconfirmed, Interface administrators, staff, Administrators, translation-admin, Widget editors
1,659

edits

Navigation menu