Template:Template link code with subst/doc: Difference between revisions

Content deleted Content added
m See also: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other
m Fix Linter errors using AutoEd
Line 24:
| {{tlc|tlsd}}
| '''T'''emplate '''l'''ink '''s'''ubstitution '''d'''ialup-host
| Uses the <code><nowiki><ttcode>...</ttcode></nowiki></code> tags sometimes used for showing programming code. Essentially the non-linking equivalent of {{tlx|tlsx}}.
|-
| {{tlc|tlsf}}
Line 31:
|}
 
The three names were based on {{tlx|tls}} '''t'''emplate '''s'''ubstitution '''l'''ink', despite the fact that, unlike the actual {{tlc|tls}} template, these three don't include an actual link. The mnemonics for {{tlc|tlsd}} and {{tlc|tlsf}} were invented after the fact, since the template creator used the single letters still available rather than the preferred {{tlc|tlt}} (using <nowiki><ttcode></nowiki>) and {{tlc|tln}} (using "normal", non-coded text style) monikers.
 
===Basic operation===
Line 99:
:<code><nowiki>&lt;nowiki&gt;{{subst:name|one=a|two=b}}&lt;/nowiki&gt;</nowiki></code> = <nowiki>{{subst:name|one=a|two=b}}</nowiki>
 
:<code><nowiki>&lt;tt&gt;&lt;nowiki&gt;{{subst:name|one=a|two=b}}&lt;/nowiki&gt;&lt;/tt&gt;</nowiki></code> = <ttcode><nowiki>{{subst:name|one=a|two=b}}</nowiki></ttcode>
 
:<code><nowiki>&lt;code&gt;&lt;nowiki&gt;{{subst:name|one=a|two=b}}&lt;/nowiki&gt;&lt;/code&gt;</nowiki></code> = <code><nowiki>{{subst:name|one=a|two=b}}</nowiki></code>
Line 106:
 
* {{tl|tlsc}} – Not linked, several parameters and text in <code>&lt;code&gt;&lt;/code&gt;</code> style.
* {{tl|tlsd}} – Not linked, several parameters and <ttcode>teletype</ttcode> text style.
* {{tl|tlsf}} – Not linked, several parameters and normal text style.
 
* {{tl|tls}} – Template link, no parameters and normal text style.
* {{tl|tlsp}} – Template link, several parameters and interwiki links.
* {{tl|tlsx}} – Template link, several parameters and interwiki links, <ttcode>teletype</ttcode> text style.
 
<includeonly>{{Sandbox other||