Template:Infobox VROEMG Site: Difference between revisions
Jump to navigation
Jump to search
Philimania (talk | contribs) mNo edit summary |
Philimania (talk | contribs) mNo edit summary |
||
(9 intermediate revisions by the same user not shown) | |||
Line 4: | Line 4: | ||
| decat = yes<!-- remove from tracking category --> | | decat = yes<!-- remove from tracking category --> | ||
|bodyclass = vcard | |bodyclass = vcard | ||
| headerstyle = {{#ifeq:{{{embed|}}}|yes||background-color:#ededed}} | |||
|titleclass = category | |titleclass = category | ||
Line 18: | Line 19: | ||
|caption1 = {{#if:{{{caption|{{{Caption|{{{imagecaption|}}}}}}}}} |{{{caption|{{{Caption|{{{imagecaption|}}}}}}}}}}} | |caption1 = {{#if:{{{caption|{{{Caption|{{{imagecaption|}}}}}}}}} |{{{caption|{{{Caption|{{{imagecaption|}}}}}}}}}}} | ||
| | | data1 = {{#if:{{{map|}}} | ||
| | |{{#invoke:InfoboxImage|InfoboxImage|image={{{map|}}}|size={{{map_width|{{{map_size|}}}}}}|upright=1.15|alt={{{alt_map|{{{map_alt|}}}}}}|title={{{mapcaption|}}} }}<!-- | ||
-->{{#if:{{{mapcaption|{{{mapcaption|}}}}}}|<div style="position:relative;top:0.3em;">{{{mapcaption|{{{mapcaption|}}}}}}</div>}} }} | |||
|rowclass1 = <includeonly>{{#if:{{{child|{{{Child|}}}}}}|mergedrow|}}</includeonly> | |rowclass1 = <includeonly>{{#if:{{{child|{{{Child|}}}}}}|mergedrow|}}</includeonly> | ||
Line 28: | Line 28: | ||
|labelstyle = padding-right:0.3em; | |labelstyle = padding-right:0.3em; | ||
| | | header2 = {{#if:{{{Formal_name|{{{formal_name|}}}}}}{{{Status|{{{status|}}}}}}{{{Threat|{{{threat|}}}}}}|General information}} | ||
| | |||
| | |||
|rowclass3 = mergedrow | |rowclass3 = mergedrow | ||
|label3 = | |label3 = Formal name(s) | ||
|data3 = {{{ | |data3 = {{{Formal_name|{{{formal_name|}}}}}} | ||
|rowclass4 = mergedrow | |rowclass4 = mergedrow | ||
|label4 = | |label4 = Local name(s) | ||
|data4 = {{{ | |data4 = {{{Local_name|{{{local_name|}}}}}} | ||
|rowclass5 = mergedrow | |rowclass5 = mergedrow | ||
|label5 = [[Lists of VROEMG Sites|Location]] | |label5 = Status | ||
| | |data5 = {{{Status|{{{status|}}}}}} | ||
|rowclass6 = mergedrow | |||
|label6 = [[Lists of VROEMG Sites|Location]] | |||
|data6 = {{{Location|{{{location|}}}}}} | |||
|rowclass7 = mergedrow | |rowclass7 = mergedrow | ||
|label7 = [[VROEMG#Threat levels|Threat level]] | |label7 = [[VROEMG#Threat levels|Threat level]] | ||
Line 50: | Line 52: | ||
|label9 = Reference | |label9 = Reference | ||
|data9 = {{#if:{{{ID|}}} |{{#if:{{{Link|}}} |[{{{Link}}} {{{ID}}}] |[https://whc.unesco.org/en/list/{{{ID}}} {{{ID}}}] }} }} | |data9 = {{#if:{{{ID|}}} |{{#if:{{{Link|}}} |[{{{Link}}} {{{ID}}}] |[https://whc.unesco.org/en/list/{{{ID}}} {{{ID}}}] }} }} | ||
|rowclass10 = mergedrow | |||
|label10 = Area | |||
|class10 = category | |||
|data10 = {{{Area|{{{area|}}}}}} | |||
|rowclass11 = mergedrow | |||
|label11 = Buffer zone | |||
|class11 = category | |||
|data11 = {{{Buffer_zone|{{{buffer_zone|}}}}}} | |||
|rowclass12 = mergedrow | |rowclass12 = mergedrow | ||
|label12 = Construction | |label12 = Construction | ||
|data12 = {{if first display both|{{{Construction_start|{{{construction_start|}}}}}}|–{{{Construction_end|{{{construction_end|}}}}}}}} | |data12 = {{if first display both|{{{Construction_start|{{{construction_start|}}}}}}|–{{{Construction_end|{{{construction_end|}}}}}}}} | ||
| | |rowclass13 = mergedrow | ||
| | |label13 = Founded | ||
| | |data13 = {{{Founded|{{{founded|}}}}}} | ||
| | |||
| | | header14 = {{#if:{{{Founder|{{{founder|}}}}}}{{{Leader_title1|{{{leader_title1|}}}}}}{{{Leader_name1|{{{leader_name1|}}}}}}|Members}} | ||
| | |||
|rowclass15 = mergedrow | |||
|label15 = Founder(s) | |||
|data15 = {{{Founder|{{{founder|}}}}}} | |||
|rowclass17 = mergedrow | |rowclass17 = mergedrow | ||
|label17 = {{{Leader_title1|{{{leader_title1|}}}}}} | |label17 = {{{Leader_title1|{{{leader_title1|}}}}}} | ||
Line 69: | Line 81: | ||
|label19 = {{{Leader_title3|{{{leader_title3|}}}}}} | |label19 = {{{Leader_title3|{{{leader_title3|}}}}}} | ||
|data19 = {{{Leader_name3|{{{leader_name3|}}}}}} | |data19 = {{{Leader_name3|{{{leader_name3|}}}}}} | ||
|rowclass20 = mergedrow | |rowclass20 = mergedrow | ||
|label20 = | |label20 = Entities | ||
|data20 = {{{Entities|{{{entities|}}}}}} | |||
|data20 = {{{ | |||
|rowclass21 = mergedrow | |rowclass21 = mergedrow | ||
|label21 = | |label21 = Guards | ||
|data21 = {{{Guards|{{{guards|}}}}}} | |||
|data21 = {{{ | |||
|rowclass22 = mergedrow | |rowclass22 = mergedrow | ||
|label22 = | |label22 = Researchers | ||
|data22 = {{{ | |data22 = {{{Researchers|{{{researchers|}}}}}} | ||
|rowclass23 = mergedrow | |rowclass23 = mergedrow | ||
|label23 = | |label23 = Volunteers | ||
|data23 = {{{ | |data23 = {{{Volunteers|{{{volunteers|}}}}}} | ||
| | | header24 = {{#if:{{{Website|{{{website|}}}}}}|Other information}} | ||
| | |||
|label27 = Website | |label27 = Website | ||
Line 111: | Line 116: | ||
-->}}<!-- | -->}}<!-- | ||
-->}} | -->}} | ||
}}{{#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 | mapcaption | }}{{#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 | map | mapcaption | child | Child | coordinates | Coordinates | Threat | threat | magical_class | Magical_class | gekso_region | GEKSO_region | Leader_title1 | leader_title1 | Leader_name1 | leader_name1 | Leader_title2 | leader_title2 | Leader_name2 | leader_name2 | Leader_title3 | leader_title3 | Leader_name3 | leader_name3 | embedded | Embedded | founded | Founded | ID | Construction_start | construction_start | Construction_end | construction_end | image | Image | image_size | image_upright | imagecaption | image2 | Image2 | image2_size | image2_upright | image2caption | Link | location |Location | locmapin | Locmapin | map_caption | map_width | name | Name | formal_name | Formal_name | Local_name | local_name | Region | relief | Session | Status | status | Type | website | Website | GHS | Founder | founder | Entities | entities | Guards | guards | Researchers | researchers | Volunteers | volunteers | map_size | map_width |alt_map | map_alt | ||
}}<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 12:11, 23 December 2022
This template uses Lua: |
Syntax
{{Infobox VROEMG Site | GHS = <!-- name --> | formal_name = | local_name = | image = | image_size = <!-- optional --> | image_upright = <!-- optional --> | alt = <!-- optional --> | caption = <!-- optional --> | map = | map_size = | alt_map = | mapcaption = | status = <!-- defunct of active --> | Location = <!-- optional --> | threat = <!-- threat levels: Safe, Mild, Cautious, Intense, Severe, End-of-world --> | Magical_class = <!-- Nullus, Debynis, Ekonopai, Endoxos, Lampros --> | ID = | construction_start = | construction_end = | founder = | founded = | leader_title1 = | leader_name1 = | leader_title2 = | leader_name2 = | leader_title3 = | leader_name3 = | area = <!-- optional --> | buffer_zone = <!-- optional --> | entities = | guards = | researchers = | volunteers = | website = <!-- optional --> | 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}} --> }}
Example
VROEMG Site | |
---|---|
Captions for test | |
General information | |
Formal name(s) | Exampleland |
Local name(s) | Landexample |
Status | Active |
Location | Example, Absurdistan |
Threat level | Mild |
Magical class | Endoxos |
Area | 234km2 |
Buffer zone | 34km2 |
Construction | 1987–1992 |
Founded | 1984 |
Members | |
Founder(s) | John Doe |
Position1 | John Smith |
Position2 | Jane Doe |
Position3 | Sue D. Nym |
Entities | 3 |
Guards | 400 |
Researchers | 630 |
Volunteers | 95 |
Other information | |
Website | example.org |
{{Infobox VROEMG Site | GHS = Example Site | formal_name = Exampleland | local_name = Landexample | image = example.png | image_size = 250px | alt = example | caption = Captions | map = file:test.png | map_size = 200px | alt_map = test | mapcaption = Captions for test | status = Active | location = Example, Absurdistan | threat = Mild | Magical_class = Endoxos | construction_start = 1987 | construction_end = 1992 | founder = John Doe | founded = 1984 | leader_title1 = Position1 | leader_name1 = John Smith | leader_title2 = Position2 | leader_name2 = Jane Doe | leader_title3 = Position3 | leader_name3 = Sue D. Nym | area = 234km<sup>2</sup> | buffer_zone = 34km<sup>2</sup> | entities = 3 | guards = 400 | researchers = 630 | volunteers = 95 | website = example.org }}