To start, copy the following code block and fill the empty ""
values.
"language": [
{
"name": "",
"source": "",
"page": 0,
"entries": [
""
]
}
]
"name"
— name of the language"source"
— make sure it is the same as the "json"
key in the _meta."page"
— page of the document the hazard appears at (leave at 0 if not applicable)."entries"
— consists of text strings (""
) separated by commas.Make sure you are adding these blocks in the same level as the "name"
, "source"
, etc.
Choose between "standard"
, "exotic"
or "secret"
. Other types will render correctly, but will not appear as filter options.
"type": "standard"
"script": "Draconic"
"typicalSpeakers": [
"Southern Human Villages",
"Swamp Elves"
]
Having different dialects does not change how a language is presented on the website, but lets you search that language by its dialect name.
"dialects": [
"Githyanki",
"Githzerai"
]
You need to use a direct link to the image, which usually ends with the extension of the image; e.g. .png
, .jpg
, .webp
"fluff": {
"images": [
{
"type": "image",
"href": {
"type": "external",
"url": "www.example.com/image.jpg"
}
}
]
}
To link a font already present on the website, you need to know its internal structure. If you cannot figure it out, you best ask at the discord server at #brew conversion, as well as the procedure to add your own fonts.
"fonts": [
"fonts/languages/PHB/Infernal/Infernal.ttf"
]
How to link to languages within strings:
{@language <name_of_Language>|<json_source>|<optional_display_text>}
Example:
{@language Dambrathan|SCAG}
{@language Dambrathan|SCAG|and optional link text added with another pipe}