Vorlage:!: Unterschied zwischen den Versionen

Aus Lechzikon
Wechseln zu: Navigation, Suche
({{template doc}})
(Changed)
Zeile 1: Zeile 1:
|<noinclude>{{template doc}}</noinclude>
+
12
 +
----
 +
An auxiliary template allowing to encode "<code>|</code>"
 +
within template parameters. It is '''unnecessary''' to get a
 +
"<code>|</code>" in these cases, better use "<code>&amp;#124;</code>"
 +
for this purpose. However the "<code>|</code>" delimiter for a
 +
Wiki table has to be escaped by a template if it's used
 +
within a template, see also [[w:WP:QIF]].
 +
 
 +
Note that there's no such problem with "<code>!</code>" (exclamation mark), it
 +
only affects "<code>|</code>" (vertical bar) in conjunction
 +
with the [[m:Help:Parameter_default]] mechanism within tables.
 +
 
 +
[[Category:Helper templates|{{PAGENAME}}]]
 +
</noinclude>

Version vom 17. April 2007, 12:41 Uhr

12


An auxiliary template allowing to encode "|" within template parameters. It is unnecessary to get a "|" in these cases, better use "&#124;" for this purpose. However the "|" delimiter for a Wiki table has to be escaped by a template if it's used within a template, see also w:WP:QIF.

Note that there's no such problem with "!" (exclamation mark), it only affects "|" (vertical bar) in conjunction with the m:Help:Parameter_default mechanism within tables.