Difference between revisions of "Template:ISO 15924/wp-article/label/doc"

From blackwiki
Jump to navigation Jump to search
imported>Anthony Appleyard
m (Anthony Appleyard moved page Template:ISO 15924/wp-name/label/doc to Template:ISO 15924/wp-article/label/doc: Requested by DePiep at WP:RM/TR: 'name' suggests that WP can pick its own name for a script. Also, the article may not be about the script itself, but have a section only (e.g. in case of a more obscure language/script/people topic). <span class="template-ping">@Drmccreedy:</span> ping. No (technical) conflicts foreseen.)
imported>DePiep
m (after move, replaced: ISO 15924/wp-name → ISO 15924/wp-article (11))
 
Line 6: Line 6:
 
This template can add a ''label'' to a wikilink to obtain a better readable link. We can use this to create this link:<br/> <code><nowiki>[[Demotic (Egyptian)|Egyptian demotic]]</nowiki></code>
 
This template can add a ''label'' to a wikilink to obtain a better readable link. We can use this to create this link:<br/> <code><nowiki>[[Demotic (Egyptian)|Egyptian demotic]]</nowiki></code>
  
* Without label: <nowiki>[[</nowiki>{{tlx|ISO 15924/wp-name|Egyd}}]] &rarr; [[{{ISO 15924/wp-name|Egyd}}]]
+
* Without label: <nowiki>[[</nowiki>{{tlx|ISO 15924/wp-article|Egyd}}]] &rarr; [[{{ISO 15924/wp-article|Egyd}}]]
  
* With label: <code><nowiki>[[{{ISO 15924/wp-name|Egyd}}{{ISO 15924/wp-name/label|Egyd}}]]</nowiki></code> &rarr; [[{{ISO 15924/wp-name|Egyd}}{{ISO 15924/wp-name/label|Egyd}}]]
+
* With label: <code><nowiki>[[{{ISO 15924/wp-article|Egyd}}{{ISO 15924/wp-article/label|Egyd}}]]</nowiki></code> &rarr; [[{{ISO 15924/wp-article|Egyd}}{{ISO 15924/wp-article/label|Egyd}}]]
  
 
==Current list==
 
==Current list==
Line 30: Line 30:
  
 
When no label is needed (the page name is good right away), the template returns a blank:
 
When no label is needed (the page name is good right away), the template returns a blank:
* No label needed: <code><nowiki>[[{{tlx|ISO 15924/wp-name|Latn}}{{tlx|ISO 15924/wp-name/label|Latn}}]]</nowiki></code> &rarr; [[{{ISO 15924/wp-name|Latn}}{{ISO 15924/wp-name/label|Latn}}]]
+
* No label needed: <code><nowiki>[[{{tlx|ISO 15924/wp-article|Latn}}{{tlx|ISO 15924/wp-article/label|Latn}}]]</nowiki></code> &rarr; [[{{ISO 15924/wp-article|Latn}}{{ISO 15924/wp-article/label|Latn}}]]
  
 
== See also ==
 
== See also ==
* {{tlx|ISO 15924/wp-name}}
+
* {{tlx|ISO 15924/wp-article}}
  
 
{{ISO 15924 templates/doc}}
 
{{ISO 15924 templates/doc}}

Latest revision as of 00:19, 18 January 2021

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]]

  • 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


General information on ISO 15924 templates

Overview and Updates

ISO updates

The ISO 15924 list of script codes is updated regularly, usually at least once a year. The current list is complete as of 25 January 2021, and defines 208 codes (code, number, script name).

Note: when resolving red links or wrong links, edit {{ISO 15924/wp-name}} or {{ISO 15924/wp-category}}. That is where the connection between ISO code and Wikipedia names is made.

Sources

See also

{{Script}}

References