Template:IncarnateList/query: Difference between revisions

From Homecoming Wiki
Jump to navigation Jump to search
(I think templates can be combined)
m (decreased icon size a little more, prevent strange wrapping in some browsers)
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#dplreplace:
{{#dplvar:set|category|{{{category}}}}}{{#dpl:
{{#dplvar:set|category|{{{category}}}}}{{#dpl:
|mode=userformat
|mode=userformat
|includepage={Image}:1,{IAbility}.dpl,{IComponent}.dpl
|includepage={Image}:1,{IAbility}:1,{IComponent}.dpl
|uses=Template:IAbility|Template:IComponent
|includematchparsed=,{{#if:{{#pos:{{PAGENAME}}|Component}}||/{{PAGENAME}}/s}},
|uses=Template:IAbility{{!}}Template:IComponent
|category={{#dplvar:category}}
|category={{#dplvar:category}}
|linksto={{PAGENAME}}
|linksto={{PAGENAME}}
Line 10: Line 12:
|resultsheader=\n<h3>{{#dplvar: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: 24px;">,</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>]],,,
|secseparators=<span style="position: absolute; left: 0; pointer-events: none;">[[File:,|20px|link=|alt=]]</span>,[[%PAGE%|<span style="margin-left: -24px; padding-left: 24px;">%PAGE%</span>]]XX,XX,,
|titlematch=%
|titlematch=%
}}
}}
|XX.*?XX}}

Latest revision as of 09:45, 17 October 2022