Template:ModTableMods: Difference between revisions
From Step Mods | Change The Game
mNo edit summary |
mNo edit summary |
||
Line 8: | Line 8: | ||
! {{#ifeq: {{#show:{{{ModName}}}/{{{Version}}}|?Requires_LW_Patch}} | true | class="landw" | class="second" }} {{!}} | ! {{#ifeq: {{#show:{{{ModName}}}/{{{Version}}}|?Requires_LW_Patch}} | true | class="landw" | class="second" }} {{!}} | ||
! {{#ifeq: {{#show:{{{ModName}}}/{{{Version}}}|?Has_ENB_Option}} | true | class="enb" | class="third" }} {{!}} | ! {{#ifeq: {{#show:{{{ModName}}}/{{{Version}}}|?Has_ENB_Option}} | true | class="enb" | class="third" }} {{!}} | ||
{{!}} 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="modname" {{!}} [{{#replace:{{#ask:[[{{{ModName}}}]]|mainlabel=-|?SourceURL#=|headers=hide}}|<nowiki> </nowiki>|%5f}} {{PAGENAME:{{{ModName}}}/{{{Version}}} }}]<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 | ||
Line 19: | Line 19: | ||
! {{#ifeq: {{#show:{{{ModName}}}/{{{Version}}}|?Requires_LW_Patch}} | true | class="landw" | class="second" }} {{!}} | ! {{#ifeq: {{#show:{{{ModName}}}/{{{Version}}}|?Requires_LW_Patch}} | true | class="landw" | class="second" }} {{!}} | ||
! {{#ifeq: {{#show:{{{ModName}}}/{{{Version}}}|?Has_ENB_Option}} | true | class="enb" | class="third" }} {{!}} | ! {{#ifeq: {{#show:{{{ModName}}}/{{{Version}}}|?Has_ENB_Option}} | true | class="enb" | class="third" }} {{!}} | ||
{{!}} 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="modname" {{!}} [{{#replace:{{#ask:[[{{{ModName}}}]]|mainlabel=-|?SourceURL#=|headers=hide}}|<nowiki> </nowiki>|%5f}} {{PAGENAME:{{{ModName}}}/{{{Version}}} }}]<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" {{!}} {{#show:{{{ModName}}}/{{{Version}}}|?Recommendations|link=none}} | {{!}} class="notes" {{!}} {{#show:{{{ModName}}}/{{{Version}}}|?Recommendations|link=none}} |
Revision as of 13:25, October 4, 2021
Purpose & Usage
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
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.