Template:DEFAULTSORT/doc: Difference between revisions

Jump to navigation Jump to search
no edit summary
(Created page with "{{Documentation}} Use <code><nowiki>{{DEFAULTSORT|Key}}</nowiki></code> instead of the magic word, as this template can be used to track custom default sorts. <includeonly>Category:Maintenance templates</includeonly>")
 
No edit summary
Tag: Reverted
Line 1:
{{Documentation}}
 
Use <code><nowiki>{{DEFAULTSORT|Key}}</nowiki></code> instead of the magic word, as this template can be used to track custom default sorts.
Creates a wikilink to transcript mw.pages with the transcript prefix removed.
<includeonly>[[Category:Maintenance templates]]</includeonly>
 
This template is designed to greatly reduce the amount of wikicode required for linking transcripts on mw.pages. Alternative text may be produced with the optional second parameter; however, as this template is designed to save space, this should be done sparingly.
 
==Usage==
{{T|TS|Transcript name}}
 
==Examples==
{{T|TS|Gnomic Negotiations}}<br />
{{TS|Gnomic Negotiations}}
 
==Parameters==
{{TemplateData|<templatedata>
{
"description": "",
"params": {
"1": {
"label": "Page",
"description": "Link to transcript page in the 'Transcript' namespace.",
"type": "string",
"required": true
},
"2": {
"label": "Text",
"description": "Alternative text.",
"type": "string",
"default": "First parameter."
}
}
}
</templatedata>}}
<includeonly>[[Category:MaintenanceLink creating templates]]</includeonly>

Navigation menu