Template:Infobox historic site: Difference between revisions

From WikiMD's Wellness Encyclopedia

No edit summary
No edit summary
 
Line 1: Line 1:
<includeonly>{{Infobox
<includeonly>{{Infobox
| child           = {{#ifeq:{{{mode|basic}}}|advanced|no}}
| child = {{{embed|}}}
| bodyclass       = vcard
| bodyclass = vcard
| above          = {{{name|{{PAGENAMEBASE}}}}}
| abovestyle      = font-size:125%; text-align:center; font-weight:bold;
| labelstyle      = font-weight:bold;


<!-- Basic Parameters -->
| above = {{{name|{{PAGENAMEBASE}}}}}
| label1          = Type
| abovestyle = font-size:125%; text-align:center
| data1          = {{{type|}}}
| aboveclass = fn org


| label2          = Location
| labelstyle = font-weight:bold
| data2          = {{{location|}}}


| label3          = Coordinates
| subheader = {{#if:{{{native_name|}}}|''Native name:'' {{{native_name}}}}}
| data3          = {{#if:{{{coordinates|}}}|{{#invoke:Coordinates|coordinsert|{{{coordinates}}}}}|Not available}}
| subheader2 = {{{other_name|{{{alternate_name|}}}}}}


| label4          = Built
| image = {{#if:{{{image|}}}|[[File:{{{image}}}|{{{image_size|300px}}}|alt={{{alt|}}}]]}}
| data4          = {{{built|}}}
| caption = {{{caption|}}}


| label5          = Current Use
| image_map = {{#if:{{{image_map|}}}|[[File:{{{image_map}}}|{{{image_map_size|300px}}}|alt={{{image_map_alt|}}}]]}}
| data5          = {{{current_use|}}}
| caption2 = {{{image_map_caption|}}}


| label6          = Governing Body
| label1 = Type
| data6          = {{{governing_body|}}}
| data1 = {{{type|}}}


<!-- Image -->
| label2 = Location
| image          = {{{image|}}}
| data2 = {{{location|}}}
| caption        = {{{caption|}}}


<!-- Advanced Parameters (Optional) -->
| label3 = Nearest city
{{#ifeq:{{{mode|basic}}}|advanced|
| data3 = {{{nearest_city|}}}
| label7          = Architect
| data7          = {{{architect|}}}


| label8          = Architectural Style
| label4 = Coordinates
| data8          = {{{architectural_style|}}}
| data4 = {{#if:{{{coordinates|}}}|{{{coordinates}}}}}


| label9          = Designation
| label5 = Area
| data9          = {{#if:{{{designation1|}}}|{{{designation1}}} ({{{designation1_date|}}})|None}}
| data5 = {{{area|}}}


| label10        = Owner
| label6 = Built
| data10          = {{{owner|}}}
| data6 = {{{built|}}}


| label11        = Visitors
| label7 = Architect
| data11         = {{#if:{{{visitation_num|}}}|{{{visitation_num}}} ({{{visitation_year|}}})|Not available}}
| data7 = {{{architect|}}}
}}
 
| label8 = Owner
| data8 = {{{owner|}}}
 
| label9 = Governing body
| data9 = {{{governing_body|}}}
 
| label10 = Website
| data10 = {{{website|[No website provided]}}}
 
<!-- Designation list -->
| data11 = {{#if:{{{designation1|}}}|{{#if:{{{designation1_type|}}}|'''Designation:''' {{{designation1_type}}}<br />''{{{designation1|}}}''}}}}
}}</includeonly>
}}</includeonly>


<noinclude>
<noinclude>
== Template Documentation ==
{{documentation}}
=== Usage ===
</noinclude>
This template is for creating an infobox for historic sites, with two modes:
1. **Basic Mode**: For minimal information.
2. **Advanced Mode**: Includes additional details.
 
==== Basic Example ====
```wikitext
{{Infobox historic site
| name = Pyramids of Giza
| type = Historic Landmark
| location = Giza, Egypt
| coordinates = 29.9792° N, 31.1342° E
| built = c. 2560 BC
| current_use = Tourist Attraction
| governing_body = Egyptian Ministry of Tourism
}}

Latest revision as of 16:40, 5 January 2025