Template:Template link with subst/doc: Difference between revisions
From the Croc Wiki, the Croc encyclopedia
Jump to navigationJump to search
Content added Content deleted
m (Created documentation from talk page) |
m (26 revisions imported) |
||
(25 intermediate revisions by 23 users not shown) | |||
Line 1: | Line 1: | ||
{{Documentation subpage}} |
|||
<includeonly>{{template doc page transcluded}}</includeonly><noinclude>{{template doc page viewed directly}}</noinclude> |
|||
{{used in system|in [[MediaWiki:Newuserlogpagetext]]}} |
|||
<!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE --> |
<!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE --> |
||
{{tl|{{PAGENAME}}}} is a variant of {{Tl|Tl}} for templates which should be [[Wikipedia:Template substitution|substituted]]. |
{{tl|{{PAGENAME}}}} is a variant of {{Tl|Tl}} for templates which should be [[Wikipedia:Template substitution|substituted]] ''without'' any parameters. For substituted templates ''with'' parameters, try {{tl|Tlsx}}. |
||
== Usage == |
== Usage == |
||
<nowiki>{{ |
<nowiki>{{Tls|template name}}</nowiki> |
||
== Example == |
== Example == |
||
{| class="wikitable" |
{| class="wikitable" |
||
! Code |
! Code |
||
! Result |
! Result |
||
|- |
|- |
||
| {{Tlx|Tls|x4}} |
| {{Tlx|Tls|x4}} |
||
| {{Tls|x4}} |
| {{Tls|x4}} |
||
Line 15: | Line 17: | ||
== See also == |
== See also == |
||
* {{lts|subst}}: {{tlp|subst|foo}} prints {{subst|foo}}, without linking. |
|||
* {{lts|tls}} this template |
|||
* {{lts| |
* {{lts|tlu}} for outside of the Template space, unsubstituted, monospace font |
||
⚫ | |||
* {{lts|tlx}} with parameters |
|||
⚫ | |||
* {{lts|tlsp}} substituted version, with parameters |
|||
⚫ | |||
{{Template-linking templates}} |
|||
* {{lts|tlu}} for outside of the Template space, unsubstituted |
|||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
{{DEFAULTSORT:{{PAGENAME}}}} |
|||
⚫ | |||
[[Category:Typing-aid templates]] |
[[Category:Typing-aid templates]] |
||
<!-- ADD INTERWIKIS BELOW THIS LINE --> |
|||
[[sl:Template:Tls]] |
|||
</includeonly> |
}}</includeonly> |
Latest revision as of 18:07, January 24, 2022
This is a documentation subpage for Template:Template link with subst. It may contain usage information, categories and other content that is not part of the original template page. |
This template is used in MediaWiki:Newuserlogpagetext. Changes to it can cause immediate changes to the Wikipedia user interface. To avoid major disruption, any changes should be tested in the template's /sandbox or /testcases subpages, or in your own user subpage. The tested changes can be added to this page in a single edit. Please discuss changes on the talk page before implementing them. |
{{Template link with subst/doc}} is a variant of {{Tl}} for templates which should be substituted without any parameters. For substituted templates with parameters, try {{Tlsx}}.
Usage
{{Tls|template name}}
Example
Code | Result |
---|---|
{{Tls|x4}}
|
{{subst:x4}} |
See also
- Template:Subst(edit talk links history): Template:Tlp prints Template:Subst, without linking.
- Template:Tlu(edit talk links history) for outside of the Template space, unsubstituted, monospace font
- Template:Tlsu(edit talk links history) for outside of the Template space, substituted, monospace font
- Category:Internal link templates
Template:Template-linking templates