Template:DEFAULTSORT/doc: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
Tag: Reverted
No edit summary
Tag: Manual revert
 
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.
 
<includeonly>[[Category:Link creatingMaintenance templates]]</includeonly>
Creates a wikilink to transcript mw.pages with the transcript prefix removed.
 
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:Link creating templates]]</includeonly>

Navigation menu