Template:ModListQuery: Difference between revisions

From Step Mods | Change The Game
No edit summary
No edit summary
Line 10: Line 10:
}}
}}
</noinclude>
</noinclude>
 
{{#vardefine:template|CoreModOrderedList}}
{{#ifeq:{{{mod_list}}}|All|
{{#ifeq:{{{mod_list}}}|All|{{#vardefine:template|STEPModOrderedList}}}}
{{#vardefine:query|[[Category:Mods]]}}|
{{#vardefine:query|[[Concept:ModsInSTEP]]}}
{{#ifeq:{{{mod_list}}}|STEP:Core|{{#vardefine:template|CoreModOrderedList}}|{{#vardefine:template|STEPModOrderedList}}}}
}}
{{#var:template}}
{| class="wikitable" style="width:100%;"
{| class="wikitable" style="width:100%;"
! style="width:20%;" | Mod Name
! style="width:20%;" | Mod Name
Line 23: Line 18:
! style="width:10%;" | SourceID
! style="width:10%;" | SourceID
! style="width:50%;" | SourceURL
! style="width:50%;" | SourceURL
{{#ask:{{#var:query}}
{{#ask:[[Concept:ModsInStep]]
|format=template
|format=template
|mainlabel={{#ifeq:{{{mod_list}}}|All|ModName|-}}
|mainlabel=-
|?ModName=
|?ModName=
|?Section
|?Section
|?Author
|?Author
|template={{#var:template}}
|template={{#var:template}}
|sort={{{mod_sort}}}
|sort={{#ifeq:{{{mod_sort}}}|Section|OrderID|{{{mod_sort}}}}}
}}
}}
|}
|}
</includeonly>
</includeonly>

Revision as of 21:45, January 1, 2015