Difference between revisions of "Template:Infobox cemetery/sandbox"
imported>Funandtrvl (tst) |
imported>Frietjes |
||
| Line 3: | Line 3: | ||
| titleclass = fn org | | titleclass = fn org | ||
| title = {{{name|<includeonly>{{PAGENAME}}</includeonly>}}} | | title = {{{name|<includeonly>{{PAGENAME}}</includeonly>}}} | ||
| + | | subheader = {{#if:{{{native_name|}}}|<span class="nickname" {{#if:{{{native_name_lang|}}}| lang="{{{native_name_lang}}}"}}>{{{native_name}}}</span>}} | ||
| image = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image_size|{{{imagesize|}}}}}}|sizedefault=frameless|alt={{{alt|}}}}} | | image = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image_size|{{{imagesize|}}}}}}|sizedefault=frameless|alt={{{alt|}}}}} | ||
| caption = {{{caption|}}} | | caption = {{{caption|}}} | ||
| Line 18: | Line 19: | ||
|width={{{map_size|220}}}|float=center|border=none|caption= }}{{{map_caption|Shown within {{#invoke:Location map|data|{{{map_type}}}|name}}}}} }} | |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|}}}{{{ | + | | header1 = {{#if:{{{established|}}}{{{country|}}}{{{location|}}}{{{coordinates|}}}{{{latitude|}}}{{{type|}}}{{{owner|}}}{{{size||}}}{{{size_km2|}}}{{{size_sqmi|}}}{{{size_ha|}}}{{{size_acre|}}}{{{graves|}}}{{{website|}}}{{{findagraveid|}}}{{{politicalgeo|}}}|Details}} |
| label2 = Established | | label2 = Established | ||
| Line 65: | Line 66: | ||
| label17 = [[Find a Grave]] | | label17 = [[Find a Grave]] | ||
| − | | data17 = {{{findagrave|}}} | + | | data17 = {{#if:{{{findagraveid|}}}|[http://www.findagrave.com/cgi-bin/fg.cgi?page=cr&CRid={{{findagraveid|}}} {{#invoke:String|replace|{{{name|{{PAGENAMEBASE}}}}}|%s+%b()$||1|false}}]|{{{findagrave|}}}}} |
| label18 = [[The Political Graveyard]] | | label18 = [[The Political Graveyard]] | ||
| − | | data18 = {{{political|}}} | + | | data18 = {{#if:{{{politicalgeo|}}}|[http://politicalgraveyard.com/geo/{{{politicalgeo|}}} {{#invoke:String|replace|{{{name|{{PAGENAMEBASE}}}}}|%s+%b()$||1|false}}]|{{{political|}}}}} |
| label19 = Footnotes | | label19 = Footnotes | ||
| Line 75: | Line 76: | ||
| data20 = {{{nrhp|{{{embedded|}}}}}} | | data20 = {{{nrhp|{{{embedded|}}}}}} | ||
| − | }}<noinclude> | + | }}{{#if:{{{findagrave|}}}{{{political|}}}|[[Category:Pages using infobox cemetery with findagrave or political parameters|{{#if:{{{political|}}}|P}}{{#if:{{{findagrave|}}}|F}}{{PAGENAME}}]]}}<noinclude> |
| + | |||
{{Documentation}} | {{Documentation}} | ||
| + | |||
<!--Please add this template's categories to the /doc subpage, not here - thanks!--> | <!--Please add this template's categories to the /doc subpage, not here - thanks!--> | ||
</noinclude> | </noinclude> | ||
Revision as of 20:18, 1 July 2016
| 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. |