Difference between revisions of "Template:!"
Jump to navigation
Jump to search
Template documentation
Joelmartin (talk | contribs) m (Text replacement - "<tvar|(.*)>" to "") |
Joelmartin (talk | contribs) m (Undo revision 10194 by Joelmartin (talk)) Tag: Undo |
||
Line 1: | Line 1: | ||
− | {{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 [[gerrit:136234]]}}{{ {{TNTN|documentation}} |content= | + | |<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 [[gerrit:136234]]}}{{ {{TNTN|documentation}} |content= |
''As of 2014 this is now a "magic word", the template can be deleted or kept as dummy.'' | ''As of 2014 this is now a "magic word", the template can be deleted or kept as dummy.'' | ||
− | ) in a situation where markup containing it (i.e. a {{ll|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. | + | 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 {{ll|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 == | == See also == | ||
Line 11: | Line 11: | ||
[[Category:Workaround templates]] | [[Category:Workaround templates]] | ||
[[Category:Templates]] | [[Category:Templates]] | ||
+ | }}</noinclude> |
Latest revision as of 17:18, 21 December 2019
|
![]() | This page is obsolete. It is being retained for archival purposes. It may document extensions or features that are obsolete and/or no longer supported. Do not rely on the information here being up-to-date. 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 gerrit:136234 |

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 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.