Difference between revisions of "Template:Mod Template"
Pickysaurus (talk | contribs) m |
Pickysaurus (talk | contribs) m |
||
(9 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
− | <div class="mw-collapsible {{#if: {{{hide|}}} |mw-collapsed|}}" style="background:#393939; margin:10px 0; padding:2px 5px; border-left:5px solid #e3a853;">===<div style="font-weight:700; font-size:1.7em; padding:5px 0; color:#e3a853;">[{{{name|Unamed Mod}}}]</div | + | <div class="mw-collapsible {{#if: {{{hide|}}} |mw-collapsed|}}" style="background:#393939; margin:10px 0; padding:2px 5px; border-left:5px solid #e3a853;"> |
+ | ===<div style="font-weight:700; font-size:1.7em; padding:5px 0; color:#e3a853;">[{{{name|Unamed Mod}}}]</div | ||
>=== | >=== | ||
{{#if: {{{tool|}}} {{{optional|}}} {{{hq|}}} {{{edit|}}} {{{merged|}}} |{{#if: {{{tool|}}} |{{Label|TOOL|colour=#da8e35}}|}}{{#if: {{{optional|}}} |{{Label|OPTIONAL|colour=#8197ec}}|}} | {{#if: {{{tool|}}} {{{optional|}}} {{{hq|}}} {{{edit|}}} {{{merged|}}} |{{#if: {{{tool|}}} |{{Label|TOOL|colour=#da8e35}}|}}{{#if: {{{optional|}}} |{{Label|OPTIONAL|colour=#8197ec}}|}} | ||
Line 6: | 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> |
− | {{{optionalfiles}}}|}} | + | |
+ | '''Update Files''' | ||
+ | {{{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 35: | Line 47: | ||
*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 91: | Line 106: | ||
}} | }} | ||
− | A mod entry using all | + | 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= | ||
− | * | + | *Main File 1 |
− | |||
|optionalfiles= | |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 | |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 | ||
Line 126: | Line 148: | ||
{{Mod_Template | {{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= | ||
− | * | + | *Main File 1 |
− | |||
|optionalfiles= | |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 | |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 | ||
Line 154: | Line 183: | ||
|buttonText=Install}} }} | |buttonText=Install}} }} | ||
|hide=yes | |hide=yes | ||
+ | |special= Lots of text here to test the cutoff and overflow of this field. Lots of text here to test the cutoff and overflow of this field. Lots of text here to test the cutoff and overflow of this field. Lots of text here to test the cutoff and overflow of this field. Lots of text here to test the cutoff and overflow of this field. Lots of text here to test the cutoff and overflow of this field. Lots of text here to test the cutoff and overflow of this field. Lots of text here to test the cutoff and overflow of this field. Lots of text here to test the cutoff and overflow of this field. Lots of text here to test the cutoff and overflow of this field. Lots of text here to test the cutoff and overflow of this field. Lots of text here to test the cutoff and overflow of this field. | ||
}} | }} | ||
Latest revision as of 14:27, 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]
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]
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]
Main Files
- Main File 1
Update Files
- Update 1
- Update 2
Optional Files
- Optional file 1
- Optional file 2
Old Files
- Outdated file 1
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 |
Special Instructions:
Lots of text here to test the cutoff and overflow of this field. Lots of text here to test the cutoff and overflow of this field. Lots of text here to test the cutoff and overflow of this field. Lots of text here to test the cutoff and overflow of this field. Lots of text here to test the cutoff and overflow of this field. Lots of text here to test the cutoff and overflow of this field. Lots of text here to test the cutoff and overflow of this field. Lots of text here to test the cutoff and overflow of this field. Lots of text here to test the cutoff and overflow of this field. Lots of text here to test the cutoff and overflow of this field. Lots of text here to test the cutoff and overflow of this field. Lots of text here to test the cutoff and overflow of this field.
Minimal testing: