Template:Sidebar

From FamilySearch Wiki

(Difference between revisions)
(New page: <div style="float: left; width: 24%"> {| class="FCK__ShowTableBorders" border="0" |- | style="font-size: 85%; background: rgb(238,238,238); color: rgb(51,51,51); font-family: verdana; text...)
 
(19 intermediate revisions by 7 users not shown)
Line 1: Line 1:
<div style="float: left; width: 24%">
+
<div style="width: 24%; float: left;">
 
{| class="FCK__ShowTableBorders" border="0"
 
{| class="FCK__ShowTableBorders" border="0"
 
|-
 
|-
| 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(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'''
 
|-
 
|-
| {{{news|
+
| 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|
 
* Add news items
 
* Add news items
 
}}}
 
}}}
 
|-
 
|-
| 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(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: 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" |  
+
| 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;" |  
*[[Sidebar Archives and Libraries|Archives and Libraries]]  
+
Key topics to get started:
*[[Sidebar Biography|Biography]]  
+
 
*[[Sidebar Cemeteries|Cemeteries]]  
+
*[[{{PAGENAME}} Census|Census]]  
*[[Sidebar Census|Census]]  
+
*[[{{PAGENAME}} Church Records|Church Records]]  
*[[Sidebar Church Directories|Church Directories]]  
+
*[[{{PAGENAME}} Civil Registration- Vital Records|Civil Registration]]  
*[[Sidebar Church History|Church History]]  
+
*[[{{PAGENAME}} Probate Records|Probate Records]]
*[[Sidebar Church Records|Church Records]]  
+
 
*[[Sidebar Civil Registration- Vital Records|Civil Registration]]  
+
Other topics:
*[[Sidebar Court Records|Court Records]]  
+
 
*[[Sidebar Directories|Directories]]  
+
*[[{{PAGENAME}} Archives and Libraries|Archives and Libraries]]  
*[[Sidebar Emigration and Immigration|Emigration &amp; Immigration]]  
+
*[[{{PAGENAME}} Biography|Biography]]  
*[[Sidebar Gazetteers|Gazetteers]]  
+
*[[{{PAGENAME}} Cemeteries|Cemeteries]]
*[[Sidebar Genealogy|Genealogy]]  
+
*[[{{PAGENAME}} Church Directories|Church Directories]]  
*[[Sidebar Historical Geography|Historical Geography]]  
+
*[[{{PAGENAME}} Church History|Church History]]  
*[[Sidebar History|History]]  
+
*[[{{PAGENAME}} Court Records|Court Records]]  
*[[Sidebar Land and Property|Land and Property]]  
+
*[[{{PAGENAME}} Directories|Directories]]  
*[[Sidebar Languages|Languages]]  
+
*[[{{PAGENAME}} Emigration and Immigration|Emigration &amp; Immigration]]  
*[[Sidebar Maps|Maps]]  
+
*[[{{PAGENAME}} in the FHL Catalog|FHL Catalog]]
*[[Sidebar Merchant Marine|Merchant Marine]]  
+
*[[{{PAGENAME}} Gazetteers|Gazetteers]]  
*[[Sidebar Military Records|Military Records]]  
+
*[[{{PAGENAME}} Genealogy|Genealogy]]&nbsp;
*[[Sidebar Newspapers|Newspapers]]  
+
*[[{{PAGENAME}} Historical Geography|Historical Geography]]  
*[[Sidebar Nobility|Nobility]]  
+
*[[{{PAGENAME}} History|History]]  
*[[Sidebar Occupations|Occupations]]  
+
*[[{{PAGENAME}} Land and Property|Land and Property]]  
*[[Sidebar Periodicals|Periodicals]]  
+
*[https://www.familysearch.org/learn/wiki/en/Baden_Grossherzogtum_%28grand_duchy%29_Language_and_Languages Language and Languages]
*[[Sidebar Names, Personal|Personal Names]]  
+
*[[{{PAGENAME}} Maps|Maps]]&nbsp;
*[[Sidebar Place Names|Place Names]]  
+
*[https://www.familysearch.org/learn/wiki/en/Baden_Military_History Military History]  
*[[Sidebar Poor Law Unions|Poor Law Unions]]  
+
*[[{{PAGENAME}} Military Records|Military Records]]  
*[[Sidebar Probate Records|Probate Records]]  
+
*[[{{PAGENAME}} Newspapers|Newspapers]]  
*[[Sidebar Schools|Schools]]  
+
*[[{{PAGENAME}} Nobility|Nobility]]  
*[[Sidebar Societies|Societies]]
+
*[[{{PAGENAME}} Occupations|Occupations]]  
*[[Sidebar Taxation|Taxation]]
+
*[[{{PAGENAME}} Parishes|Parishes]]
 +
*[[{{PAGENAME}} Periodicals|Periodicals]]  
 +
*[[{{PAGENAME}} Names, Personal|Personal Names]]  
 +
*[[{{PAGENAME}} Place Names|Place Names]]&nbsp;
 +
*[[{{PAGENAME}} Schools|Schools]]  
 +
*[[{{PAGENAME}} Societies|Societies]]  
 +
*[[{{PAGENAME}} Taxation|Taxation]]  
 +
*[[{{PAGENAME}} Tutorials|Tutorials]]  
 +
*[[{{PAGENAME}} Voting Records|Voting Records]]
  
 
|-
 
|-
| 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(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?'''
 
|-
 
|-
| {{{info|
+
| 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|
 
* Add information
 
* Add information
 
}}}
 
}}}
<br>
 
 
 
|}
 
|}
</div>
+
</div>  
 
+
 
<noinclude>
 
<noinclude>
 
+
<p>
 
== Purpose ==
 
== Purpose ==
To easily add a sidebar with links to standards pages for a place.
+
To easily add and maintain a sidebar with links to standard pages for an article about 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
+
| news || optional || Add items to the '''News & Events''' box<br>Default<tt>
 +
* Add news items
 
|-
 
|-
| info || optional || Add items to the '''Did You Know''' box
+
| info || optional || Add items to the '''Did You Know''' box<br>Default<tt>
 +
* Add information
 +
</tt>
 
|-
 
|-
 
|}
 
|}
  
[[Category:Templates|Sidebar]]
+
[[Category:Sidebar templates|{{PAGENAME}}]]
 
</noinclude>
 
</noinclude>

Revision as of 17:25, 13 May 2013

News & Events
  • Add news items
Topics

Key topics to get started:

Other topics:

Did You Know?
  • Add information

Purpose

To easily add and maintain a sidebar with links to standard pages for an article about a place.

Usage

To use this template insert the code {{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.

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