Template:Modlisting: Difference between revisions
From Step Mods | Change The Game
TechAngel85 (talk | contribs) |
TechAngel85 (talk | contribs) No edit summary |
||
Line 49: | Line 49: | ||
; tagBG | ; tagBG | ||
: Defined: <code>tagBG=''value''</code> | : Defined: <code>tagBG=''value''</code> | ||
: Default: ''#'' | : Default: ''#40804d'' | ||
: Defines the background color of the tag. Accepts any valid CSS for color. | : Defines the background color of the tag. Accepts any valid CSS for color. | ||
; tagGrad | ; tagGrad | ||
: Defined: <code>tagGrad=''value''</code> | : Defined: <code>tagGrad=''value''</code> | ||
: Default: ''#'' | : Default: ''#7db388'' | ||
: Defines the gradient color the background will fade into (top to bottom). Accepts any valid CSS for color. | : Defines the gradient color the background will fade into (top to bottom). Accepts any valid CSS for color. | ||
Revision as of 22:57, 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|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