Skip to the content

Hata旗

Load a native country or region flag, choose supported framing and keep each drawing’s source, author and licence.

Hata (旗) is Japanese for a flag. About the name

Contents

Reference · Medieval banners

medievalInfunction

The ids of one kind of banner: order (a military or religious order's), cross (a cross on a field), kingdom (a kingdom's), empire (an empire's or a dynasty's) or city (a city's or a republic's).

Import it

import { medievalIn } from "@johnmorrisdotca/hata/medieval";

Definition

function medievalIn(group: string): MedievalId[]

Parameters

NameTypeDescription
groupstring

"order", "cross", "kingdom", "empire" or "city".

Returns

MedievalRecordId[]

The ids in the order of the table; an empty list for any other word.

Examples

import { medievalIn } from "@johnmorrisdotca/hata/medieval";

console.log(medievalIn("order")); // ["med:templar-baucent", "med:hospitaller-cross"]
[
  'med:templar-baucent',
  'med:hospitaller-cross',
  'med:teutonic-banner',
  'med:teutonic-state',
  'med:serbian-church'
]

What it prints (run when this page was built)

View sourceEdit on GitHubMade from the source of @johnmorrisdotca/hata 1.31.0.