Jump to content

Template:Infobox continent: Difference between revisions

From Yezur Wiki
Thiorosan (talk | contribs)
Remove the automatic On the map indicator — continents cannot be reduced to a single spot
Thiorosan (talk | contribs)
Display-only: remove #cargo_store/#cargo_declare — Cargo retired from the encyclopedia (operator ruling 2026-07-30); docs updated
 
Line 8: Line 8:
|label5=Native language families|data5={{{native_families|}}}
|label5=Native language families|data5={{{native_families|}}}
|label6=On the map|data6={{#if:{{{map_node|}}}|{{Node|{{{map_node}}}|View}}}}
|label6=On the map|data6={{#if:{{{map_node|}}}|{{Node|{{{map_node}}}|View}}}}
}}{{#cargo_store:_table=Continents
}}</includeonly><noinclude>
|name={{{name|{{PAGENAME}}}}}
|native_name={{{native_name|}}}
|type={{{type|Continent}}}
|location={{{location|}}}
|adjacent={{{adjacent|}}}
|native_families={{{native_families|}}}
|map_node={{{map_node|}}}
}}</includeonly><noinclude>{{#cargo_declare:_table=Continents
|name=String
|native_name=String
|type=String
|location=String
|adjacent=String
|native_families=List (,) of String
|map_node=Integer
}}
=== Usage ===
=== Usage ===
Infobox for a continent or major landmass. Renders via [[Module:Infobox]] and
Infobox for a continent or major landmass. Renders via [[Module:Infobox]].
populates the <code>Continents</code> Cargo table. (No [[Template:On the map|🌐
(No [[Template:On the map|🌐 On the map]] indicator here: a continent cannot
On the map]] indicator here: a continent cannot be reduced to a single spot.) Keep <code>adjacent</code> and
be reduced to a single spot.)
prose links out of any Cargo *table* display — Cargo shows raw <code><nowiki>[[..]]</nowiki></code>
in query cells (fine here in the infobox, which parses wikitext).
<pre>
<pre>
{{Infobox continent
{{Infobox continent

Latest revision as of 11:27, 30 July 2026

Usage

Infobox for a continent or major landmass. Renders via Module:Infobox. (No 🌐 On the map indicator here: a continent cannot be reduced to a single spot.)

{{Infobox continent
|name            =
|native_name     =
|type            = Continent
|location        =
|adjacent        =
|native_families =
|map_node        =
}}