Jump to content
Toggle menu
  • 8 articles
  • 75 files
  • 7 users
  • 37.8K edits
Neodyland Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Tld/doc: Difference between revisions

Template page
m 4 revisions from en:Template:Tld/doc
+/doc
 
(8 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{Documentation subpage}}
== TemplateData ==
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
{{TemplateData header}}
<templatedata>
{
"description": "Template link code with link",
"format": "inline",
"params": {
"1": {
"label": "Template",
"description": "Linked template name",
"required": true,
"type": "wiki-template-name"
},
"2": {
"label": "Parameter 1",
"description": "First parameter value",
"type": "string"
},
"3": {
"label": "Parameter 2",
"description": "Second parameter value",
"type": "string"
},
"4": {
"label": "Parameter 3",
"description": "Third parameter value",
"type": "string"
},
"5": {
"label": "Parameter 4",
"description": "Fourth parameter value",
"type": "string"
},
"6": {
"label": "Parameter 5",
"description": "Fifth parameter value",
"type": "string"
},
"7": {
"label": "Parameter 6",
"description": "Sixth parameter value",
"type": "string"
},
"8": {
"label": "Parameter 7",
"description": "Seventh parameter value",
"type": "string"
},
"9": {
"label": "Parameter 8",
"description": "Eighth parameter value",
"type": "string"
},
"class": {
"label": "Extra Class Names",
"description": "Extra class names to add to the “class” attribute.",
"type": "string"
},
"nowrap": {
"label": "Nowrap?",
"description": "Whether to add “<span style=\"white-space: nowrap\">”",
"autovalue": "1",
"type": "boolean"
},
"doc": {
"label": "doc",
"description": "Whether to display a linked “+/doc”",
"type": "boolean"
}
},
"paramOrder": [
"class",
"doc",
"nowrap",
"1",
"2",
"3",
"4",
"5",
"6",
"7",
"8",
"9"
]
}
</templatedata>


This is the {{tld|tld}} template.
{{Tl-nav}}
 
<includeonly>{{Sandbox other||
This template works almost exactly like {{tlc|tlc}}, see  [[Template:Tlc|full documentation]] there.
<!-- Categories below this line; interwikis at Wikidata -->
 
[[Category:Internal template-link templates{{#translation:}}]]
But here is a short example:
}}</includeonly>
 
<pre>
{{tld|template name|parameters}}
</pre>
 
Renders like this:
 
:{{tld|template name|parameters}}
 
=== See also ===
 
* {{tl|tlc}}
* {{tl|tlf}}
 
* {{tl|tlx}}
 
<includeonly>
<!-- ADD CATEGORIES AND INTERWIKIS BELOW THIS LINE -->
[[Category:Typing-aid templates|{{PAGENAME}}]]
 
</includeonly>
Cookies help us deliver our services. By using our services, you agree to our use of cookies.