Template:Mod infobox

(split madePublicOn into year, month and day. auto include categories)
m
 
(27 intermediate revisions by one user not shown)
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|{{{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>
+
<includeonly>[[Category:Mods]][[Category:Mods made public during {{{madePublicOnYear|????}}}]][[Category:{{{category|Experimental}}} Mods]]</includeonly>
 +
{{Mod infobox main
 +
|name={{{name|{{FULLPAGENAME}}}}}
 +
|creatorToken={{{creatorToken|creatorToken}}}
 +
|creatorName={{{creatorName|creatorName}}}
 +
|madePublicOnYear={{{madePublicOnYear|????}}}
 +
|madePublicOnMonth={{{madePublicOnMonth|??}}}
 +
|madePublicOnDay={{{madePublicOnDay|??}}}
 +
|madePublicOnRef={{{madePublicOnRef|}}}
 +
|category={{{category|Experimental}}}
 +
|tags={{{tags|tags}}}
 +
|appversion={{{appversion|4.14.2}}}
 +
|source={{{source|}}}
 +
}}<noinclude>
 +
For giving info about available public mods. [[:Category:Deleted Mods|Deleted mods]] should use [[Template:Mod infobox main]], as categories will not be automatically included using that template, unlike this one.
 
== Usage ==
 
== Usage ==
 
<pre>
 
<pre>
Line 7: Line 21:
 
|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
+
|madePublicOnYear=yyyy (forced)
|madePublicOnMonth=mm
+
|madePublicOnMonth=mm (defaults to ??)
|madePublicOnDay=dd
+
|madePublicOnDay=dd (defaults to ??)
|madePublicOnRef=
+
|madePublicOnRef=(optional)
|madePublicOn=(date when the mod was made public, use yyyy-mm-dd format)
+
|category=(one of Promoted, Standard or Experimental, defaults to Experimental)
|category=(optional, defaults to Experimental)
+
|tags={{modtag|Tag1}}<br>{{modtag|Tag2}}<br>{{modtag|Tag3}}
|tags=#Tag1<br>#Tag2<br>#Tag3
+
 
|appversion=(optional, defaults to 4.14.2)
 
|appversion=(optional, defaults to 4.14.2)
 
|source=(GitHub url)
 
|source=(GitHub url)
Line 25: Line 38:
 
|creatorToken=62456969
 
|creatorToken=62456969
 
|creatorName=Fizzer
 
|creatorName=Fizzer
|tags=#Diplomacy<br>#Strategic<br>Commerce
+
|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
 
|source=https://github.com/FizzerWL/ExampleMods/tree/master/TanksMod
 
}}
 
}}
 
</nowiki>
 
</nowiki>
 
</pre>
 
</pre>
 +
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 <code>madePublicOn</code> fields:
 +
<pre>
 +
<nowiki>
 +
<!-- 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 -->
 +
</nowiki>
 +
</pre>
 +
Do not use links to them in the <code>madePublicOnRef</code> field.
 
</noinclude><noinclude>[[Category:Infobox Templates]]</noinclude>
 
</noinclude><noinclude>[[Category:Infobox Templates]]</noinclude>

Latest revision as of 22:05, 1 October 2024

For giving info about available public mods. Deleted mods should use Template:Mod infobox main, as categories will not be automatically included using that template, unlike this one.

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 or Experimental, 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.