Template:DEFAULTSORT/doc: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
No edit summary Tag: Reverted |
No edit summary Tag: Manual revert |
||
Line 1: | Line 1: | ||
{{Documentation}} |
{{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. |
|||
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>}} |
|||
⚫ |
Latest revision as of 11:34, 17 October 2024
Use {{DEFAULTSORT|Key}}
instead of the magic word, as this template can be used to track custom default sorts.