Difference between revisions of "Template:Birth, death and age templates"

From Ava Zinn Wiki
Jump to: navigation, search
[unchecked revision][unchecked revision]
(margin/col1width (content1))
(added "Start/end dates" (related templates) section)
Line 71: Line 71:
 
       | {{tlb|age as of date}} | Current age (in years) from a known age at a specified date.
 
       | {{tlb|age as of date}} | Current age (in years) from a known age at a specified date.
 
   }} }}
 
   }} }}
 +
 +
<!----------------------------------------------------------------------------->
 +
 +
| abbr3 = dates
 +
| section3 = Start{{\}}end dates
 +
| content3 =
 +
  {{Aligned table
 +
  |style=margin:0 auto;line-height:1.35em;text-align:left;
 +
  |col1style=font-size:110%;white-space:nowrap;padding-right:1.0em;
 +
  |row1style=line-height:1.6em;font-weight:bold;border-bottom:1px solid #aaa;
 +
  | Template&nbsp;                        | {{resize|110%|Description{{\}}use&nbsp;}}
 +
  | {{tlb|start date}} / {{tlb|end date}} |
 +
  | {{tlb|start-date}} / {{tlb|end-date}} |
 +
  | {{tlb|start date and age}}            |
 +
  | {{tlb|start date and years ago}}      |
 +
  | {{tlb|end date and age}}              |
 +
  }}
  
 
<!----------------------------------------------------------------------------->
 
<!----------------------------------------------------------------------------->
Line 83: Line 100:
 
{{Documentation
 
{{Documentation
 
  | content =
 
  | content =
{{Collapsible sections option |list={{hlist|BDA|age}}}}
+
{{Collapsible sections option |list={{hlist|BDA|age|dates}}}}
 
{{Collapsible option |default=expanded}}
 
{{Collapsible option |default=expanded}}
  

Revision as of 07:53, 31 December 2014

Documentation icon Template documentation

Template:Collapsible sections option How to manage this template's visibility

  • Use {{Birth, death and age templates |state=collapsed}} to show this template in its collapsed (i.e. hidden) state.
Use {{Birth, death and age templates |state=expanded}} to show this template in its expanded (i.e. fully visible) state.
Use {{Birth, death and age templates |state=autocollapse}} to show this template in its collapsed state only if there is another template of the same type on the page.
  • expanded has been set as the default state.