Template:Modlisting: Difference between revisions

From Step Mods | Change The Game
No edit summary
No edit summary
Line 3: Line 3:
|Hearthfire=HF
|Hearthfire=HF
|Dragonborn=DB
|Dragonborn=DB
|{{{tag}}}}}<div style="background-color:{{{tagbg|#78c888}}}; background:-webkit-linear-gradient({{{tagBG|#78c888}}}, {{{tagGrad|#a3ccab}}}); background:-moz-linear-gradient({{{tagBG|#78c888}}}, {{{tagGrad|#a3ccab}}}); background:-o-linear-gradient({{{tagBG|#78c888}}}, {{{tagGrad|#a3ccab}}}); background:linear-gradient({{{tagBG|#78c888}}}, {{{tagGrad|#a3ccab}}}); border-radius:2px; display:inline-block; margin-right0.5em; padding:0 0.5em; text-align:center; vertical-align:middle;"><span style="font-size:1.1em; font-weight:bold; color:{{{tagFont|#dddddd}}};">''{{{tag}}}''</span></div>| |}} [{{{modURL}}} {{{modName}}}]{{#if:{{{modVersion|}}}| - {{{modVersion}}}|}} - by {{{modAuthor}}}</div>
|{{{tag}}}}}<div style="background-color:{{{tagbg|#78c888}}}; background:-webkit-linear-gradient({{{tagBG|#78c888}}}, {{{tagGrad|#a3ccab}}}); background:-moz-linear-gradient({{{tagBG|#78c888}}}, {{{tagGrad|#a3ccab}}}); background:-o-linear-gradient({{{tagBG|#78c888}}}, {{{tagGrad|#a3ccab}}}); background:linear-gradient({{{tagBG|#78c888}}}, {{{tagGrad|#a3ccab}}}); border-radius:2px; display:inline-block; margin-right0.5em; padding:0 0.5em; text-align:center; vertical-align:middle;"><span style="font-size:1.1em; font-weight:bold; color:{{{tagFont|#dddddd}}};">''{{{tag}}}''</span></div>|{{{tag}}}}} [{{{modURL}}} {{{modName}}}]{{#if:{{{modVersion|}}}| - {{{modVersion}}}|}} - by {{{modAuthor}}}</div>
<div style="display:table-row;">
<div style="display:table-row;">
   <div style="display:table-cell;">{{#if:{{{MAIN|}}}|* <span style="color:{{{color|#dddddd}}}; font-weight:bold;">MAIN FILES</span> - {{#arraymap:{{{MAIN|}}}|;|%|''%''}} | }}{{#if:{{{UPDT|}}}|* <span style="color:{{{color|#dddddd}}}; font-weight:bold;">UPDATES</span> - {{#arraymap:{{{UPDT|}}}|;|%|''%''}} | }}{{#if:{{{ALTERNATIVE|}}}|* <span style="color:{{{color|#dddddd}}}; font-weight:bold;">ALTERNATIVE</span> - {{#arraymap:{{{ALTERNATIVE|}}}|;|%|''%''}} | }}{{#if:{{{ADDITIONAL|}}}|* <span style="color:{{{color|#dddddd}}}; font-weight:bold;">ADDITIONAL</span> - {{#arraymap:{{{ADDITIONAL|}}}|;|%|''%''}} | }}{{#if:{{{ADDITIONAL1|}}}|* <span style="color:{{{color|#dddddd}}}; font-weight:bold;">ADDITIONAL1</span> - {{#arraymap:{{{ADDITIONAL1|}}}|;|%|''%''}} | }}{{#if:{{{ADDITIONAL2|}}}|* <span style="color:{{{color|#dddddd}}}; font-weight:bold;">ADDITIONAL2</span> - {{#arraymap:{{{ADDITIONAL2|}}}|;|%|''%''}} | }}{{#if:{{{ADDITIONAL3|}}}|* <span style="color:{{{color|#dddddd}}}; font-weight:bold;">ADDITIONAL3</span> - {{#arraymap:{{{ADDITIONAL3|}}}|;|%|''%''}} | }}{{#if:{{{ADDITIONAL4|}}}|* <span style="color:{{{color|#dddddd}}}; font-weight:bold;">ADDITIONAL4</span> - {{#arraymap:{{{ADDITIONAL4|}}}|;|%|''%''}} | }}{{#if:{{{ADDITIONAL5|}}}|* <span style="color:{{{color|#dddddd}}}; font-weight:bold;">ADDITIONAL5</span> - {{#arraymap:{{{ADDITIONAL5|}}}|;|%|''%''}} | }}{{#if:{{{OPT|}}}|* <span style="color:{{{color|#dddddd}}}; font-weight:bold;">OPTIONAL FILES</span> - {{#arraymap:{{{OPT|}}}|;|%|''%''}} | }}{{#if:{{{MISC|}}}|* <span style="color:{{{color|#dddddd}}}; font-weight:bold;">MISCELLANEOUS</span> - {{#arraymap:{{{MISC|}}}|;|%|''%''}} | }}{{#if:{{{OLD|}}}|* <span style="color:{{{color|#dddddd}}}; font-weight:bold;">OLD VERSIONS</span> - {{#arraymap:{{{OLD|}}}|;|%|''%''}}| }}</div>
   <div style="display:table-cell;">{{#if:{{{MAIN|}}}|* <span style="color:{{{color|#dddddd}}}; font-weight:bold;">MAIN FILES</span> - {{#arraymap:{{{MAIN|}}}|;|%|''%''}} | }}{{#if:{{{UPDT|}}}|* <span style="color:{{{color|#dddddd}}}; font-weight:bold;">UPDATES</span> - {{#arraymap:{{{UPDT|}}}|;|%|''%''}} | }}{{#if:{{{ALTERNATIVE|}}}|* <span style="color:{{{color|#dddddd}}}; font-weight:bold;">ALTERNATIVE</span> - {{#arraymap:{{{ALTERNATIVE|}}}|;|%|''%''}} | }}{{#if:{{{ADDITIONAL|}}}|* <span style="color:{{{color|#dddddd}}}; font-weight:bold;">ADDITIONAL</span> - {{#arraymap:{{{ADDITIONAL|}}}|;|%|''%''}} | }}{{#if:{{{ADDITIONAL1|}}}|* <span style="color:{{{color|#dddddd}}}; font-weight:bold;">ADDITIONAL1</span> - {{#arraymap:{{{ADDITIONAL1|}}}|;|%|''%''}} | }}{{#if:{{{ADDITIONAL2|}}}|* <span style="color:{{{color|#dddddd}}}; font-weight:bold;">ADDITIONAL2</span> - {{#arraymap:{{{ADDITIONAL2|}}}|;|%|''%''}} | }}{{#if:{{{ADDITIONAL3|}}}|* <span style="color:{{{color|#dddddd}}}; font-weight:bold;">ADDITIONAL3</span> - {{#arraymap:{{{ADDITIONAL3|}}}|;|%|''%''}} | }}{{#if:{{{ADDITIONAL4|}}}|* <span style="color:{{{color|#dddddd}}}; font-weight:bold;">ADDITIONAL4</span> - {{#arraymap:{{{ADDITIONAL4|}}}|;|%|''%''}} | }}{{#if:{{{ADDITIONAL5|}}}|* <span style="color:{{{color|#dddddd}}}; font-weight:bold;">ADDITIONAL5</span> - {{#arraymap:{{{ADDITIONAL5|}}}|;|%|''%''}} | }}{{#if:{{{OPT|}}}|* <span style="color:{{{color|#dddddd}}}; font-weight:bold;">OPTIONAL FILES</span> - {{#arraymap:{{{OPT|}}}|;|%|''%''}} | }}{{#if:{{{MISC|}}}|* <span style="color:{{{color|#dddddd}}}; font-weight:bold;">MISCELLANEOUS</span> - {{#arraymap:{{{MISC|}}}|;|%|''%''}} | }}{{#if:{{{OLD|}}}|* <span style="color:{{{color|#dddddd}}}; font-weight:bold;">OLD VERSIONS</span> - {{#arraymap:{{{OLD|}}}|;|%|''%''}}| }}</div>

Revision as of 22:37, 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=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
Custom
My Mod - by TotallyAwesomeDude
  • MAIN FILES - FileNameHere
  • OPTIONAL FILES - theOptionalFileHere
Description

This is the box that holds the mod description.


{{#if:| | }

Related Templates