Jump to content

User:FrozenPlum/Sandbox/Issues

From DynamicPageList3 Manual

This is a space for me to track issues as I work through the examples.

Issue 1

[edit | edit source]
{{#dpl:
|category=+Countries in Europe¦Countries in North America
|headingmode=ordered
|ordermethod=category,firstedit
|noresultsheader=<br>''no result returned''
}}

The category section states, that "a '+' (before the category) means that only the categories listed in that statement are allowed to appear as headings in the output," yet when this is done there are no category headings in the result (are these inverted or am I misunderstanding their docs? Also, no results appear.):

Result:

  1. Countries in Europe
  2. Countries in North America


Where if a - dash is used instead, headings appear in the result, yet the documents state: "a '-' means that the categories listed in that statement are NOT allowed to appear as headings in the output (but all others)." Plus, categories are appearing as headings in the output that aren't included in the OR statement.

{{#dpl:
|category=-Countries in Europe¦Countries in North America
|headingmode=ordered
|ordermethod=category,firstedit
|noresultsheader=<br>''no result returned''
}}

Result:

  1. Countries in Europe
  2. Countries in North America
  3. Countries in United Kingdom
  4. Country examples
  5. NATO membership debates
  6. Part of NATO
Cookies help us deliver our services. By using our services, you agree to our use of cookies.