Difference between revisions of "Template:Infobox cemetery/sandbox"
imported>Jackmcbarn (sync) |
imported>Funandtrvl (sync w/tmp) |
||
| Line 16: | Line 16: | ||
|lon_sec={{#if:{{{lon_sec|{{{longs|}}}}}}{{{lon_dir|{{{longEW|}}}}}}|{{{lon_sec|{{{longs|}}}}}} }} | |lon_sec={{#if:{{{lon_sec|{{{longs|}}}}}}{{{lon_dir|{{{longEW|}}}}}}|{{{lon_sec|{{{longs|}}}}}} }} | ||
|lon_dir={{{lon_dir|{{{longEW|}}}}}} | |lon_dir={{{lon_dir|{{{longEW|}}}}}} | ||
| − | |width={{{map_size|220}}}|float=center|border=none|caption= }}{{{map_caption|Shown within {{{map_type}}} }}} }} | + | |width={{{map_size|220}}}|float=center|border=none|caption= }}{{{map_caption|Shown within {{#invoke:Location map|data|{{{map_type}}}|name}}}}} }} |
| header1 = {{#if:{{{established|}}}{{{country|}}}{{{location|}}}{{{coordinates|}}}{{{latitude|}}}{{{type|}}}{{{owner|}}}{{{size||}}}{{{size_km2|}}}{{{size_sqmi|}}}{{{size_ha|}}}{{{size_acre|}}}{{{graves|}}}{{{website|}}}{{{findagrave|}}}{{{political|}}}|Details}} | | header1 = {{#if:{{{established|}}}{{{country|}}}{{{location|}}}{{{coordinates|}}}{{{latitude|}}}{{{type|}}}{{{owner|}}}{{{size||}}}{{{size_km2|}}}{{{size_sqmi|}}}{{{size_ha|}}}{{{size_acre|}}}{{{graves|}}}{{{website|}}}{{{findagrave|}}}{{{political|}}}|Details}} | ||
| − | | label2 = | + | | label2 = Established |
| data2 = {{{established|}}} | | data2 = {{{established|}}} | ||
| − | | label3 = | + | | label3 = {{#if:{{{abandoned|}}}|Abandoned|Closed}} |
| − | | | + | | data3 = {{#if:{{{abandoned|}}}|{{{abandoned}}}|{{{closed|}}}}} |
| − | | data3 = {{#if:{{{ | ||
| − | | label4 = | + | | label4 = Location |
| − | | data4 = {{{ | + | | class4 = adr |
| + | | data4 = {{#if:{{{location|}}}|<span class="locality">{{{location}}}</span>}} | ||
| − | | label5 = [[Geographic coordinate system|Coordinates]] | + | | label5 = Country |
| − | | | + | | data5 = {{{country|}}} |
| + | |||
| + | | label6 = [[Geographic coordinate system|Coordinates]] | ||
| + | | data6 = {{#if:{{both|{{{latitude|{{{lat_deg|{{{latd|}}}}}}}}}|{{{longitude|{{{lon_deg|{{{longd|}}}}}}}}}}}| | ||
{{Geobox coor|{{{latitude|{{{lat_deg|{{{latd|}}}}}}}}}|{{{lat_min|{{{latm|}}}}}}|{{{lat_sec|{{{lats|}}}}}}|{{{lat_dir|{{{latNS|}}}}}}|{{{longitude|{{{lon_deg|{{{longd|}}}}}}}}}|{{{lon_min|{{{longm|}}}}}}|{{{lon_sec|{{{longs|}}}}}}|{{{lon_dir|{{{longEW|}}}}}}|{{#if:{{{coordinates_type|}}}|{{{coordinates_type}}}|type:landmark}}{{#if: {{{coordinates_region|}}}|_region:{{{coordinates_region}}}}}|{{#if:{{{coordinates_display|}}}|title|μ}}={{{coordinates_display|}}}|format={{{coordinates_format|}}}}}}}{{{coordinates|}}} | {{Geobox coor|{{{latitude|{{{lat_deg|{{{latd|}}}}}}}}}|{{{lat_min|{{{latm|}}}}}}|{{{lat_sec|{{{lats|}}}}}}|{{{lat_dir|{{{latNS|}}}}}}|{{{longitude|{{{lon_deg|{{{longd|}}}}}}}}}|{{{lon_min|{{{longm|}}}}}}|{{{lon_sec|{{{longs|}}}}}}|{{{lon_dir|{{{longEW|}}}}}}|{{#if:{{{coordinates_type|}}}|{{{coordinates_type}}}|type:landmark}}{{#if: {{{coordinates_region|}}}|_region:{{{coordinates_region}}}}}|{{#if:{{{coordinates_display|}}}|title|μ}}={{{coordinates_display|}}}|format={{{coordinates_format|}}}}}}}{{{coordinates|}}} | ||
| − | | | + | | label7 = Type |
| − | | | + | | data7 = {{{type|}}} |
| − | | | + | | label8 = Style |
| − | | | + | | data8 = {{{style|}}} |
| − | | | + | | label9 = Owned by |
| − | | | + | | data9 = {{{owner|}}} |
| − | | | + | | label10 = Size |
| − | | | + | | data10 = {{#if:{{{size|}}}{{{size_km2|}}}{{{size_sqmi|}}}{{{size_ha|}}}{{{size_acre|}}}|{{convinfobox|{{{size_km2|}}}|km2|{{{size_sqmi|}}}|sqmi}}{{convinfobox|{{{size_ha|}}}|ha|{{{size_acre|}}}|acre}}{{{size|}}}}} |
| − | | | + | | label11 = Number of graves |
| − | | | + | | data11 = {{{graves|}}} |
| − | | | + | | label12 = Number of interments |
| − | | | + | | data12 = {{{interments|}}} |
| − | | | + | | label13 = Number of cremations |
| − | | | + | | data13 = {{{cremations|}}} |
| − | | | + | | label14 = Terms of lease |
| − | | | + | | data14 = {{{leases|}}} |
| − | | | + | | label16 = Website |
| − | | | + | | data16 = {{{website|}}} |
| − | | | + | | label17 = [[Find a Grave]] |
| − | | | + | | data17 = {{{findagrave|}}} |
| − | | | + | | label18 = [[The Political Graveyard]] |
| − | | | + | | data18 = {{{political|}}} |
| − | | | + | | data19 = {{{nrhp|{{{embedded|}}}}}} |
| − | }}<noinclude>{{ | + | }}<noinclude> |
| + | {{Documentation}} | ||
| + | <!--Please add this template's categories to the /doc subpage, not here - thanks!--> | ||
| + | </noinclude> | ||
Revision as of 17:07, 5 February 2015
| This is the template sandbox page for Template:Infobox cemetery (diff). See also the companion subpage for test cases. |
| This template uses Lua: |
Usage
Template:Parameter names example
{{Infobox cemetery
| name =
| native_name =
| native_name_lang =
| image =
| image_size =
| alt =
| caption =
| map_type =
| map_size =
| map_caption =
| established =
| abandoned = <!-- or | closed = -->
| location =
| country =
| coordinates =
| type =
| style =
| owner =
| size =
| graves =
| interments =
| cremations =
| leases =
| website =
| findagraveid =
| politicalgeo =
| footnotes =
| nrhp =
| embedded =
}}
Parameters
All parameters are optional.
| Parameter | Default | Description |
|---|---|---|
| name | Page title | The name by which the site is known |
| image | ||
| imagesize | ||
| alt | ||
| caption | ||
| map_type | Uses the {{Location map}} format maps with the latitude and longitude fields, specify the map to use | |
| map_size | The user's thumbnail size | Sets a specific size to the map |
| map_caption | "Shown within" + map_type | Descriptive caption to display under the map |
| established | Year or Date established | |
| location | ||
| country | ||
| coordinates | ||
| type | Common purposes e.g. Public, Private, Church, Family, Jewish, Muslim, Roman Catholic, City, State, Veterans, Federal or National, Non-profit, Historic, Paupers | |
| style | Architectural, Artistic, or Cultural style of cemetery's design | |
| owner | Organization or group who own or are responsible for the cemetery. | |
| size | Size in acres, hectares, square miles, square kilometers, etc. | |
| graves | Number of known graves | |
| interments | Number of interments. Note that in U.S. National or Veterans cemeteries, the veteran and spouse are buried in one grave site. | |
| cremations | Number of cremations | |
| leases | Terms of lease of the grave if the burial is not "in perpetuity". | |
| website | URL of the cemetery's web site | |
| findagraveid | The Cemetery ID number shown on Find a Grave's web site page for this cemetery | |
| politicalgeo | The geo id used at The Political Graveyard web site page for this cemetery (i.e., http://politicalgraveyard.com/geo/GEOID, where GEOID is the geo id)
| |
| nrhp | National Register of Historic Places | |
| embedded |
Coordinates
TemplateData
TemplateData documentation used by VisualEditor and other tools
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
See the monthly parameter usage report for this template.
TemplateData for Infobox cemetery No description.
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Microformats
Tracking category
| The above documentation is transcluded from Template:Infobox cemetery/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages. Please add categories to the /doc subpage. Subpages of this template. |