Template:Infobox GEKSO Site: Difference between revisions
Jump to navigation
Jump to search
Philimania (talk | contribs) mNo edit summary |
Philimania (talk | contribs) mNo edit summary |
||
(6 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{main other|{{#if:{{Has short description}} |<!--Do nothing--> |{{#invoke:Type in location|main|GEKSO Site|{{{location|}}}}}}}}}{{#if:{{{child|{{{Child|}}}}}}|<templatestyles src="Infobox/mobileviewfix.css"/>}} | |||
{{Infobox | {{Infobox | ||
| child = {{{child|}}} | | child = {{{child|{{{Child|}}}}}} | ||
| decat = yes<!-- remove from tracking category --> | | decat = yes<!-- remove from tracking category --> | ||
|bodyclass = vcard | |bodyclass = vcard | ||
|titleclass = category | |titleclass = category | ||
|titlestyle = | |titlestyle = font-size:125%; | ||
|title = <includeonly>{{#if:{{{child|}}}| | |title = <includeonly>{{#if:{{{child|{{{Child|}}}}}}||{{{GHS|{{{Name|{{PAGENAMEBASE}}}}}}}}}}</includeonly> | ||
|aboveclass = fn org | |aboveclass = fn org | ||
|abovestyle = padding:0.2em;background:#ddd; | |abovestyle = padding:0.2em;background:#ddd;font-size:100%; | ||
|above = <includeonly> | |above = <includeonly>[[GEKSO Heritage Site]]</includeonly> | ||
| | |imagestyle = border-top:1px #aaa solid;padding-top:0.4em; | ||
| | |image = {{#invoke:InfoboxImage|InfoboxImage|image={{{Image|{{{image|}}}}}}|size={{{image_size|}}}|upright={{{image_upright|1}}}|alt={{{alt|}}}}} | ||
| | |caption = {{#if:{{{caption|{{{Caption|{{{imagecaption|}}}}}}}}} |{{{caption|{{{Caption|{{{imagecaption|}}}}}}}}}}} | ||
| | |rowclass1 = <includeonly>{{#if:{{{child|{{{Child|}}}}}}|mergedrow|}}</includeonly> | ||
|header1 = <includeonly>{{#if:{{{child|{{{Child|}}}}}}|{{Designation/divbox|GHS}}|}}</includeonly> | |||
|labelstyle = padding-right:0.3em; | |labelstyle = padding-right:0.3em; | ||
| | |rowclass2 = mergedrow | ||
| | |label2 = Official name | ||
| | |data2 = {{{Official_name|{{{official_name|}}}}}} | ||
| | |rowclass3 = mergedrow | ||
| | |label3 = [[Lists of GEKSO Heritage Sites|Location]] | ||
| | |data3 = {{{Location|{{{location|}}}}}} | ||
| | |rowclass4 = mergedrow | ||
| | |label4 = Part of | ||
| | |data4 = {{{Part_of|{{{part_of|}}}}}} | ||
| | |rowclass5 = mergedrow | ||
| | |label5 = Includes | ||
| | |data5 = {{{Includes|{{{includes|}}}}}} | ||
| | |rowclass6 = mergedrow | ||
| | |label6 = [[GEKSO Heritage Site#Selection criteria|Criteria]] | ||
| | |class6 = category | ||
| | |data6 = {{#if: {{{Type|}}} |{{{Type}}}: | }}{{{Criteria|{{{criteria|}}}}}} | ||
|rowclass7 = mergedrow | |||
|label7 = [[GEKSO Heritage Site#Magical index|Magical class]] | |||
|class7 = category | |||
|data7 = {{{Magical_class|{{{magical_class|}}}}}} | |||
|rowclass8 = mergedrow | |||
|label8 = Reference | |||
|data8 = {{#if:{{{ID|}}} |{{#if:{{{Link|}}} |[{{{Link}}} {{{ID}}}] |[https://whc.unesco.org/en/list/{{{ID}}} {{{ID}}}] }} }} | |||
|data10 = {{{GEKSO_region|{{{gekso_region|}}}}}} | |||
|rowclass10 = mergedrow | |||
|label10 = [[Lists of GEKSO Heritage Sites|GEKSO region]] | |||
|rowclass14 = mergedrow | |||
|label14 = Inscription | |||
|data14 = {{if first display both|{{{Year|{{{year|}}}}}}| ({{{Session|{{{session|}}}}}} [[GEKSO Heritage Committee|Session]])}} | |||
|rowclass16 = mergedrow | |||
|label16 = Extensions | |||
|data16 = {{{Extension|{{{extension|}}}}}} | |||
|rowclass18 = mergedrow | |||
|label18 = [[List of GEKSO Heritage in Danger|Endangered]] | |||
|data18 = {{{Danger|{{{danger|}}}}}} | |||
| | |rowclass22 = mergedrow | ||
| | |label22 = Area | ||
| | |class22 = category | ||
| | |data22 = {{{Area|{{{area|}}}}}} | ||
| | |rowclass24 = mergedrow | ||
|label24 = Buffer zone | |||
| | |class24 = category | ||
|data24 = {{{Buffer_zone|{{{buffer_zone|}}}}}} | |||
| | |label26 = Website | ||
|class26 = category | |||
|data26 = {{{Website|{{{website|}}}}}} | |||
|label27 = [[Geographic coordinate system|Coordinates]] | |||
|data27 = {{{coordinates|{{{Coordinates|}}}}}} | |||
| data28 = {{{embedded|{{{Embedded|}}}}}} | |||
|data30 = {{#if:{{both|{{{locmapin|{{{Locmapin|}}}}}}|{{{coordinates|{{{Coordinates|}}}}}}}} | |||
| {{Location map | |||
|{{{locmapin|{{{Locmapin|Earth}}}}}} | |||
|coordinates={{{coordinates|{{{Coordinates|}}}}}} | |||
|float=center|relief={{{relief}}}|width={{{map_width|}}}|default_width=250|border=infobox | |||
|caption=<div style="line-height:1.2em;"><!-- | |||
-->{{#if:{{{map_caption|}}} | |||
|{{{map_caption}}} | |||
|Location of {{{name|{{PAGENAMEBASE}}}}} {{#ifeq:{{{locmapin|{{{Locmapin|Earth}}}}}}|Earth |on Earth. |in {{#invoke:Location map|data|{{{locmapin|{{{Locmapin|Earth}}}}}}|name}}}}<!-- | |||
-->}}<!-- | |||
--></div><!-- | |||
-->}}<!-- | |||
-->}} | |||
}}{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox GEKSO Heritage Site with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox GEKSO Heritage Site]] with unknown parameter "_VALUE_"|ignoreblank=y| alt | area | Area | buffer_zone | Buffer_zone | caption | Caption | child | Child | coordinates | Coordinates | criteria | Criteria | magical_class | Magical_class | gekso_region | GEKSO_region | danger | Danger | embedded | Embedded | extension | Extension | ID | includes | Includes | image | Image | image_size | image_upright | imagecaption | Link | location |Location | locmapin | Locmapin | map_caption | map_width | name | Name | official_name | Official_name | part_of | Part_of | Region | relief | Session | Type | website | Website | GHS | year | Year | session | Session | | |||
}}<noinclude>{{documentation}}<!--Please add any categories to the /doc page --></noinclude> | }}<noinclude>{{documentation}}<!--Please add any categories to the /doc page --></noinclude> | ||
Latest revision as of 02:19, 13 July 2022
This template uses Lua: |
Syntax
{{Infobox GEKSO Site | GHS = <!-- name as inscribed on the World Heritage List: use with the STAND-ALONE version of this template --> | Official_name = <!-- name as inscribed on the World Heritage List: use ONLY with the embedded version of this template, if it doesn't matches the name of the template it is in: see [[Giza pyramid complex]] for an example--> | image = <!-- optional --> | image_size = <!-- optional --> | caption = <!-- optional --> | Part_of = <!-- optional: when the article subject is part of a GHS listing, not a full one, e.g. one church in a series of churches --> | Includes = <!-- optional: when a group of subjects together form this GHS; avoid long listings, in which case it is better to summarize or to omit the parameter altogether--> | Location = <!-- optional --> | Criteria = <!-- Cultural, Natural or Mixed, plus roman numbers --> | Magical_class = <!-- Nullus, Debynis, Ekonopai, Endoxos, Lampros --> | GEKSO_region = <!-- optional --> | ID = | Coordinates = <!-- optional; use {{coord}} --> | Year = | Session = | Extension = <!-- optional --> | Danger = <!-- optional --> | Area = <!-- optional --> | Buffer_zone = <!-- optional --> | Website = <!-- optional --> | locmapin = <!-- optional --> | map_caption = <!-- optional --> | map_width = <!-- optional --> | relief = <!-- "1" for relief map - if available --> | child = <!-- optional; set to "yes" to embed this infobox within another infobox --> | embedded = <!-- optional; use to embed another infobox template within this one, e.g. {{Location map many}} --> }}