Template:Infobox location: Difference between revisions
Template page
More languages
More actions
Plan A: templates, sidebar, categories, lore |
Plan A: templates, sidebar, categories, lore |
||
| Line 11: | Line 11: | ||
{{!}}- | {{!}}- | ||
! Age | ! Age | ||
{{!}} {{ | {{!}} {{AGE links|age={{{age|}}}} | ||
| age | |||
}}}} | }}}} | ||
{{#if:{{{also known as|{{{alias|}}}}}}| | {{#if:{{{also known as|{{{alias|}}}}}}| | ||
| Line 52: | Line 47: | ||
| boundary region and uncertainties | oort cloud = [[Category:Boundary region and uncertainties{{#if:{{{distance|}}}|{{!}}{{padleft:{{{distance}}}|6|0}}}}]] | | boundary region and uncertainties | oort cloud = [[Category:Boundary region and uncertainties{{#if:{{{distance|}}}|{{!}}{{padleft:{{{distance}}}|6|0}}}}]] | ||
| transit infrastructure = [[Category:Transit infrastructure{{#if:{{{distance|}}}|{{!}}{{padleft:{{{distance}}}|6|0}}}}]] | | transit infrastructure = [[Category:Transit infrastructure{{#if:{{{distance|}}}|{{!}}{{padleft:{{{distance}}}|6|0}}}}]] | ||
}}{{ | }}{{AGE categories|age={{{age|}}}}}{{#if:{{{category2|}}}|[[Category:{{{category2}}}]]}}}}</includeonly><noinclude> | ||
}}{{#if:{{{category2|}}}|[[Category:{{{category2}}}]]}}}}</includeonly><noinclude> | |||
'''Infobox location''' for pages in [[:Category:Locations]]. <code>type</code> links to the mother category Locations. The subcategory comes from <code>region</code>. A transit hub should also set <code>category2 = Transit infrastructure</code>. | '''Infobox location''' for pages in [[:Category:Locations]]. <code>type</code> links to the mother category Locations. The subcategory comes from <code>region</code>. A transit hub should also set <code>category2 = Transit infrastructure</code>. | ||
Latest revision as of 20:07, 31 August 2026
Infobox location for pages in Category:Locations. type links to the mother category Locations. The subcategory comes from region. A transit hub should also set category2 = Transit infrastructure.
Parameters: name, image, caption, alt, type, age, also known as, region, distance, orbital location, inhabited by, population, category2, nocat.
distance is the spatial sort key (Sun-outward). It is not shown to readers: it only orders the page inside Category:Locations and its region category. Integer AU, no decimals; the template zero-pads it to six digits (90 → 000090). Without distance, the page sorts alphabetically.
{{Infobox location
| image =
| caption =
| type = Station
| age = AGE 2
| also known as = Sikiva
| region = Termination Shock
| distance =
| inhabited by = [[Sikiva community]]
}}