Template:Family: Difference between revisions

From Giles
Jump to navigationJump to search
(Created page with "<noinclude>{{TemplateDoc}}Category: Templates</noinclude> <includeonly>{{Contact | Name={{{Name|}}} | DOB={{{DOB|}}} | Phone={{{Phone|}}} | Phone2={{{Phone2|}}} | Email={...")
 
No edit summary
 
(2 intermediate revisions by one other user not shown)
Line 3: Line 3:
| Name={{{Name|}}}
| Name={{{Name|}}}
| DOB={{{DOB|}}}
| DOB={{{DOB|}}}
| DOD={{{DOD|}}}
| Phone={{{Phone|}}}
| Phone={{{Phone|}}}
| Phone2={{{Phone2|}}}
| Phone2={{{Phone2|}}}
Line 12: Line 13:
| Father={{{Father|}}}
| Father={{{Father|}}}
| Children={{{Children|}}}
| Children={{{Children|}}}
| {{#if: {{{NoCategory}}}
|<!--then-->NoCategory={{NoCategory}}
}}
}}
}}
{{#if: {{{NoCategory}}}
{{#if: {{{NoCategory|}}}
|<!--then-->
|<!--then-->
|<!--else-->[[Category:Family]]
|<!--else-->[[Category:Family]]

Latest revision as of 08:05, 26 April 2023

[edit]

Error creating thumbnail: File missing
Template Documentation

This template is used to create a contact for a family member.

This:

{{Family
 |  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