Template:Tmpl/testcases

Testing sandbox version

edit

{{Tmpl/sandbox}}

Template:Tmpl/sandbox

Testing main template

edit

{{Tmpl}}


Single replacement

edit
  • {{tmpl|0=Text with $1 in the middle.|replacement}}

Text with replacement in the middle.

  • {{tmpl|0==$1=|text here}}

=text here=

Parameter list with reuse

edit
  • {{tmpl|0= <$1 name=$3>$2</$1>|tag|content|value}}

<tag name=value>content</tag>

More elaborated

edit
  • {{tmpl|0=See $1 and $2|1=[[#Ontario-Natural features|natural features of Ontario]]|2=[[#Newfoundland-Natural features|natural features of Newfoundland]]}}

See [[#Ontario-Natural features|natural features of Ontario]] and [[#Newfoundland-Natural features|natural features of Newfoundland]]