Jump to content

Template:Infobox language: Difference between revisions

From Yezur Wiki
Khurouan (talk | contribs)
Add generic 'code' field (label renameable)
Thiorosan (talk | contribs)
Display-only: remove #cargo_store/#cargo_declare — Cargo retired from the encyclopedia (operator ruling 2026-07-30); docs now point to hand-maintained family Members tables
 
(One intermediate revision by one other user not shown)
Line 8: Line 8:
|label5=Era|data5={{{era|}}}
|label5=Era|data5={{{era|}}}
|label6=Language code|data6={{{code|}}}
|label6=Language code|data6={{{code|}}}
}}{{#cargo_store:_table=Languages
}}</includeonly><noinclude>
|name={{{name|{{PAGENAME}}}}}
|native_name={{{native_name|}}}
|family={{{family|}}}
|region={{{region|}}}
|era={{{era|}}}
|code={{{code|}}}
}}</includeonly><noinclude>{{#cargo_declare:_table=Languages
|name=String
|native_name=String
|family=String
|region=String
|era=String
|code=String
}}
=== Usage ===
=== Usage ===
Infobox for a language. Renders via [[Module:Infobox]] and populates the
Infobox for a language. Renders via [[Module:Infobox]]. The <code>family</code>
<code>Languages</code> Cargo table (so its family's member list builds itself).
value is the plain family page name (e.g. <code>Herta-Olaic</code>), displayed
The <code>family</code> value is the plain family page name (e.g. <code>Family A</code>);
as a link; when setting or changing it, update the hand-maintained ''Members''
it is stored plain and displayed as a link. The <code>code</code> field holds the
table on that family's article to match. 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
an in-universe term is coined).
an in-universe term is coined); keep it in step with [[Module:Languages]].
<pre>
<pre>
{{Infobox language
{{Infobox language

Latest revision as of 11:27, 30 July 2026

Usage

Infobox for a language. Renders via Module:Infobox. The family value is the plain family page name (e.g. Herta-Olaic), displayed as a link; when setting or changing it, update the hand-maintained Members table on that family's article to match. 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); keep it in step with Module:Languages.

{{Infobox language
|name        =
|native_name =
|family      =
|region      =
|era         =
|code        =
}}