Template:ModuleInfobox: Difference between revisions

From Official Gamemode 4 Wiki
Jump to navigation Jump to search
m (Reverted edits by Epyon (talk) to last revision by BluePsychoRanger)
Tag: Rollback
(I did it.)
Line 4: Line 4:
|header1 = --------------------
|header1 = --------------------
|label2 = Module Type
|label2 = Module Type
|data2 = {{{type|''unknown''}}}
|data2 = {{#switch:{{{type|}}}
| Base = Base {{#ifeq:{{{retired}}}||[[Category:All Modules]][[Category:Base Modules]]}}
| Expansion = Expansion {{#ifeq:{{{retired}}}||[[Category:All Modules]][[Category:Expansion Packs]]}}
| Reliant = Reliant {{#ifeq:{{{retired}}}||[[Category:All Modules]][[Category:Reliant Modules]]}}
| Stand Alone = Stand Alone {{#ifeq:{{{retired}}}||[[Category:All Modules]][[Category:Stand Alone Modules]]}}
|''unknown''}}
|label3 = Created by
|label3 = Created by
|data3 = {{{creator|''unknown''}}}
|data3 = {{{creator|''unknown''}}}
Line 17: Line 22:
|label8 = Compatible MC Versions
|label8 = Compatible MC Versions
|data8 = {{{versions|''unknown''}}}
|data8 = {{{versions|''unknown''}}}
|label9 = Module Status
|data9 = {{#if:{{{retired|}}}|Retired|}}
}}</includeonly><noinclude>
}}</includeonly><noinclude>
{{Documentation}}
{{Documentation}}
</noinclude>
</noinclude>

Revision as of 06:01, 12 May 2021

Template documentation[view] [edit] [history] [purge]
{{{name}}}
[[File:{{{icon}}}]]

Module Type{{{type}}}
Created bycreator
Last Updated byupdater
Required Modules{{{requires}}}
Complementary Modules{{{complementary}}}
Incompatible Modules{{{incompatible}}}
Compatible MC Versions{{{versions}}}
Gamemode 4 Module
--------------------
Module Typeunknown
Created byunknown
Compatible MC Versionsunknown

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.