Template:Cs/doc

From Project: Jotunnheim
Revision as of 14:41, 13 September 2022 by Autumn (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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).

  1. Place the font files into the resources/assets/conscripts/ directory underneath the Mediawiki root.
  2. Add a class to Mediawiki:Common.css of the form .script-CODE which applies a font-family rule to the text.
  3. Inform users to refresh their cache.