Template:Script/Runic/doc: Difference between revisions

Content deleted Content added
RTL example
Under the hood: too much trouble to copy the template source code every time it's modified
Line 8:
 
=== Under the hood ===
The template contains <code>class="script-runic"</code>, which allows users to specify their own style for Runic script. Proper display of the characters is achieved by explicit font declarations, with the font Junicode automatically provided by the [[:meta:Universal Language Selector|Universal Language Selector]].
This template contains <source style="overflow:auto;"><templatestyles src="Script/styles_runic.css" /><span title="runes" class="script-runic" lang="gem-Runr">{{#if:{{{rtl}}}|&#x202E;}}{{{1}}}{{#if:{{{rtl}}}|&#x202C;}}</span></source>
 
The {{para|rtl}} parameter wouldchanges enablingthe direction of the text to right-to-left mode to Runic script.
The <code>class="script-runic"</code> allows users to specify their own style for Runic script. Proper display of the characters is achieved by explicit font declarations, with the font Junicode automatically provided by the [[:meta:Universal Language Selector|Universal Language Selector]].
 
The {{para|rtl}} parameter would enabling right-to-left mode to Runic script.
 
Registered Wikipedia users can specify their own style for Runic script text by including a custom font declaration for <code>.script-runic</code> in their user CSS, see [[Help:User style]].