Template:((/doc: Difference between revisions

From Sword of Moonlight Wiki
Jump to navigation Jump to search
dlw>MrBot5
→‎top: +Category:Template documentation
 
m 1 revision imported
 
(No difference)

Latest revision as of 18:53, 12 September 2024

Template call
(m for magic word)
Output (delayed interpretation as wikimarkup) HTML alternative (never interpreted as wikimarkup) Why you might want to use this
{{!}} (m) | | or {{pipe}} Displaying pipe characters inside of a parser function
{{=}} (m) = = Displaying equal signs inside of unnamed parameters (e.g. {{MyTemplate|1+1=2}} will assign 2 to {{{1+1|}}}; {{MyTemplate|1+1{{=}}2}} will do what you want)
{{!!}} || || Displaying a break between two table cells inside of a parser function
{{!(}} [ [ Displaying a bracket inside of an external link
{{)!}} ] ] Displaying a bracket inside of an external link
{{!((}} [[ [[ Displaying a bracket inside of a link
{{))!}} ]] ]] Displaying a bracket inside of a link
{{(}} { { Escaping a single brace immediately next to a template or parser function to avoid turning it into a parameter
{{)}} ] } Escaping a single brace immediately next to a template or parser function to avoid turning it into a parameter
{{((}} {{ {{ Displaying open braces for a template without actually transcluding that template
{{))}} }} }} Displaying closed braces for a template without actually transcluding that template
{{(((}} {{{ {{{ Displaying a template parameter's open curly braces without actually using that variable
{{)))}} }}} }}} Displaying a template parameter's closed curly braces without actually using that variable
{{(!}} {| {| Starting a table inside of a parser function
{{!-}} |- |- Starting a new table row inside of a parser function
{{!)}} |} |} Closing a table inside of a parser function