Jump to content

Template:Infobox family event: Difference between revisions

From Family Wiki
Created page with "<includeonly> {{Infobox | bodystyle = width: 320px; background: #f9f9f9; font-size: 90%; | name = {{{title|}}} | title = {{{title|Family Event}}} | titlestyle = background:#cedff2; font-size: 110%; font-weight: bold; padding: 0.3em; | label1 = Date | data1 = {{{date|Unknown}}} | label2 = Location | data2 = {{{location|Unknown}}} | label3 = Key People | data3 = {{{key_people|}}} | label4 = Type | data4 = {{{t..."
 
No edit summary
 
Line 1: Line 1:
<includeonly>
<includeonly>
{{Infobox
{| class="wikitable" style="width:320px; background:#f9f9f9; font-size:90%; float:right; clear:right; margin:0 0 1em 1em;"
| bodystyle  = width: 320px; background: #f9f9f9; font-size: 90%;
|+ style="background:#cedff2; font-size:110%; font-weight:bold; padding:0.3em;" | {{{title|Family Event}}}
| name        = {{{title|}}}
|-
| title      = {{{title|Family Event}}}
! style="width:100px;" | Date
| titlestyle  = background:#cedff2; font-size: 110%; font-weight: bold; padding: 0.3em;
| {{{date|Unknown}}}
 
|-
| label1      = Date
! Location
| data1      = {{{date|Unknown}}}
| {{{location|Unknown}}}
 
|-
| label2      = Location
! Key People
| data2      = {{{location|Unknown}}}
| {{{key_people|}}}
 
|-
| label3      = Key People
! Type
| data3      = {{{key_people|}}}
| {{{type|}}}
 
|-
| label4      = Type
! Outcome
| data4      = {{{type|}}}
| {{{outcome|}}}
 
|}
| label5      = Outcome
| data5      = {{{outcome|}}}
}}
</includeonly>
</includeonly>


<noinclude>
<noinclude>
== Template: Infobox family event ==
== Template: Infobox family event ==
This is a custom infobox for family history articles describing specific events (e.g. emigrations, migrations, wartime stories, legends, etc.).
This template creates a simple infobox for family history stories and events using standard wiki table formatting. It requires no external templates.


=== Usage ===
=== Usage ===
Paste this at the top of any page about a family story or event:
Place this at the top of a page like so:


<pre>
<pre>
Line 42: Line 39:


=== Parameters ===
=== Parameters ===
* '''title''': Title of the event or story
* '''title''': Title of the event
* '''date''': Date range or year of the event
* '''date''': When it happened
* '''location''': Where the event occurred
* '''location''': Where it happened
* '''key_people''': Main individuals involved (use internal links)
* '''key_people''': Main people involved (can use internal links)
* '''type''': Short descriptor (e.g. migration, war service, legend)
* '''type''': Migration, war, legend, etc.
* '''outcome''': What happened
* '''outcome''': What happened as a result


</noinclude>
</noinclude>

Latest revision as of 12:15, 27 July 2025


Template: Infobox family event

[edit]

This template creates a simple infobox for family history stories and events using standard wiki table formatting. It requires no external templates.

Usage

[edit]

Place this at the top of a page like so:

{{Infobox family event
| title       = The Titanic Legend
| date        = February–April 1912
| location    = Sheffield, England → Renovo, Pennsylvania
| key_people  = [[Alice Swift]], [[Charles Swift]], [[Daisy Swift]]
| type        = Family legend / maritime travel
| outcome     = Avoided sailing on Titanic; emigrated safely
}}

Parameters

[edit]
  • title: Title of the event
  • date: When it happened
  • location: Where it happened
  • key_people: Main people involved (can use internal links)
  • type: Migration, war, legend, etc.
  • outcome: What happened as a result