Template:VersionModRecommendations: Difference between revisions
From Step Mods | Change The Game
mNo edit summary |
mNo edit summary |
||
Line 1: | Line 1: | ||
<includeonly>__NOTITLE__{{#default_form:VersionModRecommendations}} | <includeonly>__NOTITLE__{{#default_form:VersionModRecommendations}}{{#vardefine:nexusgame|{{#switch: {{NAMESPACE}} | ||
| Fallout3 = fallout3 | |||
| Fallout4 = fallout4 | |||
| FalloutNV = newvegas | |||
| Morrowind = morrowind | |||
| NoMansSky = nomanssky | |||
| Oblivion = oblivion | |||
| SkyrimLE = skyrim | |||
| SkyrimSE = skyrimspecialedition | |||
}} }}{{#switch: {{{sourcename|}}} | |||
| Nexus = {{#vardefine:url|https://www.nexusmods.com/{{#var:nexusgame}}/mods/{{{sourceid}}} }}{{#set:SourceID={{{sourceid}}}}}{{#vardefine:name|Nexus}} | |||
| Steam = {{#vardefine:url|https://steamcommunity.com/sharedfiles/filedetails/?id={{{sourceid}}} }}{{#set:SourceID={{{sourceid}}}}}{{#vardefine:name|Steam}} | |||
| Other = {{#vardefine:url|{{{sourceurl}}}}}{{#set:SourceURL={{{sourceurl}}}}}{{#vardefine:name|Other}}}}<div class="modheading"><h1>{{ROOTPAGENAME}}</h1>{{#if: {{{author|}}} | <span class="modsubheading">by {{#arraymap:{{{author|}}}|,|x|[[Author::x]]}}</span> }}</div> | |||
{{#ifeq: {{{enabledetailed|}}} | Yes | {{#set:HasDetails=true}} | {{#ifeq: {{{enabledetailed|}}} | Yes | {{#set:HasDetails=true}} | ||
<div class="container modbox mt-2 ml-2 mb-2"> | <div class="container modbox mt-2 ml-2 mb-2"> |
Revision as of 15:07, October 22, 2021
Purpose & Usage
This is a core site template that is used to display mod data in a right-floating infobox on mod-version-recommendation pages.
Examples
See any mod page having a version subpage.
See Also