Jump to content
Toggle menu
  • 3 articles
  • 75 files
  • 7 users
  • 37.9K 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
→TemplateData: Add TemplateData documentation for the `class` parameter
+/doc
 
Line 1: Line 1:
{{Documentation subpage}}
<!-- Add categories where indicated at the bottom of this page and interwikis at Wikidata -->
{{Uses TemplateStyles|Template:Mono/styles.css|Template:Nowrap/styles.css}}
This is the {{tld|tld}} template.
This template works almost exactly like {{tlc|tlc}}, see  [[Template:Tlc|full documentation]] there.
But here is a short example:
<pre>
{{tld|template name|parameters}}
</pre>
Renders like this:
:{{tld|template name|parameters}}
== TemplateData ==
== TemplateData ==
{{TemplateData header}}
{{TemplateData header}}
Line 76: Line 61:
"description": "Whether to add “<span style=\"white-space: nowrap\">”",
"description": "Whether to add “<span style=\"white-space: nowrap\">”",
"autovalue": "1",
"autovalue": "1",
"type": "boolean"
},
"doc": {
"label": "doc",
"description": "Whether to display a linked “+/doc”",
"type": "boolean"
"type": "boolean"
}
}
Line 81: Line 71:
"paramOrder": [
"paramOrder": [
"class",
"class",
"doc",
"nowrap",
"nowrap",
"1",
"1",
Cookies help us deliver our services. By using our services, you agree to our use of cookies.