Template:Sidebar: Difference between revisions

From FamilySearch Wiki
m (Text replacement - "Civil Registration- Vital Records" to "Civil Registration")
(add back style information for news & info boxes)
(29 intermediate revisions by 9 users not shown)
Line 1: Line 1:
<div style="width: 24%; float: left;">
<div style="float: left; width: 24%">
{| border="0" class="FCK__ShowTableBorders"
{| class="FCK__ShowTableBorders" border="0"
|-
|-
| style="background: rgb(238, 238, 238); text-align: center; color: rgb(51, 51, 51); font-family: verdana; font-size: 85%; moz-background-clip: -moz-initial; moz-background-origin: -moz-initial; moz-background-inline-policy: -moz-initial;" | '''News &amp; Events'''
| style="font-size: 85%; background: rgb(238,238,238); color: rgb(51,51,51); font-family: verdana; text-align: center; moz-background-clip: -moz-initial; moz-background-origin: -moz-initial; moz-background-inline-policy: -moz-initial"| '''News &amp; Events'''
|-
|-
| style="background: rgb(250, 245, 255); text-align: left; font-family: verdana; font-size: 95%; -moz-background-clip: -moz-initial; -moz-background-inline-policy: -moz-initial; -moz-background-origin: -moz-initial;" | {{{news|
| style="background: rgb(250, 245, 255) none repeat scroll 0% 0%; font-size: 95%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial; font-family: verdana; text-align: left;" |{{{news|
* Add news items
* Add news items
}}}
}}}
|-
|-
| style="background: rgb(238, 238, 238); text-align: center; color: rgb(51, 51, 51); font-family: verdana; font-size: 85%; moz-background-clip: -moz-initial; moz-background-origin: -moz-initial; moz-background-inline-policy: -moz-initial;" | '''Topics'''
| style="font-size: 85%; background: rgb(238,238,238); color: rgb(51,51,51); font-family: verdana; text-align: center; moz-background-clip: -moz-initial; moz-background-origin: -moz-initial; moz-background-inline-policy: -moz-initial" | '''Topics'''
|-
|-
| style="background: rgb(250, 245, 255); text-align: left; font-family: verdana; font-size: 95%; moz-background-clip: -moz-initial; moz-background-origin: -moz-initial; moz-background-inline-policy: -moz-initial;" |  
| style="font-size: 95%; background: rgb(250,245,255); font-family: verdana; text-align: left; moz-background-clip: -moz-initial; moz-background-origin: -moz-initial; moz-background-inline-policy: -moz-initial" |  
Key topics to get started:
 
*[[{{PAGENAME}} Census|Census]]
*[[{{PAGENAME}} Church Records|Church Records]]
*[[{{PAGENAME}} Civil Registration|Civil Registration]]
*[[{{PAGENAME}} Probate Records|Probate Records]]
 
Other topics:
 
*[[{{PAGENAME}} Archives and Libraries|Archives and Libraries]]  
*[[{{PAGENAME}} Archives and Libraries|Archives and Libraries]]  
*[[{{PAGENAME}} Biography|Biography]]  
*[[{{PAGENAME}} Biography|Biography]]  
*[[{{PAGENAME}} Cemeteries|Cemeteries]]  
*[[{{PAGENAME}} Cemeteries|Cemeteries]]  
*[[{{PAGENAME}} Census|Census]]
*[[{{PAGENAME}} Church Directories|Church Directories]]  
*[[{{PAGENAME}} Church Directories|Church Directories]]  
*[[{{PAGENAME}} Church History|Church History]]  
*[[{{PAGENAME}} Church History|Church History]]  
*[[{{PAGENAME}} Church Records|Church Records]]
*[[{{PAGENAME}} Civil Registration- Vital Records|Civil Registration]]
*[[{{PAGENAME}} Court Records|Court Records]]  
*[[{{PAGENAME}} Court Records|Court Records]]  
*[[{{PAGENAME}} Directories|Directories]]  
*[[{{PAGENAME}} Directories|Directories]]  
*[[{{PAGENAME}} Emigration and Immigration|Emigration &amp; Immigration]]  
*[[{{PAGENAME}} Emigration and Immigration|Emigration &amp; Immigration]]  
*[[{{PAGENAME}} in the FamilySearch Catalog|FamilySearch Catalog]]
*[[{{PAGENAME}} Gazetteers|Gazetteers]]  
*[[{{PAGENAME}} Gazetteers|Gazetteers]]  
*[[{{PAGENAME}} Genealogy|Genealogy]]  
*[[{{PAGENAME}} Genealogy|Genealogy]]  
*[[{{PAGENAME}} Historical Geography|Historical Geography]]  
*[[{{PAGENAME}} Historical Geography|Historical Geography]]  
*[[{{PAGENAME}} Historical Languages|Historical Languages]]
*[[{{PAGENAME}} History|History]]  
*[[{{PAGENAME}} History|History]]  
*[[{{PAGENAME}} Jewish Research|Jewish Research]]
*[[{{PAGENAME}} Land and Property|Land and Property]]  
*[[{{PAGENAME}} Land and Property|Land and Property]]  
*[[{{PAGENAME}} Languages|Languages]]
*[[{{PAGENAME}} Maps|Maps]]  
*[[{{PAGENAME}} Maps|Maps]]  
*[[{{PAGENAME}} Military History|Military History]]  
*[[{{PAGENAME}} Merchant Marine|Merchant Marine]]  
*[[{{PAGENAME}} Military Records|Military Records]]  
*[[{{PAGENAME}} Military Records|Military Records]]  
*[[{{PAGENAME}} Newspapers|Newspapers]]  
*[[{{PAGENAME}} Newspapers|Newspapers]]  
*[[{{PAGENAME}} Nobility|Nobility]]  
*[[{{PAGENAME}} Nobility|Nobility]]  
*[[{{PAGENAME}} Occupations|Occupations]]  
*[[{{PAGENAME}} Occupations|Occupations]]  
*[[{{PAGENAME}} Parishes|Parishes]]
*[[{{PAGENAME}} Periodicals|Periodicals]]  
*[[{{PAGENAME}} Periodicals|Periodicals]]  
*[[{{PAGENAME}} Names, Personal|Personal Names]]  
*[[{{PAGENAME}} Names, Personal|Personal Names]]  
*[[{{PAGENAME}} Place Names|Place Names]]  
*[[{{PAGENAME}} Place Names|Place Names]]  
*[[{{PAGENAME}} Public Records|Public Records]]  
*[[{{PAGENAME}} Poor Law Unions|Poor Law Unions]]
*[[{{PAGENAME}} Probate Records|Probate Records]]  
*[[{{PAGENAME}} Schools|Schools]]  
*[[{{PAGENAME}} Schools|Schools]]  
*[[{{PAGENAME}} Societies|Societies]]
*[[{{PAGENAME}} Societies|Societies]]
*[[{{PAGENAME}} Taxation|Taxation]]
*[[{{PAGENAME}} Tutorials|Tutorials]]
*[[{{PAGENAME}} Voting Records|Voting Records]]


|-
|-
| style="background: rgb(238, 238, 238); text-align: center; color: rgb(51, 51, 51); font-family: verdana; font-size: 85%; moz-background-clip: -moz-initial; moz-background-origin: -moz-initial; moz-background-inline-policy: -moz-initial;" | '''Did You Know?'''
| style="font-size: 85%; background: rgb(238,238,238); color: rgb(51,51,51); font-family: verdana; text-align: center; moz-background-clip: -moz-initial; moz-background-origin: -moz-initial; moz-background-inline-policy: -moz-initial" | '''Did You Know'''
|-
|-
| style="background: rgb(250, 245, 255); text-align: left; font-family: verdana; font-size: 95%; -moz-background-clip: -moz-initial; -moz-background-inline-policy: -moz-initial; -moz-background-origin: -moz-initial;" | {{{info|
| style="background: rgb(250, 245, 255) none repeat scroll 0% 0%; font-size: 95%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial; font-family: verdana; text-align: left;" |{{{info|
* Add information
* Add information
}}}
}}}
<br>
|}
|}
</div>  
</div>
 
