Difference between revisions of "Template:Marriage"

From FamilyTree
Jump to navigation Jump to search
Line 1: Line 1:
<includeonly>{{event|{{#if:{{{show|}}}|{{{show|}}}|{{{1|{{{spouse1|{{{spouse|}}}}}}}}} (m.&nbsp;{{#if:{{#pos:{{{2}}}|c.}}|c.&nbsp;|}}{{get-year|{{{2|{{{date}}}}}}}}{{#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=Marriage: {{{1|{{{spouse|{{{spouse1|}}}}}}}}} to {{{spouse2|{{SUBPAGENAME}}}}}|hide-coord=y|noHcard={{#ifeq:{{{country|}}}{{{locality1|}}}{{{city|}}}{{{street-address1|}}}{{{lat|}}}|||y}}|}}</includeonly><noinclude>
+
<includeonly>{{event|{{#if:{{{show|}}}|{{{show|}}}|{{{1|{{{spouse1|{{{spouse|}}}}}}}}} (m.&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=Marriage: {{{1|{{{spouse|{{{spouse1|}}}}}}}}} to {{{spouse2|{{SUBPAGENAME}}}}}|hide-coord=y|noHcard={{#ifeq:{{{country|}}}{{{locality1|}}}{{{city|}}}{{{street-address1|}}}{{{lat|}}}|||y}}|}}</includeonly><noinclude>
 
{{documentation}}
 
{{documentation}}
 
</noinclude>
 
</noinclude>

Revision as of 00:44, 11 October 2010

[create] 50px Template documentation