Template:Mod infobox: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
split madePublicOn into year, month and day. auto include categories |
||
Line 1: | Line 1: | ||
<div class="infobox">{{Mod infobox/row|Mod name|<strong>{{{name|{{FULLPAGENAME}}}}}</strong>}}{{Mod infobox/row|Creator|{{{1|[https://www.warzone.com/Profile?p={{{creatorToken|creatorToken}}} {{{creatorName|creatorName}}}]}}}}}{{Mod infobox/row|Made public on|{{{ | <div class="infobox">{{Mod infobox/row|Mod name|<strong>{{{name|{{FULLPAGENAME}}}}}</strong>}}{{Mod infobox/row|Creator|{{{1|[https://www.warzone.com/Profile?p={{{creatorToken|creatorToken}}} {{{creatorName|creatorName}}}]}}}}}{{Mod infobox/row|Made public on|{{{madePublicOnYear|????}}}-{{{madePublicOnMonth|??}}}-{{{madePublicOnDay|??}}} {{{madePublicOnRef|}}}}}{{Mod infobox/row|[[Mods#Mod_Categories|Category]]|{{{category|Experimental}}}}}{{Mod infobox/row|Tags|{{{tags|tags}}}}}{{Mod infobox/row|Runs on Warzone version|{{{appversion|4.14.2}}}+}}{{Mod infobox/row|Source code|[{{{source|}}} GitHub]}}</div><includeonly>[[Category:Mods]][[Category:{{{category}}} Mods]][[Category:Mods made public during {{{madePublicOnYear}}}]]</includeonly><noinclude> | ||
== Usage == | == Usage == | ||
<pre> | <pre> | ||
Line 7: | Line 7: | ||
|creatorToken=(the ?p=<numbers> on a player URL) | |creatorToken=(the ?p=<numbers> on a player URL) | ||
|creatorName=(name of player who created the mod) | |creatorName=(name of player who created the mod) | ||
|madePublicOnYear=yyyy | |||
|madePublicOnMonth=mm | |||
|madePublicOnDay=dd | |||
|madePublicOnRef= | |||
|madePublicOn=(date when the mod was made public, use yyyy-mm-dd format) | |madePublicOn=(date when the mod was made public, use yyyy-mm-dd format) | ||
|category=(optional, defaults to Experimental) | |category=(optional, defaults to Experimental) |
Revision as of 10:21, 23 June 2024
Mod name | Template:Mod infobox |
Creator | creatorName |
Made public on | ????-??-?? |
Category | Experimental |
Tags | tags |
Runs on Warzone version | 4.14.2+ |
Source code | [ GitHub] |
Usage
{{Mod infobox |name=(name of mod, defaults to page name) |creatorToken=(the ?p=<numbers> on a player URL) |creatorName=(name of player who created the mod) |madePublicOnYear=yyyy |madePublicOnMonth=mm |madePublicOnDay=dd |madePublicOnRef= |madePublicOn=(date when the mod was made public, use yyyy-mm-dd format) |category=(optional, defaults to Experimental) |tags=#Tag1<br>#Tag2<br>#Tag3 |appversion=(optional, defaults to 4.14.2) |source=(GitHub url) }}
Tank example:
{{Mod infobox |creatorToken=62456969 |creatorName=Fizzer |tags=#Diplomacy<br>#Strategic<br>Commerce |source=https://github.com/FizzerWL/ExampleMods/tree/master/TanksMod }}