Template:ModTableMods: Difference between revisions

From Step Mods | Change The Game
mNo edit summary
mNo edit summary
Line 26: Line 26:
! {{#ifeq: {{#show:{{{ModName}}}|?IsCore}} | true | class="core" | class="first" }} {{!}}
! {{#ifeq: {{#show:{{{ModName}}}|?IsCore}} | true | class="core" | class="first" }} {{!}}
! {{#ifeq: {{#show:{{{ModName}}}|?Requires_LW_Patch}} | true | class="landw" | class="second" }} {{!}}
! {{#ifeq: {{#show:{{{ModName}}}|?Requires_LW_Patch}} | true | class="landw" | class="second" }} {{!}}
{{!}} class="modname" {{!}} [{{#replace:{{#ask:[[ENBoost]]|mainlabel=-|?SourceURL#=|headers=hide}}|<nowiki> </nowiki>|%5f}} {{PAGENAME:{{{ModName}}} }}]<sup>[[File:Wikilink.png|18px|link={{canonicalurl:{{{ModName}}} }}|Link to the mod's Wiki page.]]</sup>
{{!}} class="modname" {{!}} [{{#replace:{{#ask:{{{ModName}}}|mainlabel=-|?SourceURL#=|headers=hide}}|<nowiki> </nowiki>|%5f}} {{PAGENAME:{{{ModName}}} }}]<sup>[[File:Wikilink.png|18px|link={{canonicalurl:{{{ModName}}} }}|Link to the mod's Wiki page.]]</sup>
{{!}} class="baseline" {{!}} {{#ifeq: {{#show:{{{ModName}}}|?Baseline}} |  |  | {{#show:{{{ModName}}}|?Baseline}} }}
{{!}} class="baseline" {{!}} {{#ifeq: {{#show:{{{ModName}}}|?Baseline}} |  |  | {{#show:{{{ModName}}}|?Baseline}} }}
{{!}} class="notes" {{!}} Detailed Instructions available
{{!}} class="notes" {{!}} Detailed Instructions available

Revision as of 00:29, February 5, 2021


Purpose & Usage[edit source]

Mod rows for guide mod tables. This template is incorporated into Template:ModTable in constructing mod tables via #ask query against the subobject defined in templates like Template:ModGroupMods-01-Tools.

Examples[edit source]

Code:

{{ModTable|ModTableRow=
{{#ask:[[Version::444]][[Game::SkyrimLE]][[ModGroup::01-Tools]]
|?ModName
|?Version
|mainlabel=-
|named args=yes
|link=none
|format=plainlist
|template=ModTableMods
|sort=OrderID
}}
}}

Result: No mods defined.

See Also[edit source]

Template:ModTable
Template:ModGroupMods-01-Tools