Template talk:Template link normal

(Redirected from Template talk:Tln)
Latest comment: 5 years ago by BrandonXLF in topic Title

Title

edit

BrandonXLF, I've moved Template:Ltb to Template:Tln. Do you think there's any need to keep the redirect behind? – Uanfala (talk) 14:06, 22 November 2018 (UTC)Reply

@Uanfala: I see not reason to keep it. I think it's fine to be deleted. BrandonXLF (t@lk) 16:21, 22 November 2018 (UTC)Reply

Would you also mind replacing the template with

[[Template:{{{1}}}]]<noinclude>{{documentation}}</noinclude>

(move the doumentaion to a seperate page) and create Template:Tln/doc with


{{Documentation subpage}}
<!-- Categories go where indicated at the bottom of this page, please; interwikis go to Wikidata (see also: [[Wikipedia:Wikidata]]). -->

== Usage ==

'''T'''emplate '''l'''ink '''n'''ormal

This template creates a normal template link with <code>[[Template:</code> prefixing the template name and <code>]]</code> suffixing the tempalte name. Another alternative to this template is {{tln|tl}} wich produces the link with <code>{{</code> before it and <code>}}</code> after it. If you need a version with talk, history and other links see {{tln|lt}}.

== Example ==

<code>{{tln|Example}}</code> --> {{tln|Example}}

<code>{{tln|tln}}</code> --> {{tln|tln}}

== TemplateData ==

{{TemplateData header}}
<templatedata>{
"description": "This template displays a template name as a normal full link.",
"params": {
  "1": {
    "label": "template name",
    "description": "the template name without the namespace prefix “Template:”, which is added automatically",
    "type": "line",
    "required": true
  }
}}</templatedata>

== See also ==

{{Template-linking templates}}

<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox||
<!-- Categories go here and interwikis go in Wikidata. -->
[[Category:Internal template-link templates]]
}}</includeonly>

BrandonXLF (t@lk) 16:35, 22 November 2018 (UTC)Reply