Template:Modlisting: Difference between revisions

From Step Mods | Change The Game
No edit summary
m (Text replacement - "Lighting & Weather" to "Lighting and Weather")
 
(20 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly><div style="border-left:medium solid {{{barColor|#0066ff}}}; display:table; margin:0 1em 3em 1em; padding:0 0 0 1em;"><div style="display:table-header; margin-bottom:1em; vertical-align:middle;">{{#if:{{{flag|}}}|{{modlistFlag|flag={{{flag}}}}}}}{{#if:{{{customFlag|}}}| {{{customFlag}}}}} <span style="color:#dddddd; font-size:1.24em;">'''[{{{modURL}}} {{{modName}}}]''' {{#if:{{{modVersion|}}}|- {{{modVersion}}}&nbsp;|}}- by {{{modAuthor}}}</span></div>
<includeonly>{{Alert|type=warn|text=This template is deprecated and should not be used. It was originally created to support custom user guides, but we now have a [[STEP:Mod-Build Guide Framework|guide-creation infrastructure]] that can be used by anyone. If this does not accommodate the need, please PM a moderator or administrator on the forums for assistance.}}<div style="border-left:medium solid {{{barColor|#0066ff}}}; display:table; margin:0 1em 3em 1em; padding:0 0 0 1em;"><div style="display:table-header; margin-bottom:1em; vertical-align:middle;">{{#if:{{{flag|}}}|{{modlistFlag|flag={{{flag}}}}}}}{{#if:{{{customFlag|}}}| {{{customFlag}}}}} <span style="color:#dddddd; font-size:1.24em;">'''[{{{modURL}}} {{{modName}}}]''' {{#if:{{{modVersion|}}}|- {{{modVersion}}}&nbsp;|}}- by {{{modAuthor}}}</span></div>
<div style="display:table-row;">
<div style="display:table-row;">
   <div style="display:table-cell;">'''Files to download:'''<br>{{#if:{{{Main|}}}|* <span style="color:#dddddd; font-weight:bold;">MAIN FILES</span> - {{#arraymap:{{{Main|}}}|;|%|''%''}} | }}{{#if:{{{Update|}}}|* <span style="color:#dddddd; font-weight:bold;">UPDATES</span> - {{#arraymap:{{{Update|}}}|;|%|''%''}} | }}{{#if:{{{Alt|}}}|* <span style="color:#dddddd; font-weight:bold;">ALTERNATIVE</span> - {{#arraymap:{{{Alt|}}}|;|%|''%''}} | }}{{#if:{{{Add|}}}|* <span style="color:#dddddd; font-weight:bold;">ADDITIONAL</span> - {{#arraymap:{{{Add|}}}|;|%|''%''}} | }}{{#if:{{{Add1|}}}|* <span style="color:#dddddd; font-weight:bold;">ADDITIONAL 1</span> - {{#arraymap:{{{Add1|}}}|;|%|''%''}} | }}{{#if:{{{Add2|}}}|* <span style="color:#dddddd; font-weight:bold;">ADDITIONAL 2</span> - {{#arraymap:{{{Add2|}}}|;|%|''%''}} | }}{{#if:{{{Add3|}}}|* <span style="color:#dddddd; font-weight:bold;">ADDITIONAL 3</span> - {{#arraymap:{{{Add3|}}}|;|%|''%''}} | }}{{#if:{{{Add4|}}}|* <span style="color:#dddddd; font-weight:bold;">ADDITIONAL 4</span> - {{#arraymap:{{{Add4|}}}|;|%|''%''}} | }}{{#if:{{{Add5|}}}|* <span style="color:#dddddd; font-weight:bold;">ADDITIONAL 5</span> - {{#arraymap:{{{Add5|}}}|;|%|''%''}} | }}{{#if:{{{Opt|}}}|* <span style="color:#dddddd; font-weight:bold;">OPTIONAL FILES</span> - {{#arraymap:{{{Opt|}}}|;|%|''%''}} | }}{{#if:{{{Misc|}}}|* <span style="color:#dddddd; font-weight:bold;">MISCELLANEOUS</span> - {{#arraymap:{{{Misc|}}}|;|%|''%''}} | }}{{#if:{{{Oold|}}}|* <span style="color:#dddddd; font-weight:bold;">OLD VERSIONS</span> - {{#arraymap:{{{Old|}}}|;|%|''%''}}| }}</div>
   <div style="display:table-cell;">'''Files to download:'''<br>{{#if:{{{Main|}}}|* <span style="color:#dddddd; font-weight:bold;">MAIN FILES</span> - {{#arraymap:{{{Main|}}}|+++|%|''%''}} | }}{{#if:{{{Update|}}}|* <span style="color:#dddddd; font-weight:bold;">UPDATES</span> - {{#arraymap:{{{Update|}}}|+++|%|''%''}} | }}{{#if:{{{Alt|}}}|* <span style="color:#dddddd; font-weight:bold;">ALTERNATIVE</span> - {{#arraymap:{{{Alt|}}}|+++|%|''%''}} | }}{{#if:{{{Add|}}}|* <span style="color:#dddddd; font-weight:bold;">ADDITIONAL</span> - {{#arraymap:{{{Add|}}}|+++|%|''%''}} | }}{{#if:{{{Add1|}}}|* <span style="color:#dddddd; font-weight:bold;">ADDITIONAL 1</span> - {{#arraymap:{{{Add1|}}}|+++|%|''%''}} | }}{{#if:{{{Add2|}}}|* <span style="color:#dddddd; font-weight:bold;">ADDITIONAL 2</span> - {{#arraymap:{{{Add2|}}}|+++|%|''%''}} | }}{{#if:{{{Add3|}}}|* <span style="color:#dddddd; font-weight:bold;">ADDITIONAL 3</span> - {{#arraymap:{{{Add3|}}}|+++|%|''%''}} | }}{{#if:{{{Add4|}}}|* <span style="color:#dddddd; font-weight:bold;">ADDITIONAL 4</span> - {{#arraymap:{{{Add4|}}}|+++|%|''%''}} | }}{{#if:{{{Add5|}}}|* <span style="color:#dddddd; font-weight:bold;">ADDITIONAL 5</span> - {{#arraymap:{{{Add5|}}}|+++|%|''%''}} | }}{{#if:{{{Opt|}}}|* <span style="color:#dddddd; font-weight:bold;">OPTIONAL FILES</span> - {{#arraymap:{{{Opt|}}}|+++|%|''%''}} | }}{{#if:{{{Misc|}}}|* <span style="color:#dddddd; font-weight:bold;">MISCELLANEOUS</span> - {{#arraymap:{{{Misc|}}}|+++|%|''%''}} | }}{{#if:{{{Old|}}}|* <span style="color:#dddddd; font-weight:bold;">OLD VERSIONS</span> - {{#arraymap:{{{Old|}}}|+++|%|''%''}}| }}</div>
</div>
</div>
<div style="display:table-row;">
<div style="display:table-row;">
   <div style="display:table-cell;">
   <div style="display:table-cell;">
     <div style="display:table; border-spacing:1em;">
     <div style="display:table; border-spacing:1em;">
{{#if:{{{MiniDL|}}}|{{#arraymap:{{{MiniDL|}}}|,|tvar|<div style="display:table-row;"><div style="display:table-cell; width:100%; font-size:0.95em; border:1px solid #4F5860; overflow:hidden; border-radius:5px; box-shadow:0px 0px 20px 20px #292B2C inset; padding:0.5em; text-align:left; background:transparent;"><span style="font-size:1.25em; color:#9BC1D5;">'''Additional Downloads'''</span><br><hr>tvar<br></div></div>|&nbsp;}}| }}
{{#if:{{{MiniDL|}}}|{{#arraymap:{{{MiniDL|}}}|+++|tvar|<div style="display:table-row;"><div style="display:table-cell; width:100%; font-size:0.95em; border:1px solid #4F5860; overflow:hidden; border-radius:5px; box-shadow:0px 0px 20px 20px #292B2C inset; padding:0.5em; text-align:left; background:transparent;"><span style="font-size:1.25em; color:#9BC1D5;">'''Additional Downloads'''</span><br><hr>tvar<br></div></div>| }}| }}{{#if:{{{Description|}}}|{{#arraymap:{{{Description|}}}|+++|tvar|<div style="display:table-row;"><div style="display:table-cell; width:100%; font-size:0.95em; border:1px solid #4F5860; overflow:hidden; border-radius:5px; box-shadow:0px 0px 20px 20px #292B2C inset; padding:0.5em; text-align:left; background:transparent;"><span style="font-size:1.25em; color:#9BC1D5;">'''Description'''</span><br><hr>tvar<br></div><br></div>| }}| }}{{#if:{{{Information|}}}|{{#arraymap:{{{Information|}}}|+++|tvar|<div style="display:table-row;"><div style="display:table-cell; width:100%; font-size:0.95em; border:1px solid #4F5860; overflow:hidden; border-radius:5px; box-shadow:0px 0px 20px 20px #292B2C inset; padding:0.5em; text-align:left; background:transparent;"><span style="font-size:1.25em; color:#9BC1D5;">'''Information'''</span><br><hr>tvar<br></div></div>| }}| }}{{#if:{{{Installation|}}}|{{#arraymap:{{{Installation|}}}|+++|tvar|<div style="display:table-row;"><div style="display:table-cell; width:100%; font-size:0.95em; border:1px solid #4F5860; overflow:hidden; border-radius:5px; box-shadow:0px 0px 20px 20px #292B2C inset; padding:0.5em; text-align:left; background:transparent;"><span style="font-size:1.25em; color:#9BC1D5;">'''Installation'''</span><br><hr>tvar<br></div><br></div>|&nbsp;}}| }}{{#if:{{{Additional|}}}|{{#arraymap:{{{Additional|}}}|+++|tvar|<div style="display:table-row;"><div style="display:table-cell; width:100%; font-size:0.95em; border:1px solid #4F5860; overflow:hidden; border-radius:5px; box-shadow:0px 0px 20px 20px #292B2C inset; padding:0.5em; text-align:left; background:transparent;"><span style="font-size:1.25em; color:#9BC1D5;">'''Additional'''</span><br><hr>tvar<br></div><br></div>}}| }}{{#if:{{{iTable|}}}|{{#arraymap:{{{iTable|}}}|+++|tvar|<div style="display:table-row;"><div style="display:table-cell; min-width:100%; font-size:0.95em; border:1px solid #4F5860; overflow:hidden; border-radius:5px; box-shadow:0px 0px 60px 60px #292B2C inset; padding:0.5em; text-align:left; background:transparent;"><span style="font-size:1.25em; color:#9BC1D5;">'''Installation Procedure'''</span><hr>{{{iTable}}}<br><hr>{{#if:{{{iTableInfo|}}}|{{#arraymap:{{{iTableInfo|}}}|,|tvar|<div span style="-moz-column-count: 2;-webkit-column-count:2;column-count:2;-moz-column-gap: 10px;-webkit-column-gap:10px;column-gap:10px;font-size:13px;-moz-column-rule: 1px solid #000;-webkit-column-rule:1px solid #000;column-rule:1px solid #000;color:#A9A9A9;">{{{iTableInfo}}}<br></div>}}|&nbsp;}}<hr>
{{#if:{{{Description|}}}|{{#arraymap:{{{Description|}}}|,|tvar|<div style="display:table-row;"><div style="display:table-cell; width:100%; font-size:0.95em; border:1px solid #4F5860; overflow:hidden; border-radius:5px; box-shadow:0px 0px 20px 20px #292B2C inset; padding:0.5em; text-align:left; background:transparent;"><span style="font-size:1.25em; color:#9BC1D5;">'''Description'''</span><br><hr>tvar<br></div><br></div>|&nbsp;}}| }}
{{#if:{{{Information|}}}|{{#arraymap:{{{Information|}}}|,|tvar|<div style="display:table-row;"><div style="display:table-cell; width:100%; font-size:0.95em; border:1px solid #4F5860; overflow:hidden; border-radius:5px; box-shadow:0px 0px 20px 20px #292B2C inset; padding:0.5em; text-align:left; background:transparent;"><span style="font-size:1.25em; color:#9BC1D5;">'''Information'''</span><br><hr>tvar<br></div></div>|&nbsp;}}| }}
{{#if:{{{Installation|}}}|{{#arraymap:{{{Installation|}}}|,|tvar|<div style="display:table-row;"><div style="display:table-cell; width:100%; font-size:0.95em; border:1px solid #4F5860; overflow:hidden; border-radius:5px; box-shadow:0px 0px 20px 20px #292B2C inset; padding:0.5em; text-align:left; background:transparent;"><span style="font-size:1.25em; color:#9BC1D5;">'''Installation'''</span><br><hr>tvar<br></div><br></div>|&nbsp;}}| }}
{{#if:{{{Additional|}}}|{{#arraymap:{{{Additional|}}}|,|tvar|<div style="display:table-row;"><div style="display:table-cell; width:100%; font-size:0.95em; border:1px solid #4F5860; overflow:hidden; border-radius:5px; box-shadow:0px 0px 20px 20px #292B2C inset; padding:0.5em; text-align:left; background:transparent;"><span style="font-size:1.25em; color:#9BC1D5;">'''Additional'''</span><br><hr>tvar<br></div><br></div>|&nbsp;}}| }}
{{#if:{{{iTable|}}}|{{#arraymap:{{{iTable|}}}|,|tvar|<div style="display:table-row;"><div style="display:table-cell; min-width:100%; font-size:0.95em; border:1px solid #4F5860; overflow:hidden; border-radius:5px; box-shadow:0px 0px 60px 60px #292B2C inset; padding:0.5em; text-align:left; background:transparent;"><span style="font-size:1.25em; color:#9BC1D5;">'''Installation Procedure'''</span><hr>{{{iTable}}}<br><hr>{{#if:{{{iTableInfo|}}}|{{#arraymap:{{{iTableInfo|}}}|,|tvar|<div span style="-moz-column-count: 2;-webkit-column-count:2;column-count:2;-moz-column-gap: 10px;-webkit-column-gap:10px;column-gap:10px;font-size:13px;-moz-column-rule: 1px solid #000;-webkit-column-rule:1px solid #000;column-rule:1px solid #000;color:#A9A9A9;">{{{iTableInfo}}}<br></div>}}|&nbsp;}}<hr>
</div></div>|&nbsp;}}| }}
</div></div>|&nbsp;}}| }}
     </div>
     </div>
   </div>
   </div>
</div>
</div>
</div></includeonly><noinclude>__NOTOC____NOTITLE__
</div></includeonly><noinclude>__NOTOC____NOTITLE__[[Category:Deprecated Templates]]
 
{{delete|reason=This template was created to support users creating mod listings for Guides on their user pages. Users should now take advantage of our Framework. Removing these will discourage this behavior<br>[[File:TechAngel85Avatar.png|22px|alt=TechAngel Avatar|class=rounded-circle]] [[User:TechAngel85|TechAngel85]]}}


= {{FULLPAGENAME}} =
= {{FULLPAGENAME}} =
'''Discussion:'''  
'''Discussion:''' [https://stepmodifications.org/forum/topic/15305-modlisting/ Forum Topic]


== Purpose & Usage ==
== Purpose & Usage ==
Line 58: Line 55:
==== Listing Files ====
==== Listing Files ====
; Main, Update, Alt, Add, Add1, Add2, Add3, Add4, Add5, Opt, Misc, Old
; Main, Update, Alt, Add, Add1, Add2, Add3, Add4, Add5, Opt, Misc, Old
: Defined: <code>Parameter=''file; file2; file3''</code>
: Defined: <code>Parameter=''file+++file2+++file3''</code>
: Each of the parameters above defines a heading for file listing. The value is plain text that displays as the list. Separate items with: <span style="font-size:large;"><code>; </code></span>
: Each of the parameters above defines a heading for file listing. The value is plain text that displays as the list. Separate items with: <span style="font-size:large;"><code>+++ </code></span>


==== Optional Info Boxes ====
==== Optional Info Boxes ====
; MiniDL, Description, Installation, Information, Additional, iTable
; MiniDL, Description, Installation, Information, Additional, iTable
: Defined: <code>Parameter=''textHere''</code>
: Defined: <code>Parameter=''textHere+++secondBoxProduced''</code>
: Each of the parameters above defines and displays an information box on the page below the file listings. The value is plain text that displays as the list that can be formatted.
: Each of the parameters above defines and displays an information box on the page below the file listings. The value is plain text that displays as the list that can be formatted. Separating items within a call with <span style="font-size:large;"><code>+++</code></span> will produce multiple boxes of the same type.


== Examples ==
== Examples ==


: '''Code:'''
: '''Code:'''
<pre><nowiki>
<pre><nowiki>
{{modlisting
{{modlisting
|modName=My Mod
|modName=My Mod
Line 76: Line 73:
|modAuthor=TotallyAwesomeDude
|modAuthor=TotallyAwesomeDude
|Main=FileNameHere
|Main=FileNameHere
|OPT=theOptionalFileHere
|Opt=theOptionalFileHere
|Description=This is the box that holds the mod description.}}</nowiki></pre><br>
|Description=This is the box that holds the mod description.
|Installation=Do this and that to install that mod.}}</nowiki></pre><br>


: '''Result:'''
: '''Result:'''
Line 90: Line 88:
|Installation=Do this and that to install that mod.}}
|Installation=Do this and that to install that mod.}}


: '''Code:'''
<pre><nowiki>
{{modlisting
{{modlisting
|barColor=#40804d
|barColor=#40804d
|flag=Patch
|flag=Patch
|modName=STEP CR Patch
|modName=Step Patch Conflict Resolution
|modVersion=v0.3.0b
|modVersion=v0.3.0b
|modURL=https://www.nexusmods.com/skyrimspecialedition/mods/31054
|modURL=https://www.nexusmods.com/skyrimspecialedition/mods/31054
Line 99: Line 99:
|Main=STEP SE Guide - CR Patch
|Main=STEP SE Guide - CR Patch
|Opt=STEP SE Guide - Lighting and Weather Patch
|Opt=STEP SE Guide - Lighting and Weather Patch
|Description=These are the patches to the STEP SE Guide.,This is the second description.
|Description=These are the patches to the STEP SE Guide.+++This is the second description.
}}
}}</nowiki></pre><br>


{{modlisting
{{modlisting
|barColor=#40804d
|barColor=#40804d
|flag=Patch
|flag=Patch
|modName=STEP CR Patch
|modName=Step Patch - Conflict Resolution
|modVersion=v0.3.0b
|modVersion=v0.3.0b
|modURL=https://www.nexusmods.com/skyrimspecialedition/mods/31054
|modURL=https://www.nexusmods.com/skyrimspecialedition/mods/31054
|modAuthor=The STEP Team
|modAuthor=The STEP Team
|Main=STEP SE Guide - CR Patch
|Main=Step Patch - Conflict Resolution
|Opt=STEP SE Guide - Lighting and Weather Patch
|Opt=Step Patch - Lighting and Weather
|Description=These are the patches to the STEP SE Guide.<br>
|Description=These are the patches to the STEP SE Guide.+++This is the second description.
{{alert small|type=notice|text=This is a test of a nested alert.}}
}}
}}


== Related Templates ==
== Related Templates ==


[[Category:Templates]]
 
</noinclude>
</noinclude>

Latest revision as of 15:25, March 30, 2023


Icon delete.png This page is a candidate for deletion!
Reason:
"This template was created to support users creating mod listings for Guides on their user pages. Users should now take advantage of our Framework. Removing these will discourage this behavior
TechAngel Avatar TechAngel85"
If you disagree with the deletion of this page, please explain why on the discussion page.

Template:Modlisting

Discussion: Forum Topic

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

barColor
Defined: barColor=value
Defined: #0066ff
Defines the color of the bar to the left of the listing. Accepts any valid CSS for color.
flag
Defined: flag=textHere
Displays a stylized "flag" in from of the Mod's name. Users can enter any keyword or custom text to have the flag display that text. See the modlist template for a list of pre-defined flags.
Skip this parameter if using custom flags (see below)
customFlag
Defined: customFlag=''{{Page/PathtoPage|parameter}}''
Allows the display of customized "flags" linked from another page. The value of the field should include a call to a custom template page. See this page for an example of how this can be done.
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.

Listing Files

Main, Update, Alt, Add, Add1, Add2, Add3, Add4, Add5, Opt, Misc, Old
Defined: Parameter=file+++file2+++file3
Each of the parameters above defines a heading for file listing. The value is plain text that displays as the list. Separate items with: +++

Optional Info Boxes

MiniDL, Description, Installation, Information, Additional, iTable
Defined: Parameter=textHere+++secondBoxProduced
Each of the parameters above defines and displays an information box on the page below the file listings. The value is plain text that displays as the list that can be formatted. Separating items within a call with +++ will produce multiple boxes of the same type.

Examples

Code:
{{modlisting
|modName=My Mod
|modVersion=v1.2.3
|modURL=https://www.nexusmods.com/skyrimspecialedition/mods/31054
|modAuthor=TotallyAwesomeDude
|Main=FileNameHere
|Opt=theOptionalFileHere
|Description=This is the box that holds the mod description.
|Installation=Do this and that to install that mod.}}


Result:
Warning-Logo.png

WARNING

This template is deprecated and should not be used. It was originally created to support custom user guides, but we now have a guide-creation infrastructure that can be used by anyone. If this does not accommodate the need, please PM a moderator or administrator on the forums for assistance.
My Mod - v1.2.3 - by TotallyAwesomeDude
Files to download:
  • MAIN FILES - FileNameHere
  • OPTIONAL FILES - theOptionalFileHere
Description

This is the box that holds the mod description.

Installation

Do this and that to install that mod.

Code:
{{modlisting
|barColor=#40804d
|flag=Patch
|modName=Step Patch Conflict Resolution
|modVersion=v0.3.0b
|modURL=https://www.nexusmods.com/skyrimspecialedition/mods/31054
|modAuthor=The STEP Team
|Main=STEP SE Guide - CR Patch
|Opt=STEP SE Guide - Lighting and Weather Patch
|Description=These are the patches to the STEP SE Guide.+++This is the second description.
}}


Warning-Logo.png

WARNING

This template is deprecated and should not be used. It was originally created to support custom user guides, but we now have a guide-creation infrastructure that can be used by anyone. If this does not accommodate the need, please PM a moderator or administrator on the forums for assistance.
Warning-Logo.png

WARNING

This template is deprecated and should not be used. Consider using Template:Icon instead. If that template does not have an icon or decorated text as desired, PM one of the forum moderators or staff, who will work with you to add the site-compatible variants wanted
.Patch Step Patch - Conflict Resolution - v0.3.0b - by The STEP Team
Files to download:
  • MAIN FILES - Step Patch - Conflict Resolution
  • OPTIONAL FILES - Step Patch - Lighting and Weather
Description

These are the patches to the STEP SE Guide.

Description

This is the second description.

Related Templates