Template:US-president-row/doc

Purpose
For use on List of presidents of the United States.

Erik Möller, Deputy Director of the Wikimedia Foundation, spoke recently, in an article called Wikipedia to Add Meaning to Its Pages, about "making some of the data on Wikipedia's 15 million (and counting) articles understandable to computers as well as humans". The article referred, in particular, to "allow[ing] software to know, for example, that the numbers shown in one of the columns in this table listing U.S. presidents are dates". This template makes each row "understandable to computers", by emitting an hCalendar, or event, microformat for the presidency, with an hCard, or person, microformat for the president.

Usage
Invariable-per-presidency Properties


 * presd-link =   Name of page about presidency, without square brackets
 * presd-yob =    Year of birth of president
 * presd-yod =    Year of death of president
 * presd-num =    Sequential number of presidency

Variable-per-presidency Properties


 * pres-img  =    File name of portrait of president, without square brackets
 * pres-link =    Name of page about president, without square brackets
 * pres-refs =    References for president, in full wiki format
 * pres-start =   Start date of presidency, using Start date in the format
 * pres-end  =    End date of presidency, plain text
 * pres-party =   President's party
 * eterm     =    Sequential number of term of executive office (president, vice-president, cabinet or other civil offices having terms congruent therewith)
 * vice      =    Name of page about vice-president, without square brackets

Metadata Properties
 * how-many-parts =   Number of virtual subrows in the row of presidency, or, in other words, almost-common rowspan value of the cells in the row of presidency
 * how-many-parts-in-property =   Number of virtual subrows in the virtual subrow of property (the kind variable per presidency and solely occupying a cell), which, unless transcending rows of presidency, will be less than how-many-parts

Example
