Difference between revisions of "Template:IPAblink/doc"

From blackwiki
Jump to navigation Jump to search
imported>Daviddwd
(Template Data)
imported>Nardog
 
Line 12: Line 12:
 
"description": "IPA symbol whose article to link to",
 
"description": "IPA symbol whose article to link to",
 
"example": "ʉː",
 
"example": "ʉː",
"type": "line",
+
"type": "string",
 
"required": true
 
"required": true
 
},
 
},
 
"2": {
 
"2": {
"label": "Alternate label",
+
"label": "Display text",
"description": "If non-empty, is shown instead of the IPA symbol",
+
"description": "Text to show instead of the IPA symbol",
"type": "line"
+
"type": "string"
 
},
 
},
 
"audio": {
 
"audio": {
"label": "Sound file",
+
"label": "Audio",
 
"description": "Adds a link to sound if available",
 
"description": "Adds a link to sound if available",
"type": "boolean"
+
"example": "yes",
 +
"type": "string"
 +
},
 +
"errortext": {
 +
"label": "Error text",
 +
"example": "blank",
 +
"type": "string"
 
}
 
}
 
}
 
}
 
}
 
}
 
</templatedata>
 
</templatedata>

Latest revision as of 04:00, 31 January 2019

Template Data

This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly parameter usage report for this template.

TemplateData for IPAblink

No description.

Template parameters

ParameterDescriptionTypeStatus
IPA symbol1

IPA symbol whose article to link to

Example
ʉː
Stringrequired
Display text2

Text to show instead of the IPA symbol

Stringoptional
Audioaudio

Adds a link to sound if available

Example
yes
Stringoptional
Error texterrortext

no description

Example
blank
Stringoptional