Template:List Blocks From Drawer: Difference between revisions

From StarLogo Nova Wiki
No edit summary
Tag: Manual revert
No edit summary
 
(23 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>[[{{{drawer}}}]]</li>
<!-- Header for the category -->
{{#ifeq: {{{language|en}}} | en | {{#dpl: category={{{drawer}}}}} | else}}
{{{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) -->
{{#dpl: nottitlematch=%/en | nottitlematch=%/es | category={{{1}}} }}
</ul>
</ul>

Latest revision as of 13:32, 14 July 2023