« Modèle:! » : différence entre les versions

Une page de Wikiquote, le recueil des citations libres.
Contenu supprimé Contenu ajouté
Aucun résumé des modifications
imported>CBDunkerson
m Adding 'vi' interwiki link
Ligne 1 : Ligne 1 :
|<noinclude>
|
----
This is 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 [[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.

For obvious reasons this is a '''high risk template''',
and it cannot be [[WP:SUBST|substituted]].

{{Lts|{{PAGENAME}}}}

[[Category:Template templates|{{PAGENAME}}]]
[[Category:Wikipedia special effects templates|{{PAGENAME}}]]
[[vi:Tiêu bản:!]]
</noinclude>

Version du 8 avril 2006 à 22:33

|


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

For obvious reasons this is a high risk template, and it cannot be substituted.

Modèle:Lts