Template:Mod: Difference between revisions
No edit summary |
(→Possible arguments: A few more links) |
||
(15 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
<indicator name="mod"><div style="font-size: | <indicator name="mod"><div style="font-size:70%; | ||
text-align:center; | text-align:center; | ||
float:right; | float:right; | ||
Line 10: | Line 10: | ||
padding-bottom:3px;"> | padding-bottom:3px;"> | ||
<div style="text-align:center; | <div style="text-align:center; | ||
display: inline-block; | |||
background:#FFFFff; | background:#FFFFff; | ||
padding-left: | padding-left:3px; | ||
padding-right: | padding-right:3px;">[[Gameplay Mods|Mod: ]]</br><abbr title="This page is about the following mod:">{{#switch:{{{1}}} | ||
{{#switch:{{{1}}} | |||
|Boats = [[:category:Boats|MOD Boats]] | |Boats = [[:category:Boats|MOD Boats]] | ||
|Folding Parts pack = [[:category: | |Crazy = [[:category:Crazy Cataclysm Mod|Crazy Cataclysm]] | ||
|#default={{{1|Mod}}} | |Folding Parts pack = [[:category:Folding Parts pack|MOD Folding]] | ||
}}{{#switch:{{{1}}} | |Generic Guns = [[:category:Generic Guns]] | ||
|PRM = [[:category:Pisskop's Rebalancing Mod|PKs Reimagining]] | |||
|Arcana = [[:category:Arcana and Magic Items mod|Arcana and Magic Items]] | |||
|Magiclysm = [[:category:Magiclysm|Magiclysm]] | |||
|Mythical Martial Arts = [[:category:Mythical Martial Arts|Mythical Martial Arts]] | |||
|Blazemod = [[:category:Vehicle Additions Pack|Vehicle Additions Pack]] | |||
|Aftershock = [[:category:Aftershock|Aftershock]] | |||
|#default={{{1|Mod name}}} | |||
}}<!-- | |||
Comment: this prints the secondary argument on a new line in the mod box. Allows for more specific comments than just the mod name above. | |||
-->{{#if:{{{2|}}}|<br />{{{2}}} }}<!-- | |||
--></abbr>{{#switch:{{{1}}} | |||
|Boats = [[category:Boats]] | |Boats = [[category:Boats]] | ||
|Folding Parts pack = [[ | |Crazy = [[category:Crazy Cataclysm Mod]] | ||
|Folding Parts pack = [[category:Folding Parts pack]] | |||
|Generic Guns = [[category:Generic Guns]] | |||
|PRM = [[category:Pisskop's Rebalancing Mod]] | |||
|Arcana = [[category:Arcana and Magic Items mod]] | |||
|Magiclysm = [[category:Magiclysm]] | |||
|Mythical Martial Arts = [[category:Mythical Martial Arts]] | |||
|Blazemod = [[category:Vehicle Additions Pack]] | |||
|Aftershock = [[Category:Aftershock]] | |||
|#default= | |#default= | ||
}}</div></div></indicator><noinclude> | }}</div></div></indicator><noinclude> | ||
Use this template to add an infobox describing the [[Gameplay Mods|mod]] in the upper right corner, and to automatically add the mods category page. | |||
==How to use== | |||
Just add | |||
<nowiki>{{Mod|Crazy}}</nowiki> | |||
to a page if you want to list it as being part of the Crazy Cataclysm mod. | |||
Please add the mod template to the bottom of the page, next to any category definitions and headers is preferred. And if the page has a noinclude part, try to put the template in there, otherwise other pages can falsely get the version template included. | |||
== Possible arguments == | |||
* 'Boats' - called 'Boats' in-game. | |||
* 'Crazy' - Crazy Cataclysm mod. | |||
* 'Folding Parts pack' - called 'Folding Parts pack'. | |||
* 'Generic Guns' - [[Generic Guns]], replaces the various types of guns with a smaller number of generic ones. | |||
* 'PRM' - Pisskop's Rebalancing Mod, called 'PK's Reimagining' in-game. <!-- picked PRM as that is what pisskop is using on pages, and it is nice and short --> | |||
* 'Arcana' - Arcana and Magic Items mod. | |||
* 'Magiclysm' - [[Magiclysm]], D&D like magic in C:DDA | |||
* 'Mythical Martial Arts' - [[Mythical Martial Arts (mod)|Mythical Martial Arts mod]]. | |||
* 'Blazemod' - Vehicle Additions Pack | |||
* 'Aftershock' - [[Aftershock]] | |||
=== Additional arguments === | |||
There is a secondary argument you can give, this text string will be printed under the mod tag inside the information box. Here is an example how it should be used: | |||
<nowiki>{{mod|Boats|Additional information about this page or modpack}}</nowiki> | |||
This additional argument should only be used sparingly. It is better to add information to the category page to which the link inside the mod box refers. | |||
==What not to do== | |||
Don't try to keep mod pages up to date for different versions. Always update the wiki for the latest [[Experimental|experimental version]]. Keeping a list of changes is no problem, as long as you use [[Template:InlineVer]] to reference to a version, and don't mention versions directly. | |||
Don't add multiple mod templates to one page. A page can only have one mod infobox. (and a ver infobox). | |||
== See also == | |||
* [[Template:InlineVer]], used to create a reference to a specific version without creating the infobox, and tagging the page as being of that version. | |||
* [[Template:Ver]], used to create an infobox with the page's version information. | |||
[[Category:Templates]]</noinclude> | [[Category:Templates]]</noinclude> |
Latest revision as of 01:25, 28 February 2021
Use this template to add an infobox describing the mod in the upper right corner, and to automatically add the mods category page.
How to use
Just add
{{Mod|Crazy}}
to a page if you want to list it as being part of the Crazy Cataclysm mod.
Please add the mod template to the bottom of the page, next to any category definitions and headers is preferred. And if the page has a noinclude part, try to put the template in there, otherwise other pages can falsely get the version template included.
Possible arguments
- 'Boats' - called 'Boats' in-game.
- 'Crazy' - Crazy Cataclysm mod.
- 'Folding Parts pack' - called 'Folding Parts pack'.
- 'Generic Guns' - Generic Guns, replaces the various types of guns with a smaller number of generic ones.
- 'PRM' - Pisskop's Rebalancing Mod, called 'PK's Reimagining' in-game.
- 'Arcana' - Arcana and Magic Items mod.
- 'Magiclysm' - Magiclysm, D&D like magic in C:DDA
- 'Mythical Martial Arts' - Mythical Martial Arts mod.
- 'Blazemod' - Vehicle Additions Pack
- 'Aftershock' - Aftershock
Additional arguments
There is a secondary argument you can give, this text string will be printed under the mod tag inside the information box. Here is an example how it should be used:
{{mod|Boats|Additional information about this page or modpack}}
This additional argument should only be used sparingly. It is better to add information to the category page to which the link inside the mod box refers.
What not to do
Don't try to keep mod pages up to date for different versions. Always update the wiki for the latest experimental version. Keeping a list of changes is no problem, as long as you use Template:InlineVer to reference to a version, and don't mention versions directly.
Don't add multiple mod templates to one page. A page can only have one mod infobox. (and a ver infobox).
See also
- Template:InlineVer, used to create a reference to a specific version without creating the infobox, and tagging the page as being of that version.
- Template:Ver, used to create an infobox with the page's version information.