User:FrozenPlum/Sandbox/Issues: Difference between revisions

From DynamicPageList3 Manual
Content added Content deleted
imported>FrozenPlum
mNo edit summary
imported>FrozenPlum
m (Cleanup)
Line 5: Line 5:
{{#dpl:
{{#dpl:
|category=+Countries in Europe¦Countries in North America
|category=+Countries in Europe¦Countries in North America
|category=*Part of NATO
|skipthispage=no
|headingmode=ordered
|headingmode=ordered
|ordermethod=category,pagetouched
|ordermethod=category,pagetouched
Line 14: Line 12:


The {{DPL|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.'''):
The {{DPL|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:'''<br>
'''Result:'''<br>

{{#dpl:
{{#dpl:
|category=+Countries in Europe¦Countries in North America
|category=+Countries in Europe¦Countries in North America
|category=*Part of NATO
|skipthispage=no
|headingmode=ordered
|headingmode=ordered
|ordermethod=category,pagetouched
|ordermethod=category,pagetouched
Line 26: Line 24:


Where if a <code>-</code> 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.
Where if a <code>-</code> 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.

<pre>
<pre>
{{#dpl:
{{#dpl:
|category=-Countries in Europe¦Countries in North America
|category=-Countries in Europe¦Countries in North America
|category=*Part of NATO
|headingmode=ordered
|headingmode=ordered
|ordermethod=category,pagetouched
|ordermethod=category,pagetouched
Line 35: Line 33:
}}
}}
</pre>
</pre>

'''Result:'''<br>
'''Result:'''<br>

{{#dpl:
{{#dpl:
|category=-Countries in Europe¦Countries in North America
|category=-Countries in Europe¦Countries in North America
|category=*Part of NATO
|headingmode=ordered
|headingmode=ordered
|ordermethod=category,pagetouched
|ordermethod=category,pagetouched

Revision as of 05:19, 9 April 2022

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

Issue 1

{{#dpl:
|category=+Countries in Europe¦Countries in North America
|headingmode=ordered
|ordermethod=category,pagetouched
|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:

{{#dpl: |category=+Countries in Europe¦Countries in North America |headingmode=ordered |ordermethod=category,pagetouched |noresultsheader=
no result returned }}


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,pagetouched
|noresultsheader=<br>''no result returned''
}}

Result:

{{#dpl: |category=-Countries in Europe¦Countries in North America |headingmode=ordered |ordermethod=category,pagetouched |noresultsheader=
no result returned }}