http://www.psdevwiki.com/ps3/history/Template:BirthDeathAge/doc?feed=atom& Template:BirthDeathAge/doc - Revision history 2024-03-28T14:55:22Z Revision history for this page on the wiki MediaWiki 1.39.6 http://www.psdevwiki.com/ps3/index.php?title=Template:BirthDeathAge/doc&diff=17766&oldid=prev Euss at 17:43, 14 December 2012 2012-12-14T17:43:58Z <p></p> <table style="background-color: #fff; color: #202122;" data-mw="interface"> <col class="diff-marker" /> <col class="diff-content" /> <col class="diff-marker" /> <col class="diff-content" /> <tr class="diff-title" lang="en"> <td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Older revision</td> <td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 18:43, 14 December 2012</td> </tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l88">Line 88:</td> <td colspan="2" class="diff-lineno">Line 88:</td></tr> <tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td></tr> <tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>[[Category:Date mathematics templates|{{PAGENAME}}]] </div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>[[Category:Date mathematics templates|{{PAGENAME}}]] </div></td></tr> <tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>&lt;/includeonly&gt;</div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>&lt;/includeonly&gt;<ins style="font-weight: bold; text-decoration: none;">[[Category:Templates]]</ins></div></td></tr> </table> Euss http://www.psdevwiki.com/ps3/index.php?title=Template:BirthDeathAge/doc&diff=17167&oldid=prev Euss: Created page with "__NOTOC__ {{documentation subpage}} <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE YOU CAN EDIT THE TEMPLATE DOCUMENTATION BELOW THIS COMMENT --..." 2012-12-12T21:21:50Z <p>Created page with &quot;__NOTOC__ {{documentation subpage}} &lt;!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE YOU CAN EDIT THE TEMPLATE DOCUMENTATION BELOW THIS COMMENT --...&quot;</p> <p><b>New page</b></p><div>__NOTOC__<br /> {{documentation subpage}}<br /> &lt;!-- <br /> PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE<br /> YOU CAN EDIT THE TEMPLATE DOCUMENTATION BELOW THIS COMMENT<br /> --&gt;<br /> {{shortcut|Template:bdage}}<br /> ==Usage==<br /> Depending on the parameters specified, this template displays a person's birth or death year, or full birth or death date, with or without the person's age. It therefore combines the functionality of the following templates:<br /> *{{tl|Birth-date}}<br /> *{{tl|Birth date}}<br /> *{{tl|Birth date and age}} &amp;ndash; same as {{tl|Birth date}}, except that &quot;(age ##)&quot; appears after the birth date<br /> *{{tl|Birth year and age}} &amp;ndash; year of birth and approximate age<br /> *{{tl|Death-date}}<br /> *{{tl|Death date}}<br /> *{{tl|Death date and age}} &amp;ndash; same as {{tl|Death date}}, except that &quot;(aged ##)&quot; appears after the death date<br /> *{{tl|Death year and age}} &amp;ndash; year of death and approximate age at death<br /> <br /> Using this template rather than simply inserting the date into articles allows for the inclusion of hidden [[metadata]] about the date. This metadata can be used by web browsers and other software tools to extract the details, and display them using some other website or mapping tool, index or search them.<br /> <br /> The minimum information required by the template is a birth or death year.<br /> <br /> ==Syntax==<br /> &lt;pre&gt;<br /> {{BirthDeathAge | [insert &quot;B&quot; for a birth date, or leave blank for a death date] |<br /> [year of birth] | [month of birth] | [day of birth] | [year of death] |<br /> [month of death] | [day of death]}}<br /> &lt;/pre&gt;<br /> <br /> Any missing information can simply be left out of the template: see the examples below.<br /> <br /> ==Examples==<br /> For readability, spaces have been inserted between pipe symbols (&quot;|&quot;) where information has not been inserted into the template. When using the template, these spaces can be omitted. Using {{tl|^}} can help space the template <br /> <br /> ===Spacing===<br /> &lt;pre&gt;{{BirthDeathAge|{{^}}|1976|{{^}}|{{^}}|2007|1|1}}&lt;/pre&gt;<br /> {{BirthDeathAge|{{^}}|1976|{{^}}|{{^}}|2007|1|1}}<br /> <br /> ===Date format===<br /> An optional parameter, date format, can be set to &quot;yes&quot; to display the day before the month. This is primarily used in articles about people from parts of the world where the day precedes the month in a date.<br /> <br /> &lt;pre&gt;{{BirthDeathAge|B|1976|1|1|{{^}}|{{^}}|{{^}}}}&lt;/pre&gt;<br /> {{BirthDeathAge|B|1976|1|1|{{^}}|{{^}}|{{^}}}}<br /> &lt;pre&gt;{{BirthDeathAge|B|1976|1|1|{{^}}|{{^}}|{{^}}|yes}}&lt;/pre&gt;<br /> {{BirthDeathAge|B|1976|1|1|{{^}}|{{^}}|{{^}}|yes}}<br /> <br /> ===Date of birth===<br /> &lt;pre&gt;{{BirthDeathAge|B|1976}}&lt;/pre&gt;<br /> {{BirthDeathAge|B|1976}}<br /> &lt;pre&gt;{{BirthDeathAge|B|1976|6|6|1990|8|8}}&lt;/pre&gt;<br /> {{BirthDeathAge|B|1976|6|6|1990|8|8}}<br /> &lt;pre&gt;{{BirthDeathAge|B|1976|6|6}}&lt;/pre&gt;<br /> {{BirthDeathAge|B|1976|6|6}}<br /> &lt;pre&gt;{{BirthDeathAge|B|1976||1990}}&lt;/pre&gt; <br /> {{BirthDeathAge|B|1976|||1990}}<br /> <br /> ===Date of death===<br /> &lt;pre&gt;{{BirthDeathAge| |1976| | |1990| |}}&lt;/pre&gt;<br /> {{BirthDeathAge| |1976| | |1990| |}}<br /> &lt;pre&gt;{{BirthDeathAge| | | | |1990| |}}&lt;/pre&gt;<br /> {{BirthDeathAge| | | | |1990| |}}<br /> &lt;pre&gt;{{BirthDeathAge| | | | |1990|8|8}}&lt;/pre&gt;<br /> {{BirthDeathAge| | | | |1990|8|8}}<br /> &lt;pre&gt;{{BirthDeathAge| |1976| | |1990|8|8}}&lt;/pre&gt;<br /> {{BirthDeathAge| |1976| | |1990|8|8}}<br /> <br /> ==See also==<br /> * [[Wikipedia:Age calculation templates]]<br /> ; Birth, death, age<br /> * {{tl|Birth date}} – displays the date and related hidden metadata<br /> * {{tl|Birth date and age}} – same as {{tl|Birth date}}, except that &quot;(age ##)&quot; appears after the birth date<br /> * {{tl|Birth date and age2}} – displays birth date, plus age as of a specified date, &quot;(aged ##)&quot; appears after the birth date<br /> * {{tl|Birth year and age}} – year of birth and approximate age<br /> * {{tl|Birth-date and age}} – display birth date and age, accepts dates as text (15 June 1950; June 15, 1950; June 1950; etc.)<br /> * {{tl|Birth based on age as of date}} – displays approximate birth year and current age; used when a dated reference mentions the age of a person as of the date of publication<br /> * {{tl|Death date}} – displays the date and related hidden metadata<br /> * {{tl|Death date and age}} – same as {{tl|Death date}}, except that &quot;(aged ##)&quot; appears after the death date<br /> * {{tl|Death year and age}} – year of death and approximate age at death<br /> * {{tl|Death-date and age}} – display death date and age, accepts date as text (15 June 1950; June 15, 1950; June 1950; etc.)<br /> ; Age only<br /> * {{tl|Age}} – age based on the number of full years between two dates (or a specified date and current date) <br /> * {{tl|Age nts}} – similar to the above, but will sort correctly in sortable tables<br /> * {{tl|Age in years and days}} – full years and days between two dates (or a specified date and current date)<br /> * {{tl|Age in days}} – age in days between two dates (or a specified date and current date)<br /> * {{tl|Age as of date}} – current age in years, based on a known age as of a specified date<br /> &lt;includeonly&gt;<br /> &lt;!--PLEASE ADD CATEGORIES AND INTERWIKIS BELOW THIS LINE. THANKS.--&gt;<br /> <br /> [[Category:Date mathematics templates|{{PAGENAME}}]] <br /> &lt;/includeonly&gt;</div> Euss