Difference between revisions of "Template:Lived at"

From FamilyTree
Jump to navigation Jump to search
Line 1: Line 1:
<includeonly>{{event|{{#if:{{{show|}}}|{{{show|}}}|{{{1|{{{placename1|{{{placename|}}}}}}}}} ({{get-year|{{{2|{{{date}}}}}}}}{{#ifeq:{{{3|{{{end| }}}}}}| |{{#iferror:{{#ifexpr:{{get-year|{{{2|{{{date}}}}}}}}>1939|&ndash;present}}|&ndash;present}}|&ndash;{{get-year|{{{3|{{{end}}}}}} }}}})}}|date={{{2|{{{date|}}}}}}|end={{{3|{{{end|}}}}}}|street-address1={{{street-address1|}}}|street-address2={{{street-address2|}}}|street-address3={{{street-address3|}}}|province={{{province|}}}|lat={{{lat|}}}|lon={{{lon|}}}|locality1={{{locality1|{{{locality|}}}}}}|locality2={{{locality2|}}}|locality3={{{city|{{{locality3|}}}}}}|uncertain={{{uncertain|}}}|region={{{region|{{{state|{{{department|}}}}}}}}}|postcode={{{postcode|}}}|country={{{country|}}}|showname=Residence: {{{1|{{{placename|{{{placename1|}}}}}}}}} to {{{placename2|{{SUBPAGENAME}}}}}|hide-coord=y|noHcard={{#ifeq:{{{country|}}}{{{locality1|}}}{{{city|}}}{{{street-address1|}}}{{{lat|}}}|||y}}|}}</includeonly>
+
<includeonly>{{event|{{#if:{{{show|}}}|{{{show|}}}|{{{1|{{{placename1|{{{placename|}}}}}}}}} (&nbsp;{{#if:{{#pos:{{{2}}}|c.}}|c.&nbsp;|}}{{get-year|{{#replace:{{{2|date}}}|c. |}}}}{{#ifeq:{{{3|{{{end| }}}}}}| |{{#iferror:{{#ifexpr:{{get-year|{{{2|{{{date}}}}}}}}>1939|&ndash;present}}|&ndash;present}}|&ndash;{{#if:{{#pos:{{{3}}}|c.}}|c.&nbsp;|}}{{get-year|{{{3|{{{end}}}}}} }}}})}}|date={{{2|{{{date|}}}}}}|end={{{3|{{{end|}}}}}}|street-address1={{{street-address1|}}}|street-address2={{{street-address2|}}}|street-address3={{{street-address3|}}}|province={{{province|}}}|lat={{{lat|}}}|lon={{{lon|}}}|locality1={{{locality1|{{{locality|}}}}}}|locality2={{{locality2|}}}|locality3={{{city|{{{locality3|}}}}}}|uncertain={{{uncertain|}}}|region={{{region|{{{state|{{{department|}}}}}}}}}|postcode={{{postcode|}}}|country={{{country|}}}|showname=Residence: {{{1|{{{placename|{{{placename1|}}}}}}}}} to {{{placename2|{{SUBPAGENAME}}}}}|hide-coord=y|noHcard={{#ifeq:{{{country|}}}{{{locality1|}}}{{{city|}}}{{{street-address1|}}}{{{lat|}}}|||y}}|}}</includeonly><noinclude>
 +
{{documentation}}
 +
</noinclude>

Revision as of 01:15, 16 October 2010

[create] 50px Template documentation