Template:!!: Difference between revisions

Template page
(Created page with "<includeonly>||</includeonly><noinclude>This template exists to provide a way to easily escape a raw double pipe character (||) in a situation where markup containing it (e.g....")
 
m (Protected "Template:!!": High traffic page ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)))
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>||</includeonly><noinclude>This template exists to provide a way to easily escape a raw double pipe character (||) in a situation where markup containing it (e.g. a table) needs to be passed as a parameter to a template. Parser functions will treat all the raw pipe characters as parameter dividers. This template 'hides' the pipes 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.[[Category:Templates]]</noinclude>
<includeonly>||</includeonly><noinclude>This template exists to provide a way to easily escape a raw double pipe character (<code><nowiki>||</nowiki></code>) in a situation where markup containing it (e.g. a table) needs to be passed as a parameter to a template. Parser functions will treat all the raw pipe characters as parameter dividers. This template 'hides' the pipes 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.
 
== Attribution and re-use ==
This template has been adapted from [https://en.wikipedia.org/wiki/Template:!! Wikipedia] released under the [https://creativecommons.org/licenses/by-sa/3.0/ Creative Commons Attribution-ShareAlike 3.0 License].
[[Category:Templates]]</noinclude>

Latest revision as of 08:48, 15 January 2022

This template exists to provide a way to easily escape a raw double pipe character (||) in a situation where markup containing it (e.g. a table) needs to be passed as a parameter to a template. Parser functions will treat all the raw pipe characters as parameter dividers. This template 'hides' the pipes 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.

Attribution and re-use

This template has been adapted from Wikipedia released under the Creative Commons Attribution-ShareAlike 3.0 License.