User:FrozenPlum/Sandbox/Issues: Difference between revisions

m
no edit summary
imported>FrozenPlum
mNo edit summary
imported>FrozenPlum
mNo edit summary
 
(One intermediate revision by the same user not shown)
Line 5:
{{#dpl:
|category=+Countries in Europe¦Countries in North America
|category=*Part of NATO
|skipthispage=no
|headingmode=ordered
|ordermethod=category,pagetouchedfirstedit
|noresultsheader=<br>''no result returned''
}}
Line 14 ⟶ 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.'''):
 
'''Result:'''<br>
 
{{#dpl:
|category=+Countries in Europe¦Countries in North America
|category=*Part of NATO
|skipthispage=no
|headingmode=ordered
|ordermethod=category,pagetouchedfirstedit
|noresultsheader=<br>''no result returned''
}}
Line 26 ⟶ 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.
 
<pre>
{{#dpl:
|category=-Countries in Europe¦Countries in North America
|category=*Part of NATO
|headingmode=ordered
|ordermethod=category,pagetouchedfirstedit
|noresultsheader=<br>''no result returned''
}}
</pre>
 
'''Result:'''<br>
 
{{#dpl:
|category=-Countries in Europe¦Countries in North America
|category=*Part of NATO
|headingmode=ordered
|ordermethod=category,pagetouchedfirstedit
|noresultsheader=<br>''no result returned''
}}
Anonymous user