Difference between revisions of "Template:DISPLAYTITLE"

From Georgia Tech Student Wiki
(Remove documentation)
(Edit template data)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 
<includeonly>{{DISPLAYTITLE:{{{1}}}}}</includeonly>
 
<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.

Template parameters

ParameterDescriptionTypeStatus
Display titleDisplay title

no description

Example
CS 1332 - Data Structures and Algorithms
Stringrequired