Template:Mod infobox main: Difference between revisions
Jump to navigation
Jump to search
aiCodeUse should default to "None or hand coded". there's clear signs for the other categories |
→Usage: details for appversion |
||
| Line 22: | Line 22: | ||
</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>icon</nowiki></code> field that appears underneath <code><nowiki>name</nowiki></code>. See [[Template:Mod infobox/row/icon]] for details. | ||
Latest revision as of 15:49, 30 November 2026
| Mod name | Template:Mod infobox main |
| Mod creator | creatorName |
| Made public on | ????-??-?? |
| Category | Deleted |
| Tags | tags |
| Requires War.app version | 4.14.2+ |
| Source code | GitHub |
| AI code use | None or hand coded |
Usage
This template should only be used by Template:Mod infobox or deleted mods. Template:Deleted Mod should be used at the top of the page, before the template is included: {{Deleted Mod}}.
{{Mod infobox main
|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, Experimental or Deleted, defaults to Deleted)
|tags={{ModtagMain|Tag1}}<br>{{ModtagMain|Tag2}}<br>{{ModtagMain|Tag3}}
|appversion=(optional, defaults to 4.14.2)
|source=url
|sourcehost=(optional, defaults to GitHub)
|aiCodeUse=(defaults to None or hand coded)
}}
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: