« Modèle:! » : différence entre les versions
Contenu supprimé Contenu ajouté
mAucun résumé des modifications |
imported>CBDunkerson m Adding interwiki - Russian |
||
Ligne 1 : | Ligne 1 : | ||
|<noinclude> |
|<noinclude> |
||
---- |
---- |
||
This is an auxiliary template allowing to encode "<code>|</code>" |
|||
{{Documentation modèle}} |
|||
within template parameters. It is '''unnecessary''' to get a |
|||
"<code>|</code>" in these cases, better use "<code>&#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 |
|||
Ce modèle spécial retourne uniquement le caractère « barre verticale » '''<nowiki>|</nowiki>''' (''pipe''). |
|||
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''', |
|||
; Syntaxe <nowiki>:</nowiki> |
|||
and it cannot be [[WP:SUBST|substituted]]. |
|||
: <tt><nowiki>{{</nowiki>{{PAGENAME}}<nowiki>}}</nowiki></tt> |
|||
{{Lts|{{PAGENAME}}}} |
|||
; Note <nowiki>:</nowiki> |
|||
: Ce modèle spécial permet d’utiliser la [[Aide:Tableaux|wikisyntaxe pour les tableaux]] dans les valeurs de paramètres passés lors de l’appel d’autres modèles, puisqu’autrement il est impossible de passer directement ce caractère dans les valeurs de paramètres de modèles. |
|||
⚫ | |||
; Exemples <nowiki>:</nowiki> |
|||
[[Category:Wikipedia special effects templates|{{PAGENAME}}]] |
|||
: Voir {{M|Aphorisme}} |
|||
[[vi:Tiêu bản:!]] |
|||
[[ru:Шаблон:!]] |
|||
[[Catégorie:Modèle de l'espace "Modèle"|{{PAGENAME}}]] |
|||
[[Catégorie:Modèle de formatage|{{PAGENAME}}]] |
|||
⚫ | |||
[[en:Template:!]] |
|||
</noinclude> |
</noinclude> |
Version du 2 mai 2006 à 00:24
|
This is an auxiliary template allowing to encode "|
"
within template parameters. It is unnecessary to get a
"|
" in these cases, better use "|
"
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.