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

From blackwiki
Jump to navigation Jump to search
imported>DePiep
imported>DePiep
m
Line 5: Line 5:
  
  
This template can add a ''label'' to a wikilink to obtain a better readable link. We can use this to create this link: <code><nowiki>[[Fraktur|(script)|Fraktur]]</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>[[Fraktur|(script)|Fraktur]]</nowiki></code>
  
 
* Without label: <nowiki>[[</nowiki>{{tlx|ISO 15924/wp-name|Latf}}]] &rarr; [[{{ISO 15924/wp-name|Latf}}]]
 
* Without label: <nowiki>[[</nowiki>{{tlx|ISO 15924/wp-name|Latf}}]] &rarr; [[{{ISO 15924/wp-name|Latf}}]]
Line 11: Line 11:
 
* With label: <code><nowiki>[[{{tlx|ISO 15924/wp-name|Latf}}{{tlx|ISO 15924/wp-name/label|Latf}}]]</nowiki></code> &rarr; [[{{ISO 15924/wp-name|Latf}}{{ISO 15924/wp-name/label|Latf}}]]
 
* With label: <code><nowiki>[[{{tlx|ISO 15924/wp-name|Latf}}{{tlx|ISO 15924/wp-name/label|Latf}}]]</nowiki></code> &rarr; [[{{ISO 15924/wp-name|Latf}}{{ISO 15924/wp-name/label|Latf}}]]
  
 +
==Details==
 
By default the pipe symbol is added when a label exists. Setting the option <code>add pipe=no</code> will return no pipe.
 
By default the pipe symbol is added when a label exists. Setting the option <code>add pipe=no</code> will return no pipe.
  

Revision as of 16:26, 19 August 2011

Usage

This template can add a label to a wikilink to obtain a better readable link. We can use this to create this link:
[[Fraktur|(script)|Fraktur]]

  • With label: [[{{tlx|ISO 15924/wp-name|Latf}}{{tlx|ISO 15924/wp-name/label|Latf}}]]Fraktur

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-name|Latn}}{{tlx|ISO 15924/wp-name/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