Template:IncarnateList/query: Difference between revisions

From Homecoming Wiki
Jump to navigation Jump to search
imported>Sekoia (historical)
No edit summary
(add type switch to de-duplicate dpl queries, format change)
Line 1: Line 1:
{{#dpl:
{{#switch:{{{type|}}}
|IComponent={{#dpl:
|mode=userformat
|mode=userformat
|includepage={IComponent}.dpl
|includepage={Image}:1,{IComponent}.dpl
|uses=Template:IComponent
|uses=Template:IComponent
|category={{{category|}}}
|category={{{category|}}}
|linksto={{{uses|}}}
|linksto={{PAGENAME}}
|distinct=strict
|distinct=strict
|namespace=
|namespace=
|allowcachedresults=true
|allowcachedresults=true
|resultsheader=
|resultsheader=\n<h3>{{{category}}}</h3>
|suppresserrors=true
|suppresserrors=true
|secseparators=
|format=<ul style="margin: 0; columns: 26em; list-style: none;">,<li style="position: relative; padding-left: 26px;">,</li>,</ul>
|secseparators=<span style="position: absolute; left: 0; pointer-events: none;">[[File:,|22px|link=|alt=]]</span>,[[%PAGE%|<span style="margin-left: -26px; padding-left: 26px;">%PAGE%</span>]] ,
|titlematch=%
|titlematch=%
}}{{#dpl:
}}
|IAbility={{#dpl:
|mode=userformat
|mode=userformat
|includepage={IAbility}.dpl
|includepage={Image}:1,{IAbility}.dpl
|uses=Template:IAbility
|uses=Template:IAbility
|category={{{category|}}}
|category={{{category|Alpha Incarnate Abilities}}}
|linksto={{{uses|}}}
|linksto={{PAGENAME}}
|distinct=strict
|distinct=strict
|namespace=
|namespace=
|allowcachedresults=true
|allowcachedresults=true
|resultsheader=
|resultsheader=\n<h3>{{{category}}}</h3>
|suppresserrors=true
|suppresserrors=true
|secseparators=
|format=<ul style="margin: 0; columns: 26em; list-style: none;">,<li style="position: relative; padding-left: 26px;">,</li>,</ul>
|secseparators=<span style="position: absolute; left: 0; pointer-events: none;">[[File:,|22px|link=|alt=]]</span>,[[%PAGE%|<span style="margin-left: -26px; padding-left: 26px;">%PAGE%</span>]] ,
|titlematch=%
|titlematch=%
}}
}}
}}

Revision as of 18:36, 12 May 2022