Jump to content

Template:Infobox language: Difference between revisions

From Yezur Wiki
Khurouan (talk | contribs)
Cargo-backed language infobox
 
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
 
(2 intermediate revisions by 2 users not shown)
Line 7: Line 7:
|label4=Region|data4={{{region|}}}
|label4=Region|data4={{{region|}}}
|label5=Era|data5={{{era|}}}
|label5=Era|data5={{{era|}}}
}}{{#cargo_store:_table=Languages
|label6=Language code|data6={{{code|}}}
|name={{{name|{{PAGENAME}}}}}
}}</includeonly><noinclude>
|native_name={{{native_name|}}}
|family={{{family|}}}
|region={{{region|}}}
|era={{{era|}}}
}}</includeonly><noinclude>{{#cargo_declare:_table=Languages
|name=String
|native_name=String
|family=String
|region=String
|era=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.
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
an in-universe term is coined); keep it in step with [[Module:Languages]].
<pre>
<pre>
{{Infobox language
{{Infobox language
Line 32: Line 23:
|region      =
|region      =
|era        =
|era        =
|code        =
}}
}}
</pre>
</pre>
[[Category:Infobox templates]]
[[Category:Infobox templates]]
</noinclude>
</noinclude>

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        =
}}