https://cvillepedia.org/index.php?title=Template:Template_doc&feed=atom&action=historyTemplate:Template doc - Revision history2024-03-28T15:43:07ZRevision history for this page on the wikiMediaWiki 1.39.3https://cvillepedia.org/index.php?title=Template:Template_doc&diff=11444&oldid=prevB.S. Lawrence: broken link2009-11-09T23:10:52Z<p>broken link</p>
<table style="background-color: #fff; color: #202122;" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en">
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 19:10, 9 November 2009</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l19">Line 19:</td>
<td colspan="2" class="diff-lineno">Line 19:</td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>Note that no special template is needed for "<code>!</code>" (exclamation mark).</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>Note that no special template is needed for "<code>!</code>" (exclamation mark).</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>This is a '''high risk template''', and it usually cannot be [<del style="font-weight: bold; text-decoration: none;">[WP</del>:SUBST<del style="font-weight: bold; text-decoration: none;">|</del>substituted<del style="font-weight: bold; text-decoration: none;">]</del>] (see conditions for substing on [[#Substitution|the section below]]).</div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>This is a '''high risk template''', and it usually cannot be [<ins style="font-weight: bold; text-decoration: none;">http://en.wikipedia.org/wiki/Wikipedia</ins>:SUBST substituted] (see conditions for substing on [[#Substitution|the section below]]).</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>=== Substitution ===</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>=== Substitution ===</div></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>The template page states that <nowiki>{{!}}</nowiki> cannot be substituted. That's not completely true because it is perfectly okay to [<del style="font-weight: bold; text-decoration: none;">[WP</del>:SUBST<del style="font-weight: bold; text-decoration: none;">|substitute]</del>] <nowiki>{{!}}</nowiki> as soon as an unescaped "'''<tt>|</tt>'''" works as expected, i.e. after substituting the template containing <nowiki>{{!}}</nowiki>, or after eliminating an</div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>The template page states that <nowiki>{{!}}</nowiki> cannot be substituted. That's not completely true because it is perfectly okay to [<ins style="font-weight: bold; text-decoration: none;">http://en.wikipedia.org/wiki/Wikipedia</ins>:SUBST <ins style="font-weight: bold; text-decoration: none;">substituted</ins>] <nowiki>{{!}}</nowiki> as soon as an unescaped "'''<tt>|</tt>'''" works as expected, i.e. after substituting the template containing <nowiki>{{!}}</nowiki>, or after eliminating an</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>[[m:ParserFunctions|#if:]] containing <nowiki>{{!}}</nowiki>.</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>[[m:ParserFunctions|#if:]] containing <nowiki>{{!}}</nowiki>.</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td></tr>
</table>B.S. Lawrencehttps://cvillepedia.org/index.php?title=Template:Template_doc&diff=3415&oldid=prev1099047208: New page: {{Documentation subpage}} <includeonly>{{pp-template|small=yes}}<!-- DO NOT move the "pp-template" to the template page since the ! template should be as short as possible to save server l...2009-05-16T02:54:06Z<p>New page: {{Documentation subpage}} <includeonly>{{pp-template|small=yes}}<!-- DO NOT move the "pp-template" to the template page since the ! template should be as short as possible to save server l...</p>
<p><b>New page</b></p><div>{{Documentation subpage}}<br />
<includeonly>{{pp-template|small=yes}}<!-- DO NOT move the "pp-template" to the template page since the ! template should be as short as possible to save server load (to not break template inclusion limits). --><br />
{{ombox<br />
| type = content<br />
| text = '''This template is used on [[Special:MostLinkedTemplates| 3,000,000+ pages]], and is the single most used template on the English Wikipedia.''' <br> To avoid any disruptions and to save server load, any changes should first be tested in this template's [[/sandbox]] or [[/testcases]] subpage, or in your own [[Special:Mypage/Test1|user space]]. The tested changes can then be added in one single edit to this template. As a courtesy to other users, please discuss any changes at the [[{{TALKPAGENAME}}|talk page]] before implementing them.<br />
}}<br />
</includeonly><br />
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --><br />
<br />
=== Usage ===<br />
<br />
This is the {{tl|!}} meta-template.<br />
<br />
This is an auxiliary template allowing to encode "<code>|</code>"<br />
within template parameters. It is necessary if the character is used in wiki table syntax, or if the parameter is automatically wikilinked and you wish to use a pipe to specify different link text from the target page name. In other cases it is better to use "<code>&amp;#124;</code>". <br />
<br />
This template cannot be used for putting the character as text in a wiki table; in that case, again, "<code>&amp;#124;</code>" can be used.<br />
<br />
Note that no special template is needed for "<code>!</code>" (exclamation mark).<br />
<br />
This is a '''high risk template''', and it usually cannot be [[WP:SUBST|substituted]] (see conditions for substing on [[#Substitution|the section below]]).<br />
<br />
=== Substitution ===<br />
The template page states that <nowiki>{{!}}</nowiki> cannot be substituted. That's not completely true because it is perfectly okay to [[WP:SUBST|substitute]] <nowiki>{{!}}</nowiki> as soon as an unescaped "'''<tt>|</tt>'''" works as expected, i.e. after substituting the template containing <nowiki>{{!}}</nowiki>, or after eliminating an<br />
[[m:ParserFunctions|#if:]] containing <nowiki>{{!}}</nowiki>.<br />
<br />
=== See also ===<br />
<br />
* {{tl|!!}}<br />
* {{tl|!-}}<br />
* {{tl|-!}}<br />
* {{tl|broken bar}}<br />
* {{tn|'}} and related<br />
* [[Wikipedia:Qif conditionals]]<br />
* {{tl|pipe}} - Note that this one looks like {{tlf|!}} but has a very different meaning for the MediaWiki parser and thus has different functionality.<br />
* {{tn|(}}<br />
* {{tl|!(}}<br />
<br />
<includeonly><br />
<!-- ADD CATEGORIES BELOW THIS LINE --><br />
[[Category:Template namespace templates|{{PAGENAME}}]]<br />
[[Category:Wikipedia formatting and function templates|{{PAGENAME}}]]<br />
<br />
<!-- ADD INTERWIKIS BELOW THIS LINE --><br />
[[simple:Template:!]]<br />
</includeonly></div>1099047208