Difference between revisions of "Template:!"

From Second Life Wiki
Jump to navigation Jump to search
 
(Get rid of the horrible [1] external link...)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
|
|<noinclude>{{historical|This was a common template on just about every wiki which was replaced in mid 2014 (for 1.24 release) in favour of a parser function doing the same thing. See [https://www.mediawiki.com/wiki/gerrit:136234 the relevant issue on MediaWiki's Gerrit].}}{{ {{TNTN|documentation}} |content=
 
''As of 2014 this is now a "magic word", the template can be deleted or kept as dummy.''
 
This template existed to provide a way to easily escape the raw pipe character (<code><nowiki>|</nowiki></code>) in a situation where markup containing it (i.e. a {{lls|Help:Tables|wikitable}}) needs to be passed as a parameter to a template. Parser functions will mangle wikitable syntax and pipe characters, treating all the raw pipe characters as parameter dividers. This template 'hides' the pipe from the MediaWiki parser, ensuring that it is not considered until after all the templates and variables on a page have been expanded. It will then be interpreted as a table row or column separator.
 
== See also ==
 
* {{Wikipedia|Help:Extension:ParserFunctions#Escaping_pipe_characters_in_tables|Escaping pipe characters in tables}}
 
[[Category:Workaround templates]]
 
}}</noinclude>

Latest revision as of 10:30, 22 September 2022

|

Template-info.png Template documentation

As of 2014 this is now a "magic word", the template can be deleted or kept as dummy.

This template existed to provide a way to easily escape the raw pipe character (|) in a situation where markup containing it (i.e. a Help:Tables) needs to be passed as a parameter to a template. Parser functions will mangle wikitable syntax and pipe characters, treating all the raw pipe characters as parameter dividers. This template 'hides' the pipe from the MediaWiki parser, ensuring that it is not considered until after all the templates and variables on a page have been expanded. It will then be interpreted as a table row or column separator.

See also