Template:Cs/doc: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
No edit summary |
No edit summary |
||
Line 12: | Line 12: | ||
{| class="wikitable" |
{| class="wikitable" |
||
− | ! Code !! Script !! Example |
+ | ! Code !! Script !! Usage !! Example |
|- |
|- |
||
− | | <code>dhm</code> || [[Dhimzic script]] || {{cs|dhm|jhmirjhi}} |
+ | | <code>dhm</code> || [[Dhimzic script]] || <pre>{{cs|dhm|jhmirjhi}}</pre> || {{cs|dhm|jhmirjhi}} |
|} |
|} |
||
Latest revision as of 14:41, 13 September 2022
File:Edit-copy green.svg | This is a documentation subpage for Template:Terminate sentence It may contain usage information, categories and other content that is not part of the original template page. |
This template generates text in a conscript (hence the name CS). Conscripts must be added by the wiki admin.
Usage
The template is formatted like so:
{{cs|CODE|TEXT}}
where CODE is the code of the script, and TEXT is the text you want to be put into the font.
The currently recognized code(s) are:
Code | Script | Usage | Example |
---|---|---|---|
dhm |
Dhimzic script | {{cs|dhm|jhmirjhi}} |
jhmirjhi |
Adding conscripts
Conscripts can only be added by the wiki admin (autumn#1088).
- Place the font files into the
resources/assets/conscripts/
directory underneath the Mediawiki root. - Add a class to Mediawiki:Common.css of the form
.script-CODE
which applies a font-family rule to the text. - Inform users to refresh their cache.