Template:!: Difference between revisions

From Minetest
>MrIbby
m (Moved doc to /doc subpage)
>MrIbby
m (Moved doc to /doc subpage)
(No difference)

Revision as of 22:18, 11 May 2017

|

Documentation icon.png Documentation[view] [edit] [history] [purge]


This template provides 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.[1]

References

  1. Template:!. (2017, February 19). MediaWiki, The Free Wiki Engine. Retrieved 05:18, May 12, 2017 from https://www.mediawiki.org/w/index.php?title=Template:!&oldid=2403405.

See also