Difference between revisions of "Template:ModList/Mod"
DynamicBits (talk | contribs) (Created) |
DynamicBits (talk | contribs) (Usage section now contains all supported mods, Description updated) |
||
Line 17: | Line 17: | ||
== Description == | == Description == | ||
− | This template returns the full name of a mod based on the argument passed. The only argument is the short name used after the ''-game'' switch when launching the dedicated server (or the base directory name located in ''.../Steam/SteamApps/common/Half-Life''). Any short name that is not in the template becomes ''Unknown''. | + | This template returns the full name of a mod based on the argument passed. The only argument is the short name used after the ''-game'' switch when launching the dedicated server (or the base directory name located in ''.../Steam/SteamApps/common/Half-Life/''). Any short name that is not in the template becomes ''Unknown''. |
− | This was primarily designed to be used with [[Template:ModList]], but it can be used elsewhere. | + | This was primarily designed to be used with [[Template:ModList]], but it can be used elsewhere. In most cases it would be shorter to just type out the full name. |
== Usage == | == Usage == | ||
+ | |||
+ | <code><nowiki>{{ModList/Mod|bshift}}</nowiki></code> | ||
+ | |||
+ | {{ModList/Mod|bshift}} | ||
<code><nowiki>{{ModList/Mod|cstrike}}</nowiki></code> | <code><nowiki>{{ModList/Mod|cstrike}}</nowiki></code> | ||
{{ModList/Mod|cstrike}} | {{ModList/Mod|cstrike}} | ||
+ | |||
+ | <code><nowiki>{{ModList/Mod|czero}}</nowiki></code> | ||
+ | |||
+ | {{ModList/Mod|czero}} | ||
+ | |||
+ | <code><nowiki>{{ModList/Mod|dmc}}</nowiki></code> | ||
+ | |||
+ | {{ModList/Mod|dmc}} | ||
+ | |||
+ | <code><nowiki>{{ModList/Mod|dod}}</nowiki></code> | ||
+ | |||
+ | {{ModList/Mod|dod}} | ||
+ | |||
+ | <code><nowiki>{{ModList/Mod|esf}}</nowiki></code> | ||
+ | |||
+ | {{ModList/Mod|esf}} | ||
+ | |||
+ | <code><nowiki>{{ModList/Mod|gearbox}}</nowiki></code> | ||
+ | |||
+ | {{ModList/Mod|gearbox}} | ||
+ | |||
+ | <code><nowiki>{{ModList/Mod|ns}}</nowiki></code> | ||
+ | |||
+ | {{ModList/Mod|ns}} | ||
+ | |||
+ | <code><nowiki>{{ModList/Mod|ricochet}}</nowiki></code> | ||
+ | |||
+ | {{ModList/Mod|ricochet}} | ||
+ | |||
+ | <code><nowiki>{{ModList/Mod|svencoop}}</nowiki></code> | ||
+ | |||
+ | {{ModList/Mod|svencoop}} | ||
+ | |||
+ | <code><nowiki>{{ModList/Mod|tfc}}</nowiki></code> | ||
+ | |||
+ | {{ModList/Mod|tfc}} | ||
+ | |||
+ | <code><nowiki>{{ModList/Mod|valve}}</nowiki></code> | ||
+ | |||
+ | {{ModList/Mod|valve}} | ||
+ | |||
+ | <code><nowiki>{{ModList/Mod|asdfghjk}}</nowiki></code> | ||
+ | |||
+ | {{ModList/Mod|asdfghjk}} | ||
</noinclude> | </noinclude> |
Latest revision as of 15:11, 2 December 2013
Description
This template returns the full name of a mod based on the argument passed. The only argument is the short name used after the -game switch when launching the dedicated server (or the base directory name located in .../Steam/SteamApps/common/Half-Life/). Any short name that is not in the template becomes Unknown.
This was primarily designed to be used with Template:ModList, but it can be used elsewhere. In most cases it would be shorter to just type out the full name.
Usage
{{ModList/Mod|bshift}}
Half-Life: Blue Shift
{{ModList/Mod|cstrike}}
Counter-Strike
{{ModList/Mod|czero}}
Counter-Strike: Condition Zero
{{ModList/Mod|dmc}}
Deathmatch Classic
{{ModList/Mod|dod}}
Day of Defeat
{{ModList/Mod|esf}}
Earth's Special Forces
{{ModList/Mod|gearbox}}
Half-Life: Opposing Force
{{ModList/Mod|ns}}
Natural Selection
{{ModList/Mod|ricochet}}
Ricochet
{{ModList/Mod|svencoop}}
Sven Co-op
{{ModList/Mod|tfc}}
Team Fortress Classic
{{ModList/Mod|valve}}
Half-Life Deathmatch
{{ModList/Mod|asdfghjk}}
Unknown