Difference between revisions of "Template:Mod Template"

From Nexus Mods Wiki
Jump to: navigation, search
m (Protected "Template:Mod Template" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)))
m (Added misc/old/update sections to the template.)
Line 7: Line 7:
 
<div class="mw-collapsible-content">''[{{{url|https://wiki.nexusmods.com}}} {{{name|Unamed Mod}}}] {{#if:{{{ver|}}} |- {{{ver}}}|}} {{#if:{{{author|}}}|- by {{{author}}}|}}''
 
<div class="mw-collapsible-content">''[{{{url|https://wiki.nexusmods.com}}} {{{name|Unamed Mod}}}] {{#if:{{{ver|}}} |- {{{ver}}}|}} {{#if:{{{author|}}}|- by {{{author}}}|}}''
 
{{#if: {{{mainfiles|}}} |'''Main Files'''
 
{{#if: {{{mainfiles|}}} |'''Main Files'''
{{{mainfiles}}}|}}{{#if: {{{optionalfiles|}}}|<br>'''Optional Files'''
+
{{{mainfiles}}}|}}{{#if: {{{updatefiles|}}}|<br>'''Update Files'''
{{{optionalfiles}}}|}}
+
{{{updatefiles}}}|}}{{#if: {{{optionalfiles|}}}|<br>'''Optional Files'''
 +
{{{optionalfiles}}}|}}{{#if: {{{miscfiles|}}}|<br>'''Miscellaneous Files'''
 +
{{{optionalfiles}}}|}}{{#if: {{{oldfiles|}}}|<br>'''Old Files'''
 +
{{{oldfiles}}}|}}
 
{{#if: {{{desc|}}} | <br>
 
{{#if: {{{desc|}}} | <br>
 
'''Description:''' {{{desc}}}
 
'''Description:''' {{{desc}}}
Line 36: Line 39:
 
*mainfiles = A list of main files required
 
*mainfiles = A list of main files required
 
*optionalfiles = A list of optional files required
 
*optionalfiles = A list of optional files required
 +
*updatefiles = A list of update files required
 +
*miscfiles = A list of misc files required
 +
*oldfiles = A list of old files required
 
*desc = Description of the mod
 
*desc = Description of the mod
 
*fomod = Insert your FOMOD Template here
 
*fomod = Insert your FOMOD Template here
Line 92: Line 98:
 
}}
 
}}
  
A mod entry using all field, but set to auto-hide on page load.
+
A mod entry using all fields, but set to auto-hide on page load.
 
<pre>{{Mod_Template  
 
<pre>{{Mod_Template  
 
|name=Test Mod|url=http://www.nexusmods.com|ver=v1.0|author=Pickysaurus
 
|name=Test Mod|url=http://www.nexusmods.com|ver=v1.0|author=Pickysaurus
 +
|updatefiles=
 +
*Update 1
 +
*Update 2
 
|mainfiles=
 
|mainfiles=
*File1
+
*Main File 1
*File2
 
 
|optionalfiles=
 
|optionalfiles=
*File3O
+
*Optional file 1
*File4o
+
*Optional file 2
 +
|miscfile=
 +
*Misc1
 +
*Misc2
 +
|oldfiles=
 +
*Outdated file 1
 
|desc=The critically acclaimed quest mod, "The Forgotten City" by TheModernStoryTeller, has made it's way to Skyrim Special Edition on Nintendo Switch!|hq=y|optional=y|tool=y|edit=y|merged=y
 
|desc=The critically acclaimed quest mod, "The Forgotten City" by TheModernStoryTeller, has made it's way to Skyrim Special Edition on Nintendo Switch!|hq=y|optional=y|tool=y|edit=y|merged=y
 
|rules=loot
 
|rules=loot

Revision as of 10:23, 15 April 2019


Usage

This is a convenient way to display information about a mod in your loadout. If you are inserting a large number of these template and hit the MediaWiki limitations, you can insert as {{subst:Mod_Template}} to replace the template with the raw formatting. This is also useful if you want to make changes outside the scope of the template.

Parameters

Parameters are case sensitive.

  • name = Name of the mod e.g. Legacy of the Dragonborn REQUIRED
  • url = Link to download REQUIRED
  • ver = Version e.g. v1.0
  • author = Who made the mod e.g. DarkLadyLexy
  • mainfiles = A list of main files required
  • optionalfiles = A list of optional files required
  • updatefiles = A list of update files required
  • miscfiles = A list of misc files required
  • oldfiles = A list of old files required
  • desc = Description of the mod
  • fomod = Insert your FOMOD Template here
  • special = Any extra instructions for installing this mod.
  • rules = LOOT/Vortex rules
  • bash = Bash tags
  • remind = Add a reminder to the end of this entry
  • hide = Set to yes to hide by default
  • labels = add wikicode for custom labels here, recommended using {{subst:Label}}


The tags per mod can also be included by adding the following tags

  • TOOL
    = tool=y
  • OPTIONAL
    = optional=y
  • HQ
    = hq=y
  • EDIT
    = edit=y
  • MERGED
    = merged=y

Examples

A basic mod entry:

{{Mod_Template
|name=Immersive Buckets
|url=http://nexusmods.com
|ver=v1.0
|author=Pickysaurus
|mainfiles=*Immersive Buckets Main|desc=Probably the most fun you'll ever have with buckets in this game.
}}

[Immersive Buckets]

Immersive Buckets - v1.0 - by Pickysaurus

Main Files

  • Immersive Buckets Main


Description: Probably the most fun you'll ever have with buckets in this game.


A basic mod entry with tags and an optional file:

{{Mod_Template 
|name=Immersive Buckets
|url=http://nexusmods.com
|ver=v1.0
|author=Pickysaurus
|mainfiles=*Immersive Buckets Main
|optionalfiles=*8K replacer
|desc=Probably the most fun you'll ever have with buckets in this game.
|optional=y|hq=y
}}

[Immersive Buckets]

OPTIONAL
HQ
Immersive Buckets - v1.0 - by Pickysaurus

Main Files

  • Immersive Buckets Main

Optional Files

  • 8K replacer


Description: Probably the most fun you'll ever have with buckets in this game.


A mod entry using all fields, but set to auto-hide on page load.

{{Mod_Template 
|name=Test Mod|url=http://www.nexusmods.com|ver=v1.0|author=Pickysaurus
|updatefiles=
*Update 1
*Update 2
|mainfiles=
*Main File 1 
|optionalfiles=
*Optional file 1
*Optional file 2
|miscfile=
*Misc1
*Misc2
|oldfiles=
*Outdated file 1
|desc=The critically acclaimed quest mod, "The Forgotten City" by TheModernStoryTeller, has made it's way to Skyrim Special Edition on Nintendo Switch!|hq=y|optional=y|tool=y|edit=y|merged=y
|rules=loot
|bash=bash
|remind=remember milk
|fomod={{FOMOD Instructions
|file=aMidianBorn Armors
|{{FomodPage
|Page title
|{{Fieldset
|Optionlist
|bullet=yes|Option1; Option2; Option3; Option4}}
|button=yes}} {{FomodPage
|Page title
|{{Fieldset
|Optionlist
|bullet=yes|Option1; Option2; Option3; Option4}}
{{Fieldset
|Optionlist
|checkmark=yes|Option1; Option2; Option3; Option4}}
|button=yes
|buttonText=Install}} }}
|hide=yes
}}

[Test Mod]

TOOL
OPTIONAL
HQ
EDIT
MERGED
Test Mod - v1.0 - by Pickysaurus

Main Files

  • File1
  • File2

Optional Files

  • File3O
  • File4o


Description: The critically acclaimed quest mod, "The Forgotten City" by TheModernStoryTeller, has made it's way to Skyrim Special Edition on Nintendo Switch!

FOMOD Instructions
aMidianBorn Armors
Page title
Page title
Optionlist
Optionlist

RadioButton.png Option1

RadioButton.png Option2

RadioButton.png Option3

RadioButton.png Option4

Next
Page title
Page title
Optionlist
Optionlist

RadioButton.png Option1

RadioButton.png Option2

RadioButton.png Option3

RadioButton.png Option4

Optionlist
Optionlist

CheckBox.png Option1

CheckBox.png Option2

CheckBox.png Option3

CheckBox.png Option4

Install

Vortex/LOOT metadata update required: Info-Icon.png
loot
BASH tag update required:
bash
REMINDER: remember milk


Minimal testing:

[Unamed Mod]