Template:ModuleInfobox: Difference between revisions

Jump to navigation Jump to search
m
Default image and template data
m (Take out the All Modules category for now)
m (Default image and template data)
Line 1: Line 1:
<includeonly>
<includeonly>
{{Infobox
{{Infobox
| title = {{{name|Gamemode 4 Module}}}
  | title = {{{ name | Gamemode 4 Module}}}
| image = [[File:{{#setmainimage: {{{icon|gm4_logo.svg}}} }} |150px|link=]]
  | image = {{#ifexist: [[File:{{SUBPAGENAME}}]] | [[File:{{SUBPAGENAME}}.svg|150px|link=]] | [[File:{{#setmainimage: {{{icon|gm4_logo.svg}}} }} |150px|link=]] }}
| header1 = --------------------
  | header1 = --------------------
| 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:Metallurgy]] | }} }}
| 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:Metallurgy]] | }} }}
| Expansion = Expansion {{#if: {{{retired|}}} | | [[Category:Expansion Packs]] {{#ifeq: {{#sub:{{{name}}}|-6}} | Shamir | [[Category:Metallurgy]] | }} }}
| Reliant = Reliant {{#if: {{{retired|}}} | | [[Category:Reliant Modules]] {{#ifeq: {{#sub: {{{name}}} |-6}} | Shamir | [[Category:Metallurgy]] | }} }}
| Reliant = Reliant {{#if: {{{retired|}}} | | [[Category:Reliant Modules]] {{#ifeq: {{#sub: {{{name}}} |-6}} | Shamir | [[Category:Metallurgy]] | }} }}
| Stand Alone = Stand Alone {{#if: {{{retired|}}}|| {{#ifeq: {{#sub:{{{name}}} |-6}} | Shamir | [[Category:Metallurgy]] | }} [[Category:Stand Alone Modules]] }}
| Stand Alone = Stand Alone {{#if: {{{retired|}}}|| {{#ifeq: {{#sub:{{{name}}} |-6}} | Shamir | [[Category:Metallurgy]] | }} [[Category:Stand Alone Modules]] }}
|''unknown''
|''unknown''
}}
}}
| label3 = Created by
  | label3 = Created by
| data3 = {{{creator|''unknown''}}}
  | data3 = {{{creator|''unknown''}}}
| label4 = Last Updated by
  | label4 = Last Updated by
| data4 = {{{updater|}}}
  | data4 = {{{updater|}}}
| label5 = Required Modules
  | label5 = Required Modules
| data5 = {{{requires|}}}
  | data5 = {{{requires|}}}
| label6 = Complementary Modules
  | label6 = Complementary Modules
| data6 = {{{complementary|}}}
  | data6 = {{{complementary|}}}
| label7 = Incompatible Modules
  | label7 = Incompatible Modules
| data7 = {{{incompatible|}}}
  | data7 = {{{incompatible|}}}
| label8 = Compatible MC Versions
  | label8 = Compatible MC Versions
| data8 = {{#if: {{{retired|}}} | ''none'' | {{{versions|''unknown''}}} }}
  | data8 = {{#if: {{{retired|}}} | ''none'' | {{{versions|''unknown''}}} }}
}}</includeonly><noinclude>
}}</includeonly><noinclude>
{{Documentation}}
{{Documentation}}
</noinclude>
<templatedata>
{
"params": {
"name": {
"label": "Name",
"description": "Name",
"example": "Custom Crafters",
"type": "line",
"required": true
},
"icon": {
"label": "Icon",
"description": "Icon",
"example": "Custom Crafters.svg",
"type": "wiki-file-name",
"default": "gm4_logo.svg",
"suggested": true
},
"type": {
"label": "Type",
"description": "Module Type (Base, Expansion, Reliant, Discontinued)",
"example": "Expansion",
"type": "line"
},
"retired": {
"label": "Retired",
"description": "Retired module status",
"example": "true",
"type": "boolean"
},
"creator": {
"label": "Creator",
"description": "List of authors upon release/initial publish",
"example": "Bloo___, Misode, and SpecialBuilder32",
"type": "line",
"required": true
},
"updater": {
"label": "Updater",
"description": "List of everyone who has updated the module by a significant amount",
"example": "BluePsychoRanger",
"type": "line",
"suggested": true
},
"requires": {
"label": "Requires",
"description": "List of modules required for this module to function",
"example": "Custom Crafters",
"type": "line",
"suggested": true
},
"complementary": {
"label": "Complementary",
"description": "A list of complementary modules",
"example": "Master Crafting, Record Crafting",
"type": "line",
"suggested": true
},
"incompatible": {
"label": "Incompatible",
"description": "A list of incompatible modules",
"type": "line"
},
"versions": {
"label": "Versions",
"description": "The range of versions that this module has ever supported",
"example": "1.17+",
"type": "line",
"suggested": true
}
},
"paramOrder": [
"name",
"icon",
"type",
"creator",
"updater",
"requires",
"complementary",
"incompatible",
"versions",
"retired"
],
"description": "The infoxbox on the right of module pages"
}
</templatedata></noinclude>
Bureaucrats, Check users, emailconfirmed, Interface administrators, staff, Administrators, translation-admin, Widget editors
1,633

edits

Navigation menu