Template

Difference between revisions of "!/doc"

From Joomla! Documentation

< Template:!
m
m
Line 1: Line 1:
This is an auxiliary template allowing to encode "<code>|</code>" within template and parser function parameters. To get the symbol in final output this template is unnecessary, better use "<code>&amp;#124;</code>" which is rendered the same. Use this template in parameter values of [[mediawiki:help:template|template]]s and [[mediawiki:help:parser function|parser function]]s of which the result is used in [[mediawiki:help:table|table]] syntax, since this requires the "real" pipe character.  
+
This is an auxiliary template allowing to encode "<code>|</code>" within template and parser function parameters. To get the symbol in final output this template is unnecessary, better use "<code>&amp;#124;</code>" which is rendered the same. Use this template in parameter values of templates and parser functions of which the result is used in table syntax, since this requires the "real" pipe character.  
  
 
This template cannot be used for putting the character as text in a wiki table; in that case, again, "<code>&amp;#124;</code>" can be used.
 
This template cannot be used for putting the character as text in a wiki table; in that case, again, "<code>&amp;#124;</code>" can be used.
  
 
Note that the table syntax code "<code>!</code>" (exclamation mark) can be used directly in parameter values, so for that a template like this is not needed.
 
Note that the table syntax code "<code>!</code>" (exclamation mark) can be used directly in parameter values, so for that a template like this is not needed.

Revision as of 12:37, 20 January 2008

This is an auxiliary template allowing to encode "|" within template and parser function parameters. To get the symbol in final output this template is unnecessary, better use "&#124;" which is rendered the same. Use this template in parameter values of templates and parser functions of which the result is used in table syntax, since this requires the "real" pipe character.

This template cannot be used for putting the character as text in a wiki table; in that case, again, "&#124;" can be used.

Note that the table syntax code "!" (exclamation mark) can be used directly in parameter values, so for that a template like this is not needed.