Difference between revisions of "Template:Disambiguation/testcases"

From blackwiki
Jump to navigation Jump to search
imported>Newslinger
(Add test cases for "type" parameter)
imported>Newslinger
(The word "example" makes more sense here)
Line 54: Line 54:
  
 
<pre>
 
<pre>
{{Disambiguation/sandbox| type=newspaper }}
+
{{Disambiguation/sandbox| type=example }}
 
</pre>
 
</pre>
{{Disambiguation/sandbox| type=newspaper }}
+
{{Disambiguation/sandbox| type=example }}
  
 
=== Testing {{tl|Disambiguation}} ===
 
=== Testing {{tl|Disambiguation}} ===
Line 67: Line 67:
  
 
<pre>
 
<pre>
{{Disambiguation| type=newspaper }}
+
{{Disambiguation| type=example }}
 
</pre>
 
</pre>
{{Disambiguation| type=newspaper }}
+
{{Disambiguation| type=example }}

Revision as of 09:32, 4 July 2019

Testing {{Disambiguation/sandbox}}

The "demospace" parameter used in these test cases affects how this template categorises. The current code of this template (April 2009) only keeps two kinds of namespaces apart: Main (article) space, and all other spaces. If you want to check the categorisation then you need to remark away all examples but one, and then choose preview and then see what categories it produces at the bottom of your preview page.


{{Disambiguation/sandbox}}

__DISAMBIG__

{{Disambiguation/sandbox| number=y }}

__DISAMBIG__

{{Disambiguation/sandbox| road }}

__DISAMBIG__

{{Disambiguation/sandbox| road=y }}

__DISAMBIG__

{{Disambiguation/sandbox| cleanup=y }}

__DISAMBIG__

{{Disambiguation/sandbox| airport=y }}

__DISAMBIG__

{{Disambiguation/sandbox| callsign=y }}

__DISAMBIG__

{{Disambiguation/sandbox| demospace=wikipedia | road | school }}

__DISAMBIG__


{{Disambiguation/sandbox| demospace=main | anything | something }}

__DISAMBIG__


{{Disambiguation/sandbox| type=example }}

__DISAMBIG__

Testing {{Disambiguation}}

{{Disambiguation}}

__DISAMBIG__


{{Disambiguation| type=example }}

__DISAMBIG__