Template:Abbr/testcases

From IDU Wiki
Jump to navigation Jump to search


  • {{Abbr}} →
  • {{Abbr/sandbox}} →
  • {{Abbr|test}} → test
  • {{Abbr/sandbox|test}} → test
  • {{Abbr||this is a test}} →
  • {{Abbr/sandbox||this is a test}} →
  • {{Abbr|test|this is a test}} → test
  • {{Abbr/sandbox|test|this is a test}} → test


  • {{Abbr|test|this is a test|u}} → test
  • {{Abbr/sandbox|test|this is a test|u}} → test
  • {{Abbr|test|this is a test|unicode}} → test
  • {{Abbr/sandbox|test|this is a test|unicode}} → test
  • {{Abbr|test|this is a test|Unicode}} → test
  • {{Abbr/sandbox|test|this is a test|Unicode}} → test


  • {{Abbr|Abbreviation|Meaning, containing "quoted text"}} → Abbreviation
  • {{Abbr/sandbox|Abbreviation|Meaning, containing "quoted text"}} → Abbreviation
  • {{Abbr|Abbreviation|Meaning, containing "quoted text"}} → Abbreviation
  • {{Abbr/sandbox|Abbreviation|Meaning, containing "quoted text"}} → Abbreviation
  • {{Abbr|Abbreviation|Meaning, containing <small>some</small> ''text'' and '''wikimarkup''' }} → Abbreviation
  • {{Abbr/sandbox|Abbreviation|Meaning, containing <small>some</small> ''text'' and '''wikimarkup''' }} → Abbreviation


  • {{Abbr|&#35;|Meaning}} → #
  • {{Abbr/sandbox|&#35;|Meaning}} → #


  • {{Abbr|UK|United Kingdom|class=country-name|id=foobar}} → UK
  • {{Abbr/sandbox|UK|United Kingdom|class=country-name|id=foobar}} → UK


  • {{Abbr|[[foo]]|foobar}} → foo
  • {{Abbr/sandbox|[[foo]]|foobar}} → foo
  • {{Abbr|foo|[[foobar]]}} → foo
  • {{Abbr/sandbox|foo|[[foobar]]}} → foo

Tests with lint errors[edit source]

  • {{Abbr|*|Meaning}} → *
  • {{Abbr/sandbox|*|Meaning}} → *
  • {{Abbr|#|Meaning}} → #
  • {{Abbr/sandbox|#|Meaning}} → #
  • {{Abbr|;|Meaning}} → ;
  • {{Abbr/sandbox|;|Meaning}} → ;