Template:Mod infobox: Difference between revisions

From War.app Wiki
Jump to navigation Jump to search
DanWL60 (talk | contribs)
mNo edit summary
DanWL60 (talk | contribs)
→‎Usage: details for appversion
 
(23 intermediate revisions by 2 users not shown)
Line 2: Line 2:
{{Mod infobox main
{{Mod infobox main
|name={{{name|{{FULLPAGENAME}}}}}
|name={{{name|{{FULLPAGENAME}}}}}
|icon={{{icon|}}}
|creatorToken={{{creatorToken|creatorToken}}}
|creatorToken={{{creatorToken|creatorToken}}}
|creatorName={{{creatorName|creatorName}}}
|creatorName={{{creatorName|creatorName}}}
Line 8: Line 9:
|madePublicOnDay={{{madePublicOnDay|??}}}
|madePublicOnDay={{{madePublicOnDay|??}}}
|madePublicOnRef={{{madePublicOnRef|}}}
|madePublicOnRef={{{madePublicOnRef|}}}
|madePublicOnAlt={{{madePublicOnAlt|}}}
|category={{{category|Experimental}}}
|category={{{category|Experimental}}}
|tags={{{tags|tags}}}
|tags={{{tags|tags}}}
|appversion={{{appversion|4.14.2}}}
|appversion={{{appversion|4.14.2}}}
|source={{{source|}}}
|source={{{source|https://example.com}}}
|sourcehost={{{sourcehost|GitHub}}}
|aiAssetUse={{{aiAssetUse|}}}
|aiCodeUse={{{aiCodeUse|None or hand coded}}}
}}<noinclude>
}}<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.
 
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 25: Line 31:
|madePublicOnDay=dd (defaults to ??)
|madePublicOnDay=dd (defaults to ??)
|madePublicOnRef=(optional)
|madePublicOnRef=(optional)
|madePublicOnAlt=(optional)
|category=(one of Promoted, Standard or Experimental, 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)
|source=(GitHub url)
|source=url
|sourcehost=(optional, defaults to GitHub)
|aiCodeUse=(defaults to ?)
}}
}}
</nowiki>
</nowiki>
</pre>
</pre>
For <code><nowiki>appversion</nowiki></code>, check against [[Mod API Reference#Newer API features]].
There is an optional <code><nowiki>icon</nowiki></code> field that appears underneath <code><nowiki>name</nowiki></code>. See [[Template:Mod infobox/row/icon]] for details.
There is an optional <code><nowiki>aiAssetUse</nowiki></code> field that appears underneath <code><nowiki>sourcehost</nowiki></code>. If a mod supplies front-facing (such as icons, card images or special unit images), use one of:
* [[Template:Mod infobox/row/AIAssetUse/none]]
* [[Template:Mod infobox/row/AIAssetUse/assist]]
* [[Template:Mod infobox/row/AIAssetUse/ai]]
For <code><nowiki>aiCodeUse</nowiki></code>, use one of:
* [[Template:Mod infobox/AICodeUse/none]]
* [[Template:Mod infobox/AICodeUse/handcoded]]
* [[Template:Mod infobox/AICodeUse/assist]]
* [[Template:Mod infobox/AICodeUse/vibes]]
[[Tanks|Tank]] example:
[[Tanks|Tank]] example:
<pre>
<pre>
Line 41: Line 66:
|madePublicOnMonth=10
|madePublicOnMonth=10
|madePublicOnDay=26
|madePublicOnDay=26
|madePublicOnRef={{ref|https://www.warzone.com/blog/index.php/2022/10/update-5-21-tanks-mod-improvements-commander-improvements/}}
|madePublicOnRef={{ref|https://www.war.app/blog/index.php/2022/10/update-5-21-tanks-mod-improvements-commander-improvements/}}
|tags={{modtag|Diplomacy}}<br>{{modtag|Strategic}}<br>{{modtag|Commerce}}
|tags={{modtag|Diplomacy}}<br>{{modtag|Strategic}}<br>{{modtag|Commerce}}
|appversion=5.24.1
|appversion=5.24.1
Line 48: Line 73:
</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:
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 War.app 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>
<pre>
<nowiki>
<nowiki>
Line 60: Line 85:
</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.
<code>madePublicOnAlt</code> is for if a mod was made not public after being made public and then made public again. Add dates using [[Template:Mod infobox/date]].
</noinclude><noinclude>[[Category:Infobox Templates]]</noinclude>
</noinclude><noinclude>[[Category:Infobox Templates]]</noinclude>

Latest revision as of 15:48, 30 November 2026

Mod nameTemplate:Mod infobox
Mod creatorcreatorName
Made public on????-??-??
CategoryExperimental
Tagstags
Requires War.app version4.14.2+
Source codeGitHub
AI code useNone or hand coded

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)
|madePublicOnAlt=(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)
|aiCodeUse=(defaults to ?)
}}

For appversion, check against Mod API Reference#Newer API features.

There is an optional icon field that appears underneath name. See Template:Mod infobox/row/icon for details.

There is an optional aiAssetUse field that appears underneath sourcehost. If a mod supplies front-facing (such as icons, card images or special unit images), use one of:

For aiCodeUse, use one of:

Tank example:


{{Mod infobox
|creatorToken=62456969
|creatorName=Fizzer
|madePublicOnYear=2022
|madePublicOnMonth=10
|madePublicOnDay=26
|madePublicOnRef={{ref|https://www.war.app/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 War.app 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.

madePublicOnAlt is for if a mod was made not public after being made public and then made public again. Add dates using Template:Mod infobox/date.