Template:ModTableMods: Difference between revisions

From Step Mods | Change The Game
mNo edit summary
mNo edit summary
Line 7: Line 7:
! {{#ifeq: {{#show:{{{ModName}}}/{{{Version}}}|?IsCore}} | true | class="core" | class="first" }} {{!}}
! {{#ifeq: {{#show:{{{ModName}}}/{{{Version}}}|?IsCore}} | true | class="core" | class="first" }} {{!}}
! {{#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}}}|?Requires_PP_Patch}} | true | class="pp" | class="third" }} {{!}}
! {{#ifeq: {{#show:{{{ModName}}}/{{{Version}}}|?Has_ENB_Option}} | true | class="enb" | class="fourth" }} {{!}}
{{!}} class="modname" {{!}} [{{#replace:{{#ask:[[{{{ModName}}}]]|mainlabel=-|?SourceURL#=|headers=hide}}|<nowiki> </nowiki>|%5f}} {{PAGENAME:{{{ModName}}} }}]<sup>[[File:Wikilink.png|18px|link={{canonicalurl:{{{ModName}}}/{{{Version}}} }}|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}}}/{{{Version}}} }}|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}} }}
Line 18: Line 19:
! {{#ifeq: {{#show:{{{ModName}}}/{{{Version}}}|?IsCore}} | true | class="core" | class="first" }} {{!}}
! {{#ifeq: {{#show:{{{ModName}}}/{{{Version}}}|?IsCore}} | true | class="core" | class="first" }} {{!}}
! {{#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}}}|?Requires_PP_Patch}} | true | class="pp" | class="third" }} {{!}}
! {{#ifeq: {{#show:{{{ModName}}}/{{{Version}}}|?Has_ENB_Option}} | true | class="enb" | class="fourth" }} {{!}}
{{!}} class="modname" {{!}} [{{#replace:{{#ask:[[{{{ModName}}}]]|mainlabel=-|?SourceURL#=|headers=hide}}|<nowiki> </nowiki>|%5f}} {{PAGENAME:{{{ModName}}} }}]<sup>[[File:Wikilink.png|18px|link={{canonicalurl:{{{ModName}}}/{{{Version}}} }}|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}}}/{{{Version}}} }}|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}} }}
Line 28: Line 30:
! {{#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" }} {{!}}
! {{#ifeq: {{#show:{{{ModName}}}|?Has_ENB_Option}} | true | class="enb" | class="third" }} {{!}}
! {{#ifeq: {{#show:{{{ModName}}}|?Requires_PP_Patch}} | true | class="pp" | class="third" }} {{!}}
! {{#ifeq: {{#show:{{{ModName}}}|?Has_ENB_Option}} | true | class="enb" | class="fourth" }} {{!}}
{{!}} 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}}} }}]<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}} }}
Line 39: Line 42:
! {{#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" }} {{!}}
! {{#ifeq: {{#show:{{{ModName}}}|?Has_ENB_Option}} | true | class="enb" | class="third" }} {{!}}
! {{#ifeq: {{#show:{{{ModName}}}|?Requires_PP_Patch}} | true | class="pp" | class="third" }} {{!}}
! {{#ifeq: {{#show:{{{ModName}}}|?Has_ENB_Option}} | true | class="enb" | class="fourth" }} {{!}}
{{!}} 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}}} }}]<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}} }}

Revision as of 17:11, January 3, 2023

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