Difference between revisions of "Template:For/testcases"

From blackwiki
Jump to navigation Jump to search
imported>Andrybak
(use Template:test case; use Template:test case nowiki; add section headers)
imported>Andrybak
m (→‎With {{!}}: fix typo)
Line 19: Line 19:
  
 
=== With {{tnull|!}} ===
 
=== With {{tnull|!}} ===
{{test case nowiki|format=inline|showcode=yes|<nowiki>{{__TEMPLATENAME__|OTHER TOPIC|PAGE1 (disambiguation){{!}}PAGE1|PAGE2 (disambiguation){{!}}PAGE2|PAGE3 (disambiguation){{!}}PAGE3</nowiki>}}
+
{{test case nowiki|format=inline|showcode=yes|<nowiki>{{__TEMPLATENAME__|OTHER TOPIC|PAGE1 (disambiguation){{!}}PAGE1|PAGE2 (disambiguation){{!}}PAGE2|PAGE3 (disambiguation){{!}}PAGE3}}</nowiki>}}
  
 
=== Parameter "category" ===
 
=== Parameter "category" ===

Revision as of 21:58, 8 May 2020

Positional parameters


  • {{For|OTHER TOPIC|PAGE1}}
  • {{For/sandbox|OTHER TOPIC|PAGE1}}

  • {{For|OTHER TOPIC|PAGE1|PAGE2}}
  • {{For/sandbox|OTHER TOPIC|PAGE1|PAGE2}}

  • {{For|OTHER TOPIC|PAGE1|PAGE2|PAGE3}}
  • {{For/sandbox|OTHER TOPIC|PAGE1|PAGE2|PAGE3}}

  • {{For|OTHER TOPIC|PAGE1|PAGE2|PAGE3|PAGE4}}
  • {{For/sandbox|OTHER TOPIC|PAGE1|PAGE2|PAGE3|PAGE4}}

Empty positional parameters

  • {{For|USE1|PAGE1||PAGE3}}
  • {{For/sandbox|USE1|PAGE1||PAGE3}}

With anchor links

With {{!}}

  • {{For|OTHER TOPIC|PAGE1 (disambiguation){{!}}PAGE1|PAGE2 (disambiguation){{!}}PAGE2|PAGE3 (disambiguation){{!}}PAGE3}}
  • {{For/sandbox|OTHER TOPIC|PAGE1 (disambiguation){{!}}PAGE1|PAGE2 (disambiguation){{!}}PAGE2|PAGE3 (disambiguation){{!}}PAGE3}}

Parameter "category"

  • {{For|OTHER TOPIC|PAGE1|PAGE2|category=no}}
  • {{For/sandbox|OTHER TOPIC|PAGE1|PAGE2|category=no}}

  • {{For|other uses|PAGE1|PAGE2|category=no}}
  • {{For/sandbox|other uses|PAGE1|PAGE2|category=no}}