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

medievalInfofunction

Everything the package knows of a banner, a copy: its group (order, cross, kingdom, empire or city), both names, what it is, its dates (where its source gives them), its status (reconstruction for every banner here), the note that says what the source documents and what is this package's, and the page it was read from.

Import it

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

Definition

function medievalInfo(id: string): MedievalInfo | null

Parameters

NameTypeDescription
idstring

A banner's id, in any case, with or without med:.

Returns

DrawnInfo | null

The record, or null when the set has no such banner.

Examples

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

console.log(medievalInfo("med:aragon-pallets")?.dates); // { from: "1159", until: null }
{ from: '1159', until: null }

What it prints (run when this page was built)

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