<noinclude>
<noinclude>
<p>
 
== Purpose ==
== Purpose ==
To easily add and maintain a sidebar with links to standard pages for an article about a place.
To easily add a sidebar with links to standards pages for a place.


== Usage==
== Usage==
To use this template insert the code {{tl|sidebar}} at the top of an article. This will produce a sidebar menu with 3 sections, '''News & Events''', '''Topics''' and '''Did You Know'''.
The '''Topics''' section will list a number of articles as defined by this template. The article links for each will be prefixed by the name of the page in which the sidebar is inserted, although this prefix will not be shown in the listing.
The other two boxes can be configured for each specific page. Two parameters are set-up to allow this; '''news''' and '''info'''. If not defined the default text as shown below will be shown.
{| border="1"
{| border="1"
!Field Name !! Usage !! Description
!Field Name !! Usage !! Description
|-
|-
| news || optional || Add items to the '''News & Events''' box<br>Default<tt>
| news || optional || Add items to the '''News & Events''' box
* Add news items
|-
|-
| info || optional || Add items to the '''Did You Know''' box<br>Default<tt>
| info || optional || Add items to the '''Did You Know''' box
* Add information
</tt>
|-
|-
|}
|}


[[Category:Sidebar templates|{{PAGENAME}}]]
[[Category:Templates|Sidebar]]
</noinclude>
</noinclude>

Revision as of 16:09, 11 July 2009


Purpose[edit source]

To easily add a sidebar with links to standards pages for a place.

Usage[edit source]

Field Name Usage Description
news optional Add items to the News & Events box
info optional Add items to the Did You Know box