Template:Mod infobox: Difference between revisions
mNo edit summary |
→Usage: details for appversion |
||
| (27 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
<includeonly> | <includeonly>[[Category:Mods]][[Category:Mods made public during {{{madePublicOnYear|????}}}]][[Category:{{{category|Experimental}}} Mods]]</includeonly> | ||
{{Mod infobox main | |||
|name={{{name|{{FULLPAGENAME}}}}} | |||
|icon={{{icon|}}} | |||
|creatorToken={{{creatorToken|creatorToken}}} | |||
|creatorName={{{creatorName|creatorName}}} | |||
|madePublicOnYear={{{madePublicOnYear|????}}} | |||
|madePublicOnMonth={{{madePublicOnMonth|??}}} | |||
|madePublicOnDay={{{madePublicOnDay|??}}} | |||
|madePublicOnRef={{{madePublicOnRef|}}} | |||
|madePublicOnAlt={{{madePublicOnAlt|}}} | |||
|category={{{category|Experimental}}} | |||
|tags={{{tags|tags}}} | |||
|appversion={{{appversion|4.14.2}}} | |||
|source={{{source|https://example.com}}} | |||
|sourcehost={{{sourcehost|GitHub}}} | |||
|aiAssetUse={{{aiAssetUse|}}} | |||
|aiCodeUse={{{aiCodeUse|None or hand coded}}} | |||
}}<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 11: | Line 31: | ||
|madePublicOnDay=dd (defaults to ??) | |madePublicOnDay=dd (defaults to ??) | ||
|madePublicOnRef=(optional) | |madePublicOnRef=(optional) | ||
|category=(one of Promoted, Standard | |madePublicOnAlt=(optional) | ||
|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 | |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 27: | Line 66: | ||
|madePublicOnMonth=10 | |madePublicOnMonth=10 | ||
|madePublicOnDay=26 | |madePublicOnDay=26 | ||
|madePublicOnRef={{ref|https://www. | |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 34: | 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 | 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 47: | Line 86: | ||
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 name | Template:Mod infobox |
| Mod creator | creatorName |
| Made public on | ????-??-?? |
| Category | Experimental |
| Tags | tags |
| Requires War.app version | 4.14.2+ |
| Source code | GitHub |
| AI code use | None 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:
- Template:Mod infobox/row/AIAssetUse/none
- Template:Mod infobox/row/AIAssetUse/assist
- Template:Mod infobox/row/AIAssetUse/ai
For aiCodeUse, use one of:
- Template:Mod infobox/AICodeUse/none
- Template:Mod infobox/AICodeUse/handcoded
- Template:Mod infobox/AICodeUse/assist
- Template:Mod infobox/AICodeUse/vibes
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.