Template:ModuleInfobox: Difference between revisions
m (Let's try an onlyinclude) |
m (Take out the All Modules category for now) |
||
Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
{{Infobox | {{Infobox | ||
| title = {{{name|Gamemode 4 Module}}} | | title = {{{name|Gamemode 4 Module}}} | ||
Line 7: | Line 7: | ||
| 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: | | 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: | | 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: | | Stand Alone = Stand Alone {{#if: {{{retired|}}}|| {{#ifeq: {{#sub:{{{name}}} |-6}} | Shamir | [[Category:Metallurgy]] | }} [[Category:Stand Alone Modules]] }} | ||
|''unknown'' | |''unknown'' | ||
}} | }} |
Revision as of 21:05, 5 June 2021
[[File:{{{icon}}}]] | |
Module Type | {{{type}}} |
---|---|
Created by | creator |
Last Updated by | updater |
Required Modules | {{{requires}}} |
Complementary Modules | {{{complementary}}} |
Incompatible Modules | {{{incompatible}}} |
Compatible MC Versions | {{{versions}}} |
-------------------- | |
---|---|
Module Type | unknown |
Created by | unknown |
Compatible MC Versions | unknown |
This is an example Module Infobox, showing all available parameters.
Below that is the default Infobox, if no parameters are set.
The title, type, creator, and versions parameters should always be set.
"title" - name of the module
"type" - module type (Stand Alone, Base, Expansion, Reliant)
"creator" - original creator of the module
"versions" - the MC versions that the latest module version works with
The "icon" parameter should refer to the image file stored on the wiki. Icons should be named the same as the module name in snake_case (e.g. custom_crafters.png)
If the module doesn't have an image, do not fill in the "icon" parameter. It will default to the GM4 logo if unset.
The "updater" parameter is used only if the latest version of the module was modified by a specific user such that performance or mechanics were changed. This parameter should be the same as displayed on the module download page.
The "requires" parameter should be set if the module is a reliant module or expansion pack, and should link to the page of the base module.
The "complementary" parameter should be set to whatever modules are listed on the download page as a complementary module. Any listed module should be linked to their respective page.
The "incompatible" parameter should be set only if there are modules that conflict with other modules, though this case is very rare, and is more of a remnant before Gamemode 4 became heavily focused on compatibility.
The above documentation is transcluded from Template:ModuleInfobox/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |