Jump to content

Template:Tx/doc

From SeptemWiki


Purpose

This is just a simple way to display a template example in curly braces instead of typing out

 <code> ... </code>

Example

{{tx|stub}}
{{stub}}

Displaying unnamed parameters

You can show up to 10 parameters without worrying about the pipe characters being parsed:

{{tx|main|Triparic language}}
{{main|Triparic language}}

Displaying named parameters

But if you want to show a named parameter with an equals sign, you need to use

{{=}}

to "protect" the equals sign:

{{tx|foo|bar{{=}}baz}}
{{foo|bar=baz}}