Template:Mod infobox: Difference between revisions

From Warzone Wiki
Jump to navigation Jump to search
DanWL60 (talk | contribs)
m #if: not working, revisiting later to add categories when appropriate
DanWL60 (talk | contribs)
m using mod infobox main
Line 1: Line 1:
<includeonly>[[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>[[Category:Mods]][[Category:Mods made public during {{{madePublicOnYear|????}}}]]</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 certain categories will not be automatically included. Non-public mods should not be listed in categories.
== Usage ==
== Usage ==
<pre>
<pre>
Line 11: Line 25:
|madePublicOnDay=dd (defaults to ??)
|madePublicOnDay=dd (defaults to ??)
|madePublicOnRef=(optional)
|madePublicOnRef=(optional)
|category=(one of Promoted, Standard, Experimental or Deleted, defaults to Experimental)
|category=(one of Promoted, Standard or Experimental, defaults to Experimental)
|tags={{modtag|Tag1}}<br>{{modtag|Tag2}}<br>{{modtag|Tag3}}
|tags={{modtag|Tag1}}<br>{{modtag|Tag2}}<br>{{modtag|Tag3}}
|appversion=(optional, defaults to 4.14.2)
|appversion=(optional, defaults to 4.14.2)
Line 46: Line 60:
</pre>
</pre>
Do not use links to them in the <code>madePublicOnRef</code> field.
Do not use links to them in the <code>madePublicOnRef</code> field.
Note that [[:Category:Deleted Mods|deleted mods]] should use <code>ModtagMain</code> instead of <code>modtag</code>. This prevents the mod being included in tag categories. Only public mods should be listed in those categories.
</noinclude><noinclude>[[Category:Infobox Templates]]</noinclude>
</noinclude><noinclude>[[Category:Infobox Templates]]</noinclude>

Revision as of 20:55, 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]

For giving info about available public mods. Deleted mods should use Template:Mod infobox main, as certain categories will not be automatically included. Non-public mods should not be listed in categories.

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.