Template:Modlisting: Difference between revisions
From Step Mods | Change The Game
TechAngel85 (talk | contribs) No edit summary |
TechAngel85 (talk | contribs) No edit summary |
||
Line 59: | Line 59: | ||
== Examples == | == Examples == | ||
: '''Code:''' <pre> | : '''Code:''' | ||
<pre><nowiki> | |||
{{modlisting | {{modlisting | ||
|tag=Custom | |tag=Custom | ||
Line 67: | Line 68: | ||
|MAIN=FileNameHere | |MAIN=FileNameHere | ||
|OPT=theOptionalFileHere | |OPT=theOptionalFileHere | ||
|Description=This is the box that holds the mod description.}}</pre><br> | |Description=This is the box that holds the mod description.}}</nowiki></pre><br> | ||
: '''Result:''' | : '''Result:''' |
Revision as of 23:01, November 2, 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 |tag=Custom |modName=My Mod |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:
Custom
My Mod - by TotallyAwesomeDude- MAIN FILES - FileNameHere
- OPTIONAL FILES - theOptionalFileHere