Template:Mod infobox main: Difference between revisions

From Warzone Wiki
Jump to navigation Jump to search
DanWL60 (talk | contribs)
mNo edit summary
DanWL60 (talk | contribs)
add sourcehost encase other source code services are supported on warzone, defaults to GitHub
 
(2 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|Creator|{{{1|[https://www.warzone.com/Profile?p={{{creatorToken|creatorToken}}} {{{creatorName|creatorName}}}]}}}}}{{Mod infobox/row|[[:Category:Mods made public by year|Made public on]]|[[:Category:Mods made public during {{{madePublicOnYear|????}}}|{{{madePublicOnYear|????}}}]]-{{{madePublicOnMonth|??}}}-{{{madePublicOnDay|??}}} {{{madePublicOnRef|}}}}}{{Mod infobox/row|[[Mod Categories|Category]]|[[:Category:{{{category|Experimental}}} Mods|{{{category|Experimental}}}]]}}{{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|}}} GitHub]}}</div><noinclude>
<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]]|[[:Category:Mods made public during {{{madePublicOnYear|????}}}|{{{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]].
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)
|category=(one of Promoted, Standard, Experimental or Deleted, defaults to Experimental)
|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 url)
|source=url
|sourcehost=(optional, defaults to GitHub)
}}
}}
</nowiki>
</nowiki>
</pre></noinclude><noinclude>[[Category:Infobox Templates]]</noinclude>
</pre></noinclude><noinclude>[[Category:Infobox Templates]]</noinclude>

Latest revision as of 14:04, 6 October 2024

Mod name Template:Mod infobox main
Creator creatorName
Made public on ????-??-??
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)
}}