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