Template:Modlisting: Difference between revisions

From Step Mods | Change The Game
No edit summary
No edit summary
Line 1: Line 1:
<includeonly><div style="border-left:medium solid #0066ff; display:table; margin:0 1em 3em 1em; padding:0 0 0 1em;"><div style="display:table-header; margin-bottom:1em; vertical-align:middle;">{{#if:{{{flag|}}}|{{{flag|{{modlistFlag|{{{flag}}}}}}}}}} <span style="color:#dddddd; font-size:1.24em;">[{{{modURL}}} {{{modName}}}] {{#if:{{{modVersion|}}}|- {{{modVersion}}}&nbsp;|}}- by {{{modAuthor}}}</span></div>
<includeonly><div style="border-left:medium solid #0066ff; display:table; margin:0 1em 3em 1em; padding:0 0 0 1em;"><div style="display:table-header; margin-bottom:1em; vertical-align:middle;">{{#if:{{{flag}}}|{{{flag|{{modlistFlag|{{{flag}}}}}}}}}} <span style="color:#dddddd; font-size:1.24em;">[{{{modURL}}} {{{modName}}}] {{#if:{{{modVersion|}}}|- {{{modVersion}}}&nbsp;|}}- by {{{modAuthor}}}</span></div>
<div style="display:table-row;">
<div style="display:table-row;">
   <div style="display:table-cell;">'''Files to download:'''<br>{{#if:{{{MAIN|}}}|* <span style="color:{{{color|#dddddd}}}; font-weight:bold;">MAIN FILES</span> - {{#arraymap:{{{MAIN|}}}|;|%|''%''}} | }}{{#if:{{{UPDT|}}}|* <span style="color:{{{color|#dddddd}}}; font-weight:bold;">UPDATES</span> - {{#arraymap:{{{UPDT|}}}|;|%|''%''}} | }}{{#if:{{{ALTERNATIVE|}}}|* <span style="color:{{{color|#dddddd}}}; font-weight:bold;">ALTERNATIVE</span> - {{#arraymap:{{{ALTERNATIVE|}}}|;|%|''%''}} | }}{{#if:{{{ADDITIONAL|}}}|* <span style="color:{{{color|#dddddd}}}; font-weight:bold;">ADDITIONAL</span> - {{#arraymap:{{{ADDITIONAL|}}}|;|%|''%''}} | }}{{#if:{{{ADDITIONAL1|}}}|* <span style="color:{{{color|#dddddd}}}; font-weight:bold;">ADDITIONAL1</span> - {{#arraymap:{{{ADDITIONAL1|}}}|;|%|''%''}} | }}{{#if:{{{ADDITIONAL2|}}}|* <span style="color:{{{color|#dddddd}}}; font-weight:bold;">ADDITIONAL2</span> - {{#arraymap:{{{ADDITIONAL2|}}}|;|%|''%''}} | }}{{#if:{{{ADDITIONAL3|}}}|* <span style="color:{{{color|#dddddd}}}; font-weight:bold;">ADDITIONAL3</span> - {{#arraymap:{{{ADDITIONAL3|}}}|;|%|''%''}} | }}{{#if:{{{ADDITIONAL4|}}}|* <span style="color:{{{color|#dddddd}}}; font-weight:bold;">ADDITIONAL4</span> - {{#arraymap:{{{ADDITIONAL4|}}}|;|%|''%''}} | }}{{#if:{{{ADDITIONAL5|}}}|* <span style="color:{{{color|#dddddd}}}; font-weight:bold;">ADDITIONAL5</span> - {{#arraymap:{{{ADDITIONAL5|}}}|;|%|''%''}} | }}{{#if:{{{OPT|}}}|* <span style="color:{{{color|#dddddd}}}; font-weight:bold;">OPTIONAL FILES</span> - {{#arraymap:{{{OPT|}}}|;|%|''%''}} | }}{{#if:{{{MISC|}}}|* <span style="color:{{{color|#dddddd}}}; font-weight:bold;">MISCELLANEOUS</span> - {{#arraymap:{{{MISC|}}}|;|%|''%''}} | }}{{#if:{{{OLD|}}}|* <span style="color:{{{color|#dddddd}}}; font-weight:bold;">OLD VERSIONS</span> - {{#arraymap:{{{OLD|}}}|;|%|''%''}}| }}</div>
   <div style="display:table-cell;">'''Files to download:'''<br>{{#if:{{{MAIN|}}}|* <span style="color:{{{color|#dddddd}}}; font-weight:bold;">MAIN FILES</span> - {{#arraymap:{{{MAIN|}}}|;|%|''%''}} | }}{{#if:{{{UPDT|}}}|* <span style="color:{{{color|#dddddd}}}; font-weight:bold;">UPDATES</span> - {{#arraymap:{{{UPDT|}}}|;|%|''%''}} | }}{{#if:{{{ALTERNATIVE|}}}|* <span style="color:{{{color|#dddddd}}}; font-weight:bold;">ALTERNATIVE</span> - {{#arraymap:{{{ALTERNATIVE|}}}|;|%|''%''}} | }}{{#if:{{{ADDITIONAL|}}}|* <span style="color:{{{color|#dddddd}}}; font-weight:bold;">ADDITIONAL</span> - {{#arraymap:{{{ADDITIONAL|}}}|;|%|''%''}} | }}{{#if:{{{ADDITIONAL1|}}}|* <span style="color:{{{color|#dddddd}}}; font-weight:bold;">ADDITIONAL1</span> - {{#arraymap:{{{ADDITIONAL1|}}}|;|%|''%''}} | }}{{#if:{{{ADDITIONAL2|}}}|* <span style="color:{{{color|#dddddd}}}; font-weight:bold;">ADDITIONAL2</span> - {{#arraymap:{{{ADDITIONAL2|}}}|;|%|''%''}} | }}{{#if:{{{ADDITIONAL3|}}}|* <span style="color:{{{color|#dddddd}}}; font-weight:bold;">ADDITIONAL3</span> - {{#arraymap:{{{ADDITIONAL3|}}}|;|%|''%''}} | }}{{#if:{{{ADDITIONAL4|}}}|* <span style="color:{{{color|#dddddd}}}; font-weight:bold;">ADDITIONAL4</span> - {{#arraymap:{{{ADDITIONAL4|}}}|;|%|''%''}} | }}{{#if:{{{ADDITIONAL5|}}}|* <span style="color:{{{color|#dddddd}}}; font-weight:bold;">ADDITIONAL5</span> - {{#arraymap:{{{ADDITIONAL5|}}}|;|%|''%''}} | }}{{#if:{{{OPT|}}}|* <span style="color:{{{color|#dddddd}}}; font-weight:bold;">OPTIONAL FILES</span> - {{#arraymap:{{{OPT|}}}|;|%|''%''}} | }}{{#if:{{{MISC|}}}|* <span style="color:{{{color|#dddddd}}}; font-weight:bold;">MISCELLANEOUS</span> - {{#arraymap:{{{MISC|}}}|;|%|''%''}} | }}{{#if:{{{OLD|}}}|* <span style="color:{{{color|#dddddd}}}; font-weight:bold;">OLD VERSIONS</span> - {{#arraymap:{{{OLD|}}}|;|%|''%''}}| }}</div>

Revision as of 00:33, November 3, 2020


Template:Modlisting

Discussion:

Purpose & Usage

This template displays a stylized mod listing and instruction set on the page.

Required Parameters

modName
Defined: modName=textHere
Defines the text displayed for the mod's name within the template.
modURL
Defined: modURL=URLHere
Defines the URL to the mod's page. Uses external links, therefore, include the entire URL here.
modAuthor
Defined: modAuthor=authorName
Defines the textu used for the name of the mod's author.

Optional Parameters

modVersion
Defined: modVersion=versionHere
Defines the text used for calling out a specific version of a mod. If included, displays after modName and before modAuthor.
tag
Defaults to itself to enable the use of both pre-defined tags and custom tags.
Displays a stylized "tag" in from of the Mod's name. Users can enter any text to have the tag display that text. However, the following keywords are pre-defined and will default to a pre-defined style.
  • Dawnguard = DG
  • Hearthfire = HF
  • Dragonborn = DB
tagBG
Defined: tagBG=value
Default: #40804d
Defines the background color of the tag. Accepts any valid CSS for color.
tagGrad
Defined: tagGrad=value
Default: #7db388
Defines the gradient color the background will fade into (top to bottom). Accepts any valid CSS for color.

Examples

Code:
{{modlisting
|flag=Custom
|modName=My Mod
|modVersion=v1.2.3
|modURL=https://www.nexusmods.com/skyrimspecialedition/mods/31054
|modAuthor=TotallyAwesomeDude
|MAIN=FileNameHere
|OPT=theOptionalFileHere
|Description=This is the box that holds the mod description.}}


Result:
Warning-Logo.png

WARNING

This template is deprecated and should not be used. Consider using Template:Icon instead. If that template does not have an icon or decorated text as desired, PM one of the forum moderators or staff, who will work with you to add the site-compatible variants wanted
.{{{flag}}} My Mod - v1.2.3 - by TotallyAwesomeDude
Files to download:
  • MAIN FILES - FileNameHere
  • OPTIONAL FILES - theOptionalFileHere
Description

This is the box that holds the mod description.
Installation

Do this and that to install that mod.


Patch STEP CR Patch - v0.3.0b - by The STEP Team
Files to download:
  • MAIN FILES - STEP SE Guide - CR Patch
  • OPTIONAL FILES - STEP SE Guide - Lighting and Weather Patch
Description

These are the patches to the STEP SE Guide.


Related Templates