Template:Mod infobox: Difference between revisions

From Warzone Wiki
Jump to navigation Jump to search
DanWL60 (talk | contribs)
mNo edit summary
DanWL60 (talk | contribs)
add sourcehost encase other source code services are supported on warzone, defaults to GitHub
 
(49 intermediate revisions by the same user not shown)
Line 1: Line 1:
<div class="infobox">
<includeonly>[[Category:Mods]][[Category:Mods made public during {{{madePublicOnYear|????}}}]][[Category:{{{category|Experimental}}} Mods]]</includeonly>
{| style="width: 100%"
{{Mod infobox main
|-
|name={{{name|{{FULLPAGENAME}}}}}
| {{Mod infobox/row|Name|[[{{{name|}}}]]}}
|creatorToken={{{creatorToken|creatorToken}}}
|-
|creatorName={{{creatorName|creatorName}}}
| {{Mod infobox/row|Creator|{{{1|[https://www.warzone.com/Profile?p={{{creatorToken|creatorToken}}} <nowiki>{{{creatorName|}}}</nowiki>] }}} }}
|madePublicOnYear={{{madePublicOnYear|????}}}
|-
|madePublicOnMonth={{{madePublicOnMonth|??}}}
| {{Mod infobox/row|[[Mods#Mod_Categories|Category]]|{{{category|Experimental}}}}}
|madePublicOnDay={{{madePublicOnDay|??}}}
|-
|madePublicOnRef={{{madePublicOnRef|}}}
| {{Mod infobox/row|Tags|{{{tags|tags}}}}}
|category={{{category|Experimental}}}
|-
|tags={{{tags|tags}}}
| {{Mod infobox/row|Runs on Warzone version|{{{appversion|3.18}}}+}}<!-- mods added to unity client on version 3.18 -->
|appversion={{{appversion|4.14.2}}}
|-
|source={{{source|https://example.com}}}
| {{Mod infobox/row|Source code|[{{{source|}}} GitHub]}}
|sourcehost={{{sourcehost|GitHub}}}
|}
}}<noinclude>
</div>
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 ==
<noinclude>[[Category:Infobox Templates]]</noinclude>
<pre>
<nowiki>
{{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=url
|sourcehost=(optional, defaults to GitHub)
}}
</nowiki>
</pre>
[[Tanks|Tank]] example:
<pre>
<nowiki>
{{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
}}
</nowiki>
</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>

Latest revision as of 14:07, 6 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 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=url
|sourcehost=(optional, defaults to GitHub)
}}

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.