Template:Infobox language: Difference between revisions
Appearance
Add generic 'code' field (label renameable) |
Worked example: use a family that exists (flag 45b) |
||
| Line 26: | Line 26: | ||
Infobox for a language. Renders via [[Module:Infobox]] and populates the | Infobox for a language. Renders via [[Module:Infobox]] and populates the | ||
<code>Languages</code> Cargo table (so its family's member list builds itself). | <code>Languages</code> Cargo table (so its family's member list builds itself). | ||
The <code>family</code> value is the plain family page name (e.g. <code> | The <code>family</code> value is the plain family page name (e.g. <code>Herta-Olaic</code>); | ||
it is stored plain and displayed as a link. The <code>code</code> field holds the | it is stored plain and displayed as a link. The <code>code</code> field holds the | ||
language's registry code (label "Language code" is a placeholder, to be renamed once | language's registry code (label "Language code" is a placeholder, to be renamed once | ||
Revision as of 20:10, 28 July 2026
This template defines the table "Languages". This table has not been created yet.
Usage
Infobox for a language. Renders via Module:Infobox and populates the
Languages Cargo table (so its family's member list builds itself).
The family value is the plain family page name (e.g. Herta-Olaic);
it is stored plain and displayed as a link. The code field holds the
language's registry code (label "Language code" is a placeholder, to be renamed once
an in-universe term is coined).
{{Infobox language
|name =
|native_name =
|family =
|region =
|era =
|code =
}}