Template:Modlisting: Difference between revisions
From Step Mods | Change The Game
TechAngel85 (talk | contribs) No edit summary |
TechAngel85 (talk | contribs) |
||
Line 54: | Line 54: | ||
; Main, Update, Alt, Add, Add1, Add2, Add3, Add4, Add5, Opt, Misc, Old | ; Main, Update, Alt, Add, Add1, Add2, Add3, Add4, Add5, Opt, Misc, Old | ||
: Defined: <code>Parameter=''file; file2; file3''</code> | : Defined: <code>Parameter=''file; file2; file3''</code> | ||
: Each of the parameters above defines a heading for file listing. The value is plain text that displays as the list. Separate items with: <span style="font-size:large;"><code> | : Each of the parameters above defines a heading for file listing. The value is plain text that displays as the list. Separate items with: <span style="font-size:large;"><code>+++ </code></span> | ||
==== Optional Info Boxes ==== | ==== Optional Info Boxes ==== | ||
; MiniDL, Description, Installation, Information, Additional, iTable | ; MiniDL, Description, Installation, Information, Additional, iTable | ||
: Defined: <code>Parameter=''textHere''</code> | : Defined: <code>Parameter=''textHere''</code> | ||
: Each of the parameters above defines and displays an information box on the page below the file listings. The value is plain text that displays as the list that can be formatted. | : Each of the parameters above defines and displays an information box on the page below the file listings. The value is plain text that displays as the list that can be formatted. Separating items within a call with <span style="font-size:large;"><code>+++ </code></span> will produce multiple boxes of the same type. | ||
== Examples == | == Examples == |
Revision as of 06:48, 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
- barColor
- Defined:
barColor=value
- Defined: #0066ff
- Defines the color of the bar to the left of the listing. Accepts any valid CSS for color.
- flag
- Defined:
flag=textHere
- Displays a stylized "flag" in from of the Mod's name. Users can enter any keyword or custom text to have the flag display that text. See the modlist template for a list of pre-defined flags.
- Skip this parameter if using custom flags (see below)
- customFlag
- Defined:
customFlag=''{{Page/PathtoPage|parameter}}''
- Allows the display of customized "flags" linked from another page. The value of the field should include a call to a custom template page. See this page for an example of how this can be done.
- 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.
Listing Files
- Main, Update, Alt, Add, Add1, Add2, Add3, Add4, Add5, Opt, Misc, Old
- Defined:
Parameter=file; file2; file3
- Each of the parameters above defines a heading for file listing. The value is plain text that displays as the list. Separate items with:
+++
Optional Info Boxes
- MiniDL, Description, Installation, Information, Additional, iTable
- Defined:
Parameter=textHere
- Each of the parameters above defines and displays an information box on the page below the file listings. The value is plain text that displays as the list that can be formatted. Separating items within a call with
+++
will produce multiple boxes of the same type.
Examples
- Code:
{{modlisting |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:
My Mod - v1.2.3 - by TotallyAwesomeDude
Files to download:
- MAIN FILES - FileNameHere
- OPTIONAL FILES - theOptionalFileHere
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 wantedFiles to download:
- MAIN FILES - STEP SE Guide - CR Patch
- OPTIONAL FILES - STEP SE Guide - Lighting and Weather Patch
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 wantedFiles to download:
- MAIN FILES - STEP SE Guide - CR Patch
- OPTIONAL FILES - STEP SE Guide - Lighting and Weather Patch