User:Oznogon/Statically generate DPL lists of domains
Statically generates lists of domains based on existing categories:
{{subst:#dpl: |category=Deities by domain |addcategories=false |includesubpages=false |shownamespace=false |count=100 |ordermethod=title |mode=inline |format=,[[%PAGE%|²{subst:#invoke:String¦replace¦%TITLE%¦ domain deities¦¦}²]],, |inlinetext= • }} {{subst:#dpl: |category=Deities by 2E domain |addcategories=false |includesubpages=false |shownamespace=false |count=100 |ordermethod=title |mode=inline |format=,[[%PAGE%|²{subst:#invoke:String¦replace¦%TITLE%¦ domain deities (2E)¦¦}²]],, |inlinetext= • }}
- Get categories
- List inline
- Remove extraneous text from category titles
inlinetext creates bullets, but you can also search and replace • for line breaks and standard list items.