Template:Cs/doc: Difference between revisions
Jump to navigation
Jump to search
Created page with "{{Documentation subpage}} 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: <pre>{{cs|CODE|TEXT}}</pre> 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: * dhm (Dhimzic script) == Adding conscripts == Conscripts can only be added by the wiki admin (autumn#1088). # Place the f..." |
No edit summary |
||
| (One intermediate revision by the same user not shown) | |||
| Line 11: | Line 11: | ||
The currently recognized code(s) are: | The currently recognized code(s) are: | ||
{| class="wikitable" | |||
! Code !! Script !! Usage !! Example | |||
|- | |||
| <code>dhm</code> || [[Dhimzic script]] || <pre>{{cs|dhm|jhmirjhi}}</pre> || {{cs|dhm|jhmirjhi}} | |||
|} | |||
== Adding conscripts == | == Adding conscripts == | ||
Latest revision as of 15:41, 13 September 2022
| icon | 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-CODEwhich applies a font-family rule to the text. - Inform users to refresh their cache.