Template:ModTable: Difference between revisions

From Step Mods | Change The Game
(Created page with "<includeonly>{{#if: {{{ModTableRow|}}} | {{{!}} class="steptable" ! class="first" {{!}} ! class="modname" style="font-size: 1rem;" {{!}} {{HoverText|'''Mod Name'''|Mod name pr...")
 
mNo edit summary
 
(9 intermediate revisions by the same user not shown)
Line 2: Line 2:
{{{!}} class="steptable"
{{{!}} class="steptable"
! class="first" {{!}}
! class="first" {{!}}
! class="second" {{!}}
! class="third" {{!}}
! class="fourth" {{!}}
! class="modname" style="font-size: 1rem;" {{!}} {{HoverText|'''Mod Name'''|Mod name presented as a link to the download location.}}
! class="modname" style="font-size: 1rem;" {{!}} {{HoverText|'''Mod Name'''|Mod name presented as a link to the download location.}}
! class="baseline" style="font-size: 1rem;" {{!}} {{HoverText|'''Baseline'''|Denotes the STEP Baseline version or option of the corresponding mod.}}
! class="baseline" style="font-size: 1rem;" {{!}} {{HoverText|'''Baseline'''|Denotes the STEP Baseline version or option of the corresponding mod.}}
Line 7: Line 10:
{{{ModTableRow}}}
{{{ModTableRow}}}
{{!}}}
{{!}}}
| No mods defined.}}</includeonly><noinclude>__NOTOC__[[Category:SMW Templates]][[Category:Step]]
| No mods defined.}}</includeonly><noinclude>__NOTOC__[[Category:Guide Templates]]
 
== Purpose & Usage ==
== Purpose & Usage ==
Header and footer for guide mod tables. This template incorporates [[:Template:ModTable/Row]] in constructing mod tables via #ask query against the subobject defined in templates like [[:Template:ModGroupMods-01-Tools]].
Header and footer for guide mod tables. This template incorporates [[:Template:ModTableMods]] in constructing mod tables via #ask query against the subobject defined in templates like [[:Template:ModGroupMods-01-Tools]].


== Examples ==
== Examples ==
'''Code:'''
'''Code:'''
<pre>{{ModTable|ModTableRow=
<pre>{{ModTable|ModTableRow=
{{#ask:[[Version::444]][[Game::SkyrimLE]][[ModGroup::01-Tools]]
{{#ask:[[Version::444]][[Game::SkyrimSE]][[ModGroup::01-Tools]]
|mainlabel=-
|mainlabel=-
|format=plainlist
|format=plainlist
|template=ModTable/Row
|template=ModTableMods
|named args=yes
|named args=yes
|link=none
|link=none
|?ModName
|?ModName
|?Section
|?ModGroup
|sort=OrderID
|sort=OrderID
}}
}}
Line 28: Line 30:
'''Result:'''
'''Result:'''
{{ModTable|ModTableRow=
{{ModTable|ModTableRow=
{{#ask:[[Version::444]][[Game::SkyrimLE]][[ModGroup::01-Tools]]
{{#ask:[[Version::444]][[Game::SkyrimSE]][[ModGroup::01-Tools]]
|mainlabel=-
|mainlabel=-
|format=plainlist
|format=plainlist
|template=ModTable/Row
|template=ModTableMods
|named args=yes
|named args=yes
|link=none
|link=none
|?ModName
|?ModName
|?Section
|?ModGroup
|sort=OrderID
|sort=OrderID
}}
}}
Line 42: Line 44:
== See Also ==
== See Also ==
<!--*[[:RELATED TEMPLATE NAME AND ARGUMENTS]]-->
<!--*[[:RELATED TEMPLATE NAME AND ARGUMENTS]]-->
[[:Template:ModTable/Row]]<br />
[[:Template:ModTableMods]]<br />
[[:Template:ModGroupMods-01-Tools]]
[[:Template:ModGroupMods-01-Tools]]
</noinclude>
</noinclude>

Latest revision as of 17:11, January 3, 2023

Purpose & Usage[edit source]

Header and footer for guide mod tables. This template incorporates Template:ModTableMods 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::SkyrimSE]][[ModGroup::01-Tools]]
|mainlabel=-
|format=plainlist
|template=ModTableMods
|named args=yes
|link=none
|?ModName
|?ModGroup
|sort=OrderID
}}
}}

Result: No mods defined.

See Also[edit source]

Template:ModTableMods
Template:ModGroupMods-01-Tools