Template:IncarnateList/query: Difference between revisions
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} | |includepage={Image}:1,{IAbility}:1,{IComponent}.dpl | ||
|uses=Template:IAbility | |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: | |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:,| | |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}} |