Difference between revisions of "Template:DISPLAYTITLE"
From Georgia Tech Student Wiki
(Add template data) |
(Edit template data) |
||
Line 6: | Line 6: | ||
"Display title": { |
"Display title": { |
||
"required": true, |
"required": true, |
||
− | "suggested": true |
+ | "suggested": true, |
+ | "example": "CS 1332 - Data Structures and Algorithms", |
||
+ | "type": "string" |
||
} |
} |
||
}, |
}, |
||
"paramOrder": [ |
"paramOrder": [ |
||
"Display title" |
"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> |
</templatedata> |
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 |