Template:!/doc: Difference between revisions

From Feminist SF Wiki
Jump to navigation Jump to search
(nowiki)
m (Protected "Template:!/doc": Excessive spamming ([edit=autoconfirmed] (indefinite) [move=autoconfirmed] (indefinite)))
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{template doc page transcluded}}{{protected template}}</includeonly><noinclude>{{template doc page viewed directly}}</noinclude>
<includeonly>{{template doc page transcluded}}</includeonly><noinclude>{{template doc page viewed directly}}</noinclude>
<!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE -->
<!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE -->
==Documentation==
==Documentation==
Line 15: Line 15:
For obvious reasons this is a '''high risk template''', and it cannot be substituted.
For obvious reasons this is a '''high risk template''', and it cannot be substituted.


{{Lts|{{PAGENAME}}}}
<nowiki>{{Lts|{{PAGENAME}}}}</nowiki>
<includeonly>
<includeonly>
<!-- ADD CATEGORIES BELOW THIS LINE -->
<!-- ADD CATEGORIES BELOW THIS LINE -->
[[Category:Templates|{{PAGENAME}}]]
[[Category:Wikipedia-based templates|{{PAGENAME}}]]
 
[[Category:Untested templates|{{PAGENAME}}]]
<!-- ADD INTERWIKIS BELOW THIS LINE -->
<!-- ADD INTERWIKIS BELOW THIS LINE -->


</includeonly>
</includeonly>

Latest revision as of 18:12, 24 May 2010

File:Edit-paste.svg
This is the template documentation page for {{!}}.
It is not necessarily intended to be viewed directly. If it uses variables, some links may appear broken. Do not replace these variables with hardcoded page names or URLs.

Documentation

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.

{{Lts|{{PAGENAME}}}}