Template:Mod infobox main: Difference between revisions
Jump to navigation
Jump to search
changed default category from Experimental to Deleted |
mNo edit summary |
||
| (9 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
<div class="infobox">{{Mod infobox/row|Mod name|<strong>{{{name|{{FULLPAGENAME}}}}}</strong>}}{{Mod infobox/row| | <div class="infobox">{{Mod infobox/row|Mod name|<strong>{{{name|{{FULLPAGENAME}}}}}</strong>}}{{{icon|}}}{{Mod infobox/row|Mod creator|{{{1|[https://www.warzone.com/Profile?p={{{creatorToken|creatorToken}}} {{{creatorName|creatorName}}}]}}}}}{{Mod infobox/row|[[:Category:Mods made public by year|Made public on]]|{{Mod infobox/date|{{{madePublicOnYear|????}}}|{{{madePublicOnMonth|??}}}|{{{madePublicOnDay|??}}}|{{{madePublicOnRef|}}}}}{{{madePublicOnAlt|}}}}}{{Mod infobox/row|[[Mod Categories|Category]]|[[:Category:{{{category|Deleted}}} Mods|{{{category|Deleted}}}]]}}{{Mod infobox/row|[[:Category:Mods by tag|Tags]]|{{{tags|tags}}}}}{{Mod infobox/row|Requires Warzone version|{{{appversion|4.14.2}}}+}}{{Mod infobox/row|Source code|[{{{source|https://example.com}}} {{{sourcehost|GitHub}}}]}}</div><noinclude> | ||
== Usage == | == Usage == | ||
This template should only be used by [[Template:Mod infobox]] or [[:Category:Deleted Mods|deleted mods]]. | This template should only be used by [[Template:Mod infobox]] or [[:Category:Deleted Mods|deleted mods]]. [[Template:Deleted Mod]] should be used at the top of the page, before the template is included: <code><nowiki>{{Deleted Mod}}</nowiki></code>. | ||
<pre> | <pre> | ||
<nowiki> | <nowiki> | ||
| Line 12: | Line 12: | ||
|madePublicOnDay=dd (defaults to ??) | |madePublicOnDay=dd (defaults to ??) | ||
|madePublicOnRef=(optional) | |madePublicOnRef=(optional) | ||
|madePublicOnAlt=(optional) | |||
|category=(one of Promoted, Standard, Experimental or Deleted, defaults to Deleted) | |category=(one of Promoted, Standard, Experimental or Deleted, defaults to Deleted) | ||
|tags={{ModtagMain|Tag1}}<br>{{ModtagMain|Tag2}}<br>{{ModtagMain|Tag3}} | |tags={{ModtagMain|Tag1}}<br>{{ModtagMain|Tag2}}<br>{{ModtagMain|Tag3}} | ||
|appversion=(optional, defaults to 4.14.2) | |appversion=(optional, defaults to 4.14.2) | ||
|source=(GitHub | |source=url | ||
|sourcehost=(optional, defaults to GitHub) | |||
}} | }} | ||
</nowiki> | </nowiki> | ||
</pre></noinclude><noinclude>[[Category:Infobox Templates]]</noinclude> | </pre> | ||
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. | |||
</noinclude><noinclude>[[Category:Infobox Templates]]</noinclude> | |||
Latest revision as of 21:11, 19 April 2025
| Mod name | Template:Mod infobox main |
| Mod creator | creatorName |
| Made public on | ????-??-?? |
| Category | Deleted |
| Tags | tags |
| Requires Warzone version | 4.14.2+ |
| Source code | GitHub |
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)
}}
There is an optional icon field that appears underneath name. See Template:Mod infobox/row/icon for details.