Template:DEFAULTSORT/doc: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
(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: | 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>}} |
|||
⚫ |
Revision as of 00:52, 17 October 2024
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
{{TS|Transcript name}}
Examples
{{TS|Gnomic Negotiations}}
Gnomic Negotiations
Parameters
Template data
Show/hide template's data | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
The following information is used by extensions and applications, such as VisualEditor, to help users implement this template onto pages. Please ensure that it is up-to-date.
|