Template:IncarnateList/query: Difference between revisions

From Homecoming Wiki
Jump to navigation Jump to search
(add type switch to de-duplicate dpl queries, format change)
m (header fix)
Line 1: Line 1:
{{#dplvar:set|category|{{{category}}}}}
{{#switch:{{{type|}}}
{{#switch:{{{type|}}}
|IComponent={{#dpl:
|IComponent={{#dpl:
Line 9: Line 10:
|namespace=
|namespace=
|allowcachedresults=true
|allowcachedresults=true
|resultsheader=\n<h3>{{{category}}}</h3>
|resultsheader=\n<h3>{{#dplvar:category}}</h3>
|suppresserrors=true
|suppresserrors=true
|format=<ul style="margin: 0; columns: 26em; list-style: none;">,<li style="position: relative; padding-left: 26px;">,</li>,</ul>
|format=<ul style="margin: 0; columns: 26em; list-style: none;">,<li style="position: relative; padding-left: 26px;">,</li>,</ul>
Line 24: Line 25:
|namespace=
|namespace=
|allowcachedresults=true
|allowcachedresults=true
|resultsheader=\n<h3>{{{category}}}</h3>
|resultsheader=\n<h3>{{#dplvar:category}}</h3>
|suppresserrors=true
|suppresserrors=true
|format=<ul style="margin: 0; columns: 26em; list-style: none;">,<li style="position: relative; padding-left: 26px;">,</li>,</ul>
|format=<ul style="margin: 0; columns: 26em; list-style: none;">,<li style="position: relative; padding-left: 26px;">,</li>,</ul>

Revision as of 18:48, 12 May 2022