Template:Snapshot person: Difference between revisions

From OpenGeofiction
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 1: Line 1:
<includeonly><table class="snapshot mw-collapsible mw-collapsed" data-expandtext="&#9660;" data-collapsetext="&#9651;">
<includeonly><table class="snapshot mw-collapsible mw-collapsed" data-expandtext="&#9660;" data-collapsetext="&#9651;">
<tr><th colspan="2"> [[File:Ambox glass.svg|30px|link=]]&nbsp; Snapshot: {{{name}}}&nbsp;</th></tr>
<tr><th colspan="2"> [[File:Ambox glass.svg|30px|link=]]&nbsp; Snapshot: {{{name}}}&nbsp;</th></tr>
<tr {{#if:{{{titles|}}}{{{other-names|}}}| class="cont" |}}><td {{#if:{{{datetype2|}}}{{{date2|}}} | | colspan"2"}}>'''{{{datetype1}}}:''' {{{date1}}}, {{{loc1}}}</td>{{#if:{{{datetype2|}}}{{{date2|}}} | <td>'''{{{datetype2}}}:''' {{{date2}}}{{#if:{{{loc2|}}} |, {{{loc2}}} |}}</td> |}}</tr>
<tr {{#if:{{{titles|}}}{{{other-names|}}}| class="cont" |}}><td {{#if:{{{datetype2|}}}{{{date2|}}} | | colspan"2"}}>'''{{#if:{{{datetype1|}}}|{{{datetype1}}}|Birth}}:''' {{{date1}}}, {{{loc1}}}</td>{{#if:{{{datetype2|}}}{{{date2|}}} | <td>'''{{#if:{{{datetype2|}}}|{{{datetype2}}}|Death}}:''' {{{date2}}}{{#if:{{{loc2|}}} |, {{{loc2}}} |}}</td> |}}</tr>
{{#if:{{{other-names|}}}|<tr {{#if:{{{titles|}}}| class="cont" |}}><td colspan="2">'''Other names:''' {{{other-names}}}</td></tr>|}}
{{#if:{{{other-names|}}}|<tr {{#if:{{{titles|}}}| class="cont" |}}><td colspan="2">'''Other names:''' {{{other-names}}}</td></tr>|}}
{{#if:{{{titles|}}}|<tr><td colspan="2">''{{{titles}}}''</td></tr>|}}
{{#if:{{{titles|}}}|<tr><td colspan="2" style="background:#ffffff;">''{{{titles}}}''</td></tr>|}}
<tr><td colspan="2">{{#if:{{{portrait|}}}| [[File:{{{portrait}}}|right|150px]] |}} {{{paragraph}}}</td></tr>
<tr><td colspan="2">{{#if:{{{portrait|}}}| [[File:{{{portrait}}}|right|150px]] |}} {{{paragraph}}}</td></tr>
<tr><td class="snap-footer"></td><td class="snap-footer"></td></tr>
<tr><td class="snap-footer"></td><td class="snap-footer"></td></tr>

Revision as of 18:04, 21 June 2022

This snapshot box is designed to highlight a specific person in the history of a territory. Provide a very brief overview of information in the paragraph parameter. Important: Please do not attempt to include a full-length article, as this template is not designed for it.

{{Snapshot person
| name = (required)
| datetype1 = (if omitted, defaults to "birth"; options include flourished, lived, reigned, appeared, elected, death)
| date1 = (at least one date is required)
| loc1 = location of first date if applicable
| datetype2 = (if omitted, defaults to "death"; options include flourished, disappeared, removed, and buried)
| date2 =
| loc2 = location of second date if applicable
| other-names =
| titles =
| portrait = (use without "File:")
| paragraph = (short overview paragraph to provide historical context)
}}