Template:Contact: Difference between revisions

From Giles
Jump to navigationJump to search
(Created page with "<noinclude>{{TemplateDoc}}Category: Templates</noinclude> <includeonly>{| style="border: thin solid #a0a0d0;" width="75%" |- | style="background-color:#ffffd0; text-align:...")
 
No edit summary
 
(One intermediate revision by one other user not shown)
Line 7: Line 7:
{{!}} style="background-color:#ffffd0; text-align: right;" {{!}} Date of birth
{{!}} style="background-color:#ffffd0; text-align: right;" {{!}} Date of birth
{{!}} style="background-color:#dfffd0;" {{!}} {{{DOB}}}
{{!}} style="background-color:#dfffd0;" {{!}} {{{DOB}}}
{{!}}-
⚫
}}
⚫
{{#if: {{{DOD|}}} |
{{!}} style="background-color:#ffffd0; text-align: right;" {{!}} Date of death
{{!}} style="background-color:#dfffd0;" {{!}} {{{DOD}}}
{{!}}-
{{!}}-
}}
}}
Line 62: Line 67:


|}
|}
⚫
{{#if: {{{NoCategory|}}}
|<!--then-->
|<!--else-->[[Category:Family]]
⚫
}}
</includeonly>
</includeonly>

Latest revision as of 08:04, 26 April 2023

[edit]

Error creating thumbnail: File missing
Template Documentation

This template is used to create a contact record for a person.

This:

{{Contact
 |  Name=Ben Dover
 |  DOB=02 Dec 2000
 |  DOD=03 Dec 3000
 |  Phone=+64 4 555 555
 |  Phone2=+64 555 444 444
 |  Address=14 Nob End
 |  Address2=Nowhere
 |  Address3=London
 |  Email=noreply@gmail.com
 |  Mother={{PersonLink|Bob Dover}}
 |  Father={{PersonLink|Mary Dover}}
 |  Children={{PersonLink|Wee Dover}}
 }}

Renders as:

Ben Dover
Date of birth 02 Dec 2000
Date of death 03 Dec 3000
Phone +64 4 555 555
+64 555 444 444
Email noreply@gmail.com
Address 14 Nob End
Nowhere
London
Mother Bob Dover
Father Mary Dover
Children Wee Dover


Pretty much all the fields are optional