Difference between revisions of "Template:DISPLAYTITLE"
From Georgia Tech Student Wiki
(Copied from Wikipedia https://en.wikipedia.org/wiki/Template:DISPLAYTITLE (CC-BY-SA 3.0)) |
(Edit template data) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | <includeonly>{{DISPLAYTITLE:{{{1}}}}} |
+ | <includeonly>{{DISPLAYTITLE:{{{1}}}}}</includeonly> |
+ | <noinclude> |
||
+ | <templatedata> |
||
+ | { |
||
+ | "params": { |
||
+ | "Display title": { |
||
+ | "required": true, |
||
+ | "suggested": true, |
||
+ | "example": "CS 1332 - Data Structures and Algorithms", |
||
+ | "type": "string" |
||
+ | } |
||
+ | }, |
||
+ | "paramOrder": [ |
||
+ | "Display title" |
||
+ | ], |
||
+ | "description": "This template uses the Wikimedia magic {{DISPLAYTITLE:your title}} to set the display title of a page. This is especially helpful for courses, where we want the course page to be at, e.g., CS 1332, but display as CS 1332 - Data Structures and Algorithms. This template makes adding a display title accessible from the VisualEditor." |
||
+ | } |
||
+ | </templatedata> |
||
+ | </noinclude> |
Latest revision as of 14:22, 30 June 2021
This template uses the Wikimedia magic {{DISPLAYTITLE:your title}} to set the display title of a page. This is especially helpful for courses, where we want the course page to be at, e.g., CS 1332, but display as CS 1332 - Data Structures and Algorithms. This template makes adding a display title accessible from the VisualEditor.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Display title | Display title | no description
| String | required |