Template:ISO 15924/wp-article/label/doc
This is a documentation subpage for Template:ISO 15924/wp-article/label. It contains usage information, categories and other content that is not part of the original template page. |
This template is used on many pages, so changes to it will be widely noticed. Please test any changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Please consider discussing changes on the talk page before implementing them. |
Usage
This template can add a label to a wikilink to obtain a better readable link. We can use this to create this link:
[[Demotic (Egyptian)|Egyptian demotic]]
- Without label: [[
{{ISO 15924/wp-article|Egyd}}
]] → Demotic (Egyptian)
- With label:
[[{{ISO 15924/wp-article|Egyd}}{{ISO 15924/wp-article/label|Egyd}}]]
→ Egyptian demotic
Current list
At is moment of writing, labels provided are:
| Egyd = Egyptian demotic | Hrkt = Katakana or Hiragana | Qaaa = ISO 15924 | Qabx = ISO 15924 | Syre = Syriac alphabet | Syrj = Syriac alphabet | Syrn = Syriac alphabet | Zinh = ISO 15924 | Zxxx = ISO 15924 | Zyyy = ISO 15924 | Zzzz = ISO 15924
Details
By default the pipe symbol is added when a label exists. Setting the option add pipe=no
will return no pipe.
When no label is needed (the page name is good right away), the template returns a blank:
- No label needed:
[[{{tlx|ISO 15924/wp-article|Latn}}{{tlx|ISO 15924/wp-article/label|Latn}}]]
→ Latin script
See also
Template:ISO 15924 templates/doc