Template:AFM/doc

From blackwiki
< Template:AFM
Revision as of 10:18, 19 July 2017 by blackwiki>Bungle (created documentation)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Usage

{{AFM|Country (ISO)|Male age|Female age|Year|Parameters}}

This template is used for managing table items on List of countries by age at first marriage. It will automatically calculate the average from the given ages, which itself can be over-ridden if an alternate, manually entered average is desired.

Parameters

  • |avg=NUM optional, defines a manually entered average value
  • |fn=NAME optional, defines a reference to a footnote
  • |ref=NAME optional, defines a reference citation

Example

{{AFM|Brazil|30|27|2013|ref=brazil|fn=test}}
{{AFM|Canada|31.1|29.1|2008|ref=canada|avg=30.1}}

will create..

Country Men Women Average Year Source
 Brazil[lower-alpha 1] 30 27 28.5 3 1.11 2013 [1]
 Canada 31.1 29.1 30.1 2 1.07 2008 [2]

Notes

  1. This is a footnote

References

  1. "United Nations World Marriage Patterns 2000". United Nations.
  2. Family Life - Marriage / Indicators of Well-being in Canada