Template:DEFAULTSORT/doc: Difference between revisions

From RuneRealm Wiki
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.

<includeonly>[[Category:Maintenance 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>

Latest revision as of 11:34, 17 October 2024

This is a documentation subpage for Template:DEFAULTSORT.
It contains usage information, categories, and other content that is not part of the original template page.

Use {{DEFAULTSORT|Key}} instead of the magic word, as this template can be used to track custom default sorts.