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
| Name | Type | Description |
|---|---|---|
id | string | A banner's id, in any case, with or without |
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)