Template:List Blocks From Drawer: Difference between revisions

From StarLogo Nova Wiki
No edit summary
Tag: Reverted
No edit summary
 
(13 intermediate revisions by the same user not shown)
Line 1: Line 1:
<!-- this template takes a category name and uses Extension:DPL to find all main pages (no language version, so it will be in English) that are in that category -->
<!-- var 1 is the category name -->
<ul>
<ul>
<li>[[{{{1}}}]]</li>
<!-- Header for the category -->
<DPL>
{{{1}}}
category = {{{1}}}
<!-- finds all pages by searching for that category and removing any that have the /en or /es (for Variables drawer) at the end of the title (without this there would be a base and /en version of each page) -->
nottitlematch = %/en
{{#dpl: nottitlematch=%/en | nottitlematch=%/es | category={{{1}}} }}
format = ,**[[%PAGE%{{{2|}}}|{{#dpl: title=Translations:%PAGE%/Page display title/{{{2|en}}}| include = *}}]],\n
</DPL>
</ul>
</ul>

Latest revision as of 13:32, 14 July 2023