Difference between revisions of "Template:Tld"
Jump to navigation
Jump to search
Mediawiki>Primefac (avoid redir) |
Mediawiki>ExE Boss (Add `class` parameter) |
||
Line 1: | Line 1: | ||
− | # | + | <onlyinclude><!-- |
+ | --><templatestyles src="Template:Mono/styles.css" /><!-- | ||
+ | -->{{#if:{{{nowrap|}}}|<templatestyles src="Template:Nowrap/styles.css" />}}<!-- | ||
+ | --><span class=" | ||
+ | monospaced | ||
+ | {{#if:{{{nowrap|}}}|nowrap}} | ||
+ | {{{class|}}} | ||
+ | "><!-- | ||
+ | -->{{<!-- | ||
+ | --><includeonly>[[{{ns:10}}:{{{1}}}|{{{1}}}]]</includeonly><!-- | ||
+ | --><noinclude>tld|...</noinclude><!-- | ||
+ | -->{{#ifeq:{{{2|x}}}|{{{2|}}}||{{{2}}}}}<!-- | ||
+ | -->{{#ifeq:{{{3|x}}}|{{{3|}}}||{{{3}}}}}<!-- | ||
+ | -->{{#ifeq:{{{4|x}}}|{{{4|}}}||{{{4}}}}}<!-- | ||
+ | -->{{#ifeq:{{{5|x}}}|{{{5|}}}||{{{5}}}}}<!-- | ||
+ | -->{{#ifeq:{{{6|x}}}|{{{6|}}}||{{{6}}}}}<!-- | ||
+ | -->{{#ifeq:{{{7|x}}}|{{{7|}}}||{{{7}}}}}<!-- | ||
+ | -->{{#ifeq:{{{8|x}}}|{{{8|}}}||{{{8}}}}}<!-- | ||
+ | -->{{#ifeq:{{{9|x}}}|{{{9|}}}||{{{9}}}}}<!-- | ||
+ | -->}}<!-- | ||
+ | --></span><!-- | ||
+ | --></onlyinclude> | ||
+ | {{Documentation}} |
Revision as of 01:55, 21 July 2021
{{tld|...}}
This documentation is transcluded from Template:Tld/doc.
32px | This template uses TemplateStyles: |
This is the {{tld}} template.
This template works almost exactly like {{tlc}}
, see full documentation there.
But here is a short example:
{{tld|template name|parameters}}
Renders like this:
- {{template name|parameters}}
TemplateData
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. Click here to see a monthly parameter usage report for this template based on this TemplateData.
TemplateData for Tld
Template link code with link
Parameter | Description | Type | Status | |
---|---|---|---|---|
Extra Class Names | class | Extra class names to add to the “class” attribute. | String | optional |
Nowrap? | nowrap | Whether to add “<span style="white-space: nowrap">”
| Boolean | optional |
Template | 1 | Linked template name | Template | required |
Parameter 1 | 2 | First parameter value | String | optional |
Parameter 2 | 3 | Second parameter value | String | optional |
Parameter 3 | 4 | Third parameter value | String | optional |
Parameter 4 | 5 | Fourth parameter value | String | optional |
Parameter 5 | 6 | Fifth parameter value | String | optional |
Parameter 6 | 7 | Sixth parameter value | String | optional |
Parameter 7 | 8 | Seventh parameter value | String | optional |
Parameter 8 | 9 | Eighth parameter value | String | optional |
Template:Tl-nav [[Category:Internal template-link templates{{#translation:}}]]