Template:Mod table/doc

From MC Public Wiki
Revision as of 17:02, 14 October 2011 by Admin (talk | contribs) (1 revision)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

{{#vardefine: nodoc | {{{nodoc}}} }}{{#vardefine: baddoc | {{{baddoc}}} }}

Template-info.png Documentation

NOTE: This is totally broken at the moment, I'm not sure if dynamic pages can be created here. It seems that the #DPL thing isn't installed here...

This template should outputs a table of Mods, with data gathered from the usage of Template:Mod on those mods' pages.

A simple example that would show all mods that are in Category:Environment Mods

{{ Mod table
| category = Environemnt Mods
| show author = y
}}

Full list of usable parameters:

{{ Mod table
| category = 
| category2 =
| category3 =
| notcategory =
| titlematch =
| notitlematch =
| show author =
| show forum =
| show version =
}}

Parameters

category, category2, category3
Optional. Selects only the mods from the given categories. Titlematch can match multiple titles if they are separated by broken bar (¦) characters, which can be inserted with {{subst:broken bar}}.
notcategory
Optional. Filters out mods from the given categories.
show author
Optional. Show/hide the author column. If shown, backgrounds are no longer colored by profession. Possible values: y, n (default: n)
show forum
Optional. Show/hide the forum column. Possible values: y, n (default: n)
show version
Optional. Show/hide the version column. Possible values: y, n (default: n)
inner format
Optional. The subpagename of the template used in formatting the bulk of each row. (default: "row format", which specifies Template:Mod/row format)
color scheme

This is the documentation page, it should be transcluded into the main template page. See Template:Doc for more information.