Template:Mod infobox main: Difference between revisions
Jump to navigation
Jump to search
add sourcehost encase other source code services are supported on warzone, defaults to GitHub |
use mod infobox/date |
||
Line 1: | Line 1: | ||
<div class="infobox">{{Mod infobox/row|Mod name|<strong>{{{name|{{FULLPAGENAME}}}}}</strong>}}{{Mod infobox/row|Creator|{{{1|[https://www.warzone.com/Profile?p={{{creatorToken|creatorToken}}} {{{creatorName|creatorName}}}]}}}}}{{Mod infobox/row|[[:Category:Mods made public by year|Made public on]]| | <div class="infobox">{{Mod infobox/row|Mod name|<strong>{{{name|{{FULLPAGENAME}}}}}</strong>}}{{Mod infobox/row|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}}}}}{{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|Runs on 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]]. [[Template:Deleted Mod]] should be used at the top of the page, before the template is included: <code><nowiki>{{Deleted Mod}}</nowiki></code>. | 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>. | ||
Line 12: | Line 12: | ||
|madePublicOnDay=dd (defaults to ??) | |madePublicOnDay=dd (defaults to ??) | ||
|madePublicOnRef=(optional) | |madePublicOnRef=(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}} |
Revision as of 15:14, 8 February 2025
Mod name | Template:Mod infobox main |
Creator | creatorName |
Category | Deleted |
Tags | tags |
Runs on 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) |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) }}