https://nordiclarp.org/w/index.php?title=Template:Tlsp/doc&feed=atom&action=history
Template:Tlsp/doc - Revision history
2024-03-28T21:00:25Z
Revision history for this page on the wiki
MediaWiki 1.34.2
https://nordiclarp.org/w/index.php?title=Template:Tlsp/doc&diff=9187&oldid=prev
Johannes Axner: 1 revision imported
2018-12-29T18:22:05Z
<p>1 revision imported</p>
<table class="diff diff-contentalign-left" data-mw="interface">
<tr class="diff-title" lang="en">
<td colspan="1" style="background-color: #fff; color: #222; text-align: center;">← Older revision</td>
<td colspan="1" style="background-color: #fff; color: #222; text-align: center;">Revision as of 18:22, 29 December 2018</td>
</tr><tr><td colspan="2" class="diff-notice" lang="en"><div class="mw-diff-empty">(No difference)</div>
</td></tr></table>
Johannes Axner
https://nordiclarp.org/w/index.php?title=Template:Tlsp/doc&diff=9186&oldid=prev
en>Sardanaphalus: category
2014-07-20T16:43:43Z
<p>category</p>
<p><b>New page</b></p><div>{{Documentation subpage}}<br />
<br />
{{Tlx|{{PAGENAME}}}} is used in template lists. Unlike <br />
{{Tlx|Tlp}} it includes "[[WP:SUBST|subst]]". Unlike<br />
{{Tlx|Tls}} it allows to specify a parameter. These<br />
features are hints how to use the specified template.<br />
<br />
=== Usage ===<br />
<br />
;Up to five placeholders for parameters of the specified template name&#58;<br />
:{{Tlx|{{PAGENAME}}|template name}}<br />
:{{Tlx|{{PAGENAME}}|template name|param}}<br />
:{{Tlx|{{PAGENAME}}|template name|1|2|3|4|5}}<br />
:{{Tlx|{{PAGENAME}}|template name|3=2=param=value}} Note: start from 2 because the "name" is parameter 1. Or...<br />
:{{Tlx|{{PAGENAME}}|template name|param&amp;#61;value}}<br />
;For templates supporting [[Help:Substitution#Optional_substitution|optional substitution]] just add <tt>subst=subst:</tt><br />
:{{Tlx|{{PAGENAME}}|template name|1|2|3|6=subst=subst:}}<br />
<br />
=== Example ===<br />
<!-- some magic here where Tlx talks about Tlsp,<br />
Tlx has the same limitations wrt parameters --><br />
{|<br />
| '''Code'''<br />
| '''Result'''<br />
|-<br />
| {{Tlx|tlsp|template}}<br />
| {{tlsp|template}}<br />
|-<br />
| {{Tlx|tlsp|template|1st|2nd|3rd|4th|5th}}<br />
| {{tlsp|template|1st|2nd|3rd|4th|5th}}<br />
|-<br />
| {{Tlx|tlsp|template|3=2=param=value}}<br />
| {{tlsp|template|2=param=value}}<br />
|-<br />
| {{Tlx|tlsp|template|param&amp;#61;value}}<br />
| {{tlsp|template|param&#61;value}}<br />
|-<br />
| {{Tlx|tlsp|template|1|2|3&amp;#124;okay}}<br />
| {{tlsp|template|1|2|3&#124;okay}}<br />
|-<br />
| {{Tlx|tlsp|template|1|2|3|4|5|too many}}<br />
| {{tlsp|template|1|2|3|4|5|too many}}<br />
|-<br />
| {{Tlx|tlsp|template|1|2|3|4|5|8=subst=subst:}}<br />
| {{tlsp|template|1|2|3|4|5|subst=subst:}}<br />
|}<br />
<br />
''For similar examples see [[Template talk:Tlx#Example|Tlx]].''<br />
<br />
=== Comparison ===<br />
{|<br />
| '''Code'''<br />
| '''Result'''<br />
|-<br />
| {{Tlx|tl|x0}}<br />
| {{tl|x0}}<br />
|-<br />
| {{Tlx|tlp|x1|param}}<br />
| {{tlp|x1|param}}<br />
|-<br />
| {{Tlx|tls|x0}}<br />
| {{tls|x0}}<br />
|-<br />
| {{Tlx|tlsp|x3|1st|2nd|3rd|4th|5th}}<br />
| {{tlsp|x3|1st|2nd|3rd|4th|5th}}<br />
|-<br />
| {{Tlx|tlu|template:x3|1st|2nd|3rd}} &#160;<br />
| {{tlu|template:x3|1st|2nd|3rd}}<br />
|-<br />
| {{Tlx|tlx|x3|1st|2nd|3rd}}<br />
| {{tlx|x3|1st|2nd|3rd}}<br />
|}{{-}}<br />
<br />
=== See also ===<br />
<br />
* {{Lts|{{PAGENAME}}}} up to five parameters<br />
* {{Lts|Tl}} no parameter and no subst<br />
* {{Lts|Tlp}} Tl + parameter<br />
* {{Lts|Tls}} Tl + subst<br />
* {{Lts|Tlu}} like Tlx in any namespace<br />
* {{Lts|Tlx}} like Tlsp without subst<br />
<br />
<includeonly><br />
[[Category:Internal template-link templates]]<br />
</includeonly></div>
en>Sardanaphalus