Template:Mod infobox

From Warzone Wiki
(Difference between revisions)
Jump to: navigation, search
(testing if ifexpr works, only include mods and made public on categories if category isnt Deleted)
m
Line 1: Line 1:
<includeonly>{{#ifexpr: {{{category|}}} != "Deleted" | [[Category:Mods]][[Category:Mods made public during {{{madePublicOnYear|????}}}]]}}[[Category:{{{category|Experimental}}} Mods]]</includeonly><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|[[:Category:Mods made public by year|Made public on]]|[[:Category:Mods made public during {{{madePublicOnYear|????}}}|{{{madePublicOnYear|????}}}]]-{{{madePublicOnMonth|??}}}-{{{madePublicOnDay|??}}} {{{madePublicOnRef|}}}}}{{Mod infobox/row|[[Mod Categories|Category]]|[[:Category:{{{category|Experimental}}} Mods|{{{category|Experimental}}}]]}}{{Mod infobox/row|[[:Category:Mods by tag|Tags]]|{{{tags|tags}}}}}{{Mod infobox/row|Runs on Warzone version|{{{appversion|4.14.2}}}+}}{{Mod infobox/row|Source code|[{{{source|}}} GitHub]}}</div><noinclude>
+
<includeonly>{{#ifexpr: {{{category|}}} != Deleted | [[Category:Mods]][[Category:Mods made public during {{{madePublicOnYear|????}}}]]}}[[Category:{{{category|Experimental}}} Mods]]</includeonly><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|[[:Category:Mods made public by year|Made public on]]|[[:Category:Mods made public during {{{madePublicOnYear|????}}}|{{{madePublicOnYear|????}}}]]-{{{madePublicOnMonth|??}}}-{{{madePublicOnDay|??}}} {{{madePublicOnRef|}}}}}{{Mod infobox/row|[[Mod Categories|Category]]|[[:Category:{{{category|Experimental}}} Mods|{{{category|Experimental}}}]]}}{{Mod infobox/row|[[:Category:Mods by tag|Tags]]|{{{tags|tags}}}}}{{Mod infobox/row|Runs on Warzone version|{{{appversion|4.14.2}}}+}}{{Mod infobox/row|Source code|[{{{source|}}} GitHub]}}</div><noinclude>
 
== Usage ==
 
== Usage ==
 
<pre>
 
<pre>

Revision as of 12:17, 1 October 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 (forced)
|madePublicOnMonth=mm (defaults to ??)
|madePublicOnDay=dd (defaults to ??)
|madePublicOnRef=(optional)
|category=(one of Promoted, Standard, Experimental or Deleted, defaults to Experimental)
|tags={{modtag|Tag1}}<br>{{modtag|Tag2}}<br>{{modtag|Tag3}}
|appversion=(optional, defaults to 4.14.2)
|source=(GitHub url)
}}

Tank example:


{{Mod infobox
|creatorToken=62456969
|creatorName=Fizzer
|madePublicOnYear=2022
|madePublicOnMonth=10
|madePublicOnDay=26
|madePublicOnRef={{ref|https://www.warzone.com/blog/index.php/2022/10/update-5-21-tanks-mod-improvements-commander-improvements/}}
|tags={{modtag|Diplomacy}}<br>{{modtag|Strategic}}<br>{{modtag|Commerce}}
|appversion=5.24.1
|source=https://github.com/FizzerWL/ExampleMods/tree/master/TanksMod
}}

If the mod was announced public but there isn't a way to verify it using means which require having certain accounts or access to other places outside of Warzone such as Discord servers, you should still include the date but include a comment such as one of the below beneath the madePublicOn fields:


<!-- assuming mods made by fizzer are instantly public -->
<!-- mod discord archives finished-mod-list -->
<!-- mod discord finished-mod-list -->
<!-- mod discord community-hangout-chat -->
<!-- mod discord public-modders-chat -->
<!-- mod discord archives mod-suggestions -->

Do not use links to them in the madePublicOnRef field.

Note that deleted mods should use ModtagMain instead of modtag. This prevents the mod being included in tag categories. Only public mods should be listed in those categories.

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox