Template:ModuleInfobox: Difference between revisions

Jump to navigation Jump to search
m
Retired to become version instead of true, deprecated use of `name` and `icon` parameters
m (Trying this again)
m (Retired to become version instead of true, deprecated use of `name` and `icon` parameters)
Line 2: Line 2:
{{Infobox
{{Infobox
   | title = {{{ name | {{SUBPAGENAME}}}}}
   | title = {{{ name | {{SUBPAGENAME}}}}}
   | image = {{{ image | {{#ifexist: File:{{SUBPAGENAME}}.svg | [[File:{{SUBPAGENAME}}.svg|150px|link=]] | {{#ifexist: File:{{SUBPAGENAME}}.png | [[File:{{SUBPAGENAME}}.png|150px|link]] | [[File:{{#setmainimage: {{{icon|gm4_logo.svg}}} }} |150px|link=]] }} }} }}}
   | image = {{{ icon | {{#ifexist: File:{{SUBPAGENAME}}.svg | [[File:{{SUBPAGENAME}}.svg|150px|link=]] | {{#ifexist: File:{{SUBPAGENAME}}.png | [[File:{{SUBPAGENAME}}.png|150px|link]] | [[File:{{#setmainimage: {{{icon|gm4_logo.svg}}} }} |150px|link=]] }} }} }}}
   | header1 = --------------------
   | header1 = --------------------
   | label2 = Module Type
   | label2 = Module Type
Line 23: Line 23:
   | data7 = {{{incompatible|}}}
   | data7 = {{{incompatible|}}}
   | label8 = Compatible MC Versions
   | label8 = Compatible MC Versions
   | data8 = {{#if: {{{retired|}}} | ''none'' | {{{versions|''unknown''}}} }}
   | data8 = {{#if: {{{retired|}}} | {{#ifeq: {{{retired|}}} | true | ''none'' | Retired since {{{retired}}} }} | {{{versions|''unknown''}}} }}
}}</includeonly><noinclude>
}}</includeonly><noinclude>
{{Documentation}}
{{Documentation}}
Line 34: Line 34:
"example": "Custom Crafters",
"example": "Custom Crafters",
"type": "line",
"type": "line",
"required": true
"deprecated": "Will automatically enter based on page name"
},
},
"icon": {
"icon": {
Line 42: Line 42:
"type": "wiki-file-name",
"type": "wiki-file-name",
"default": "gm4_logo.svg",
"default": "gm4_logo.svg",
"suggested": true
"deprecated": "Upload a .svg or .png titled the module name, with title case on every word"
},
},
"type": {
"type": {
Line 48: Line 48:
"description": "Module Type (Base, Expansion, Reliant, Discontinued)",
"description": "Module Type (Base, Expansion, Reliant, Discontinued)",
"example": "Expansion",
"example": "Expansion",
"type": "line"
"type": "line",
"suggested": true
},
},
"retired": {
"retired": {
"label": "Retired",
"label": "Retired",
"description": "Retired module status",
"description": "Module retirement version",
"example": "true",
"example": "1.14",
"type": "boolean"
"type": "line"
},
},
"creator": {
"creator": {
Line 61: Line 62:
"example": "Bloo___, Misode, and SpecialBuilder32",
"example": "Bloo___, Misode, and SpecialBuilder32",
"type": "line",
"type": "line",
"required": true
"suggested": true
},
},
"updater": {
"updater": {
Bureaucrats, Check users, emailconfirmed, Interface administrators, staff, Administrators, translation-admin, Widget editors
1,659

edits

Navigation menu