Template:ModTableMods: Difference between revisions

From Step Mods | Change The Game
mNo edit summary
mNo edit summary
 
(One intermediate revision by the same user not shown)
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}} }}
{{!}} class="notes" {{!}} Detailed Instructions available
{{!}} class="notes" {{!}} Detailed Instructions available
{{!}}-
{{!}}-
{{!}} class="detailed" colspan="6" {{!}} {{#show:{{{ModName}}}/{{{Version}}}|?Recommendations|link=none}}
{{!}} class="detailed" colspan="7" {{!}} {{#show:{{{ModName}}}/{{{Version}}}|?Recommendations|link=none}}
{{!}}} |
{{!}}} |
{{{!}} class="steptable"
{{{!}} class="steptable"
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}} }}
{{!}} class="notes" {{!}} Detailed Instructions available
{{!}} class="notes" {{!}} Detailed Instructions available
{{!}}-
{{!}}-
{{!}} class="detailed" colspan="6" {{!}} {{#show:{{{ModName}}}|?Recommendations}}
{{!}} class="detailed" colspan="7" {{!}} {{#show:{{{ModName}}}|?Recommendations}}
{{!}}} |
{{!}}} |
{{{!}} class="steptable"
{{{!}} class="steptable"
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}} }}

Latest revision as of 18:54, 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