This is an archive copy of wikilivres.ca as of 18 February 2017 (from the WikiTeam dump). The original site is closed.

Template:!: Difference between revisions

Free texts and images.
Jump to navigation Jump to search
imported>CBDunkerson
Putting in customized message box since the standard 'esoteric' does not really describe the situation with this template accurately.
imported>Yann
m 30 revisions from commons:Template:!
 
(30 intermediate revisions by 23 users not shown)
Line 1: Line 1:
|<noinclude>
|<noinclude>
{| class="messagebox" style="clear: both;"
 
|-
 
| align="center" | [[Image:Exquisite-khelpcenter.png|50px]]
| align="left" width="95%" | This template is used in conjunction with '''''optional''''' parameters: see the [[{{TALKSPACE}}:{{PAGENAME}}|talk page]] for details.
----
This template is related to some extremely complicated and esoteric features of template syntax.
Please do not attempt to alter it unless you are certain that you understand the setup '''and''' are prepared to repair any consequent collateral damage if the results are unexpected.  Any experiments should be conducted in the [[Template:Template sandbox|template sandbox]] or your user space.
|}
[[Category:Esoteric templates|{{PAGENAME}}]]
----
----
This is an auxiliary template allowing to encode "<code>|</code>"
This is an auxiliary template allowing to encode "<code>|</code>"
Line 15: Line 8:
for this purpose. However the "<code>|</code>" delimiter for a
for this purpose. However the "<code>|</code>" delimiter for a
Wiki table has to be escaped by a template if it's used
Wiki table has to be escaped by a template if it's used
within a template, see also [[WP:QIF]].
within a template, see also [[w:WP:QIF]].


Note that there's no such problem with "<code>!</code>" (exclamation mark), it
Note that there's no such problem with "<code>!</code>" (exclamation mark), it
only affects "<code>|</code>" (vertical bar) in conjunction
only affects "<code>|</code>" (vertical bar) in conjunction
with the [[m:Help:Parameter_default]] mechanism within tables.
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:Workaround templates]]
[[Category:Wikipedia special effects templates|{{PAGENAME}}]]
[[vi:Tiêu bản:!]]
[[ru:Шаблон:!]]
</noinclude>
</noinclude>

Latest revision as of 11:04, 11 February 2012

|



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