Template:Glyph/doc: Difference between revisions
Template page
More actions
Admin-erik (talk | contribs) Created page with "Add a glyph in an Ygdren conlang and compare it to Latin script and IPA phonetics == Usage == <code><nowiki>{{Glyph|glyph={{Script|font=imperial|a}}|latin=a|ipa=/æ/}}</nowiki></code> gives: {{Glyph|glyph={{Script|font=imperial|a}}|latin=a|ipa=/æ/}} == TemplateData == <templatedata> { "params": { "1": { "label": "Text", "description": "Text to be displayed", "type": "string", "required": true }, "font": { "label": "Font", "description": "The c..." |
Admin-erik (talk | contribs) No edit summary |
||
| (One intermediate revision by the same user not shown) | |||
| Line 3: | Line 3: | ||
== Usage == | == Usage == | ||
<code><nowiki>{{Glyph|glyph={{Script|font=imperial|a}}|latin=a|ipa=/æ/}}</nowiki></code> gives: | <code><nowiki>{{Glyph|glyph={{Script|font=imperial|a}}|latin=a|ipa=/æ/}}</nowiki></code> gives: | ||
{{Glyph|glyph={{Script|font=imperial|a}}|latin=a|ipa=/ | {{Glyph|glyph={{Script|font=imperial|a}}|latin=a|ipa=/a/}} | ||
<code><nowiki>{{Glyph|glyph={{Script|font=imperial|n}}|latin=n}}</nowiki></code> gives: | |||
{{Glyph|glyph={{Script|font=imperial|n}}|latin=n}} | |||
== TemplateData == | == TemplateData == | ||
| Line 9: | Line 12: | ||
{ | { | ||
"params": { | "params": { | ||
" | "glyph": { | ||
"label": " | "label": "Glyph", | ||
"description": " | "description": "The main glyph in a conlang script", | ||
"type": "string", | "type": "string", | ||
"required": true | "required": true | ||
}, | }, | ||
" | "latin": { | ||
"label": " | "label": "Latin", | ||
"description": "The | "description": "The equivalent in Latin script", | ||
"type": "string", | "type": "string", | ||
"required": | "required": true | ||
}, | |||
"latin": { | |||
"label": "Latin", | |||
"description": "The equivalent in IPA phonetics", | |||
"type": "string", | |||
"required": true | |||
} | } | ||
}, | }, | ||
"description": "Add | "description": "Add a glyph in an Ygdren conlang and comparisons", | ||
"format": "inline" | "format": "inline" | ||
} | } | ||
</templatedata> | </templatedata> | ||
<includeonly>[[Category:Utility Templates]]</includeonly> | <includeonly>[[Category:Utility Templates]]</includeonly> | ||