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; padding-left:1em;"><div style="display:table-header; color:#dddddd; font-size:large;">{{#if:{{{tag|}}}|{{#switch:{{{tag|}}}
<includeonly><div style="border-left:medium solid #0066ff; display:table; padding-left:1em;"><div style="display:table-header; color:#dddddd; font-size:2em;">{{#if:{{{tag|}}}|{{#switch:{{{tag|}}}
|Dawnguard=DG
|Dawnguard=DG
|Hearthfire=HF
|Hearthfire=HF

Revision as of 21:34, 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

Examples

Code: {{modlisting|modName=My Mod|modURL=notvalidURL|modAuthor=TotallyAwesomeDude|MAIN=FileNameHere|OPT=theOptionalFileHere|Description=This is the box that holds the mod description.}}
Result:
[notvalidURL My Mod] - by TotallyAwesomeDude
  • MAIN FILES - FileNameHere
  • OPTIONAL FILES - theOptionalFileHere
Description

This is the box that holds the mod description.


{{#if:| | }

Related Templates