Template:ENG-sidebar: Difference between revisions
m (Text replacement - "Social Life and Customs|Social Life and Customs]]" to "Social Life and Customs|Social Life & Customs]]") |
(→Usage: expand on parameters) |
||
(16 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
{{Sidebar-div}} | {{Sidebar-div}} | ||
{| | |||
{| | |||
|- | |- | ||
| align="center" style="font-family: verdana; background: rgb(238,238,238); color: rgb(51,51,51); -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous" | '''News & Events''' | | align="center" style="font-family: verdana; background: rgb(238,238,238); color: rgb(51,51,51); -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous" | '''News & Events''' | ||
|- | |- | ||
| align="left" style="background: rgb(250,245,255); -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous" | {{{news| | | align="left" style="background: rgb(250,245,255); -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous" | {{{news| | ||
* Add news items | * Add news items | ||
}}} | }}} | ||
Line 12: | Line 11: | ||
|- | |- | ||
| style="text-align: left; font-family: verdana; background: rgb(250,245,255); font-size: 95%; moz-background-clip: -moz-initial; moz-background-origin: -moz-initial; moz-background-inline-policy: -moz-initial" | | | style="text-align: left; font-family: verdana; background: rgb(250,245,255); font-size: 95%; moz-background-clip: -moz-initial; moz-background-origin: -moz-initial; moz-background-inline-policy: -moz-initial" | | ||
Key topics to get started: | Key topics to get started: | ||
*[[{{PAGENAME}} Census|Census]] | *[[{{PAGENAME}} Census|Census]] | ||
*[[{{PAGENAME}} Church Records|Church Records]] | *[[{{PAGENAME}} Church Records|Church Records]] | ||
*[[{{PAGENAME}} Civil Registration|Civil Registration]] | *[[{{PAGENAME}} Civil Registration|Civil Registration]] | ||
*[[{{PAGENAME}} Probate Records|Probate Records]] | |||
*[[{{PAGENAME}} Probate Records|Probate Records]] | Other topics: | ||
Other topics: | |||
*[[{{PAGENAME}} Archives and Libraries|Archives and Libraries]] | *[[{{PAGENAME}} Archives and Libraries|Archives and Libraries]] | ||
*[[{{PAGENAME}} Biography|Biography]] | *[[{{PAGENAME}} Biography|Biography]] | ||
Line 29: | Line 24: | ||
*[[{{PAGENAME}} Court Records|Court Records]] | *[[{{PAGENAME}} Court Records|Court Records]] | ||
*[[{{PAGENAME}} Directories|Directories]] | *[[{{PAGENAME}} Directories|Directories]] | ||
*[[{{PAGENAME}} Emigration and Immigration|Emigration & | *[[{{PAGENAME}} Emigration and Immigration|Emigration & Immigration]] | ||
*[[{{PAGENAME}} in the | *[[{{PAGENAME}} in the FHL Catalog|FHL Catalog]] | ||
*[[{{PAGENAME}} Gazetteers|Gazetteers]] | *[[{{PAGENAME}} Gazetteers|Gazetteers]] | ||
*[[{{PAGENAME}} Genealogy|Genealogy]] | *[[{{PAGENAME}} Genealogy|Genealogy]] | ||
*[[{{PAGENAME}} Heraldic Visitations|Heraldic Visitations]] | |||
*[[{{PAGENAME}} Historical Geography|Historical Geography]] | *[[{{PAGENAME}} Historical Geography|Historical Geography]] | ||
*[[{{PAGENAME}} History|History]] | *[[{{PAGENAME}} History|History]] | ||
*[[{{PAGENAME}} | *[[{{PAGENAME}} Land and Property|Land & Property]] | ||
*[[{{PAGENAME}} | *[[{{PAGENAME}} Languages|Languages]] | ||
*[[{{PAGENAME}} Maps|Maps]] | *[[{{PAGENAME}} Maps|Maps]] | ||
*[[{{PAGENAME}} | *[[{{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}} Poor Law|Poor Law | *[[{{PAGENAME}} Poor Law Unions|Poor Law Unions]] | ||
*[[{{PAGENAME}} Schools|Schools]] | *[[{{PAGENAME}} Schools|Schools]] | ||
*[[{{PAGENAME}} Societies|Societies]] | *[[{{PAGENAME}} Societies|Societies]] | ||
*[[{{PAGENAME}} Taxation|Taxation]] | *[[{{PAGENAME}} Taxation|Taxation]] | ||
*[[{{PAGENAME}} Tutorials|Tutorials]] | *[[{{PAGENAME}} Tutorials|Tutorials]] | ||
*[[{{PAGENAME}} Voting Records|Voting Records]] | *[[{{PAGENAME}} Voting Records|Voting Records]] | ||
Line 66: | Line 55: | ||
| style="text-align: left; font-family: verdana; background: rgb(250,245,255); font-size: 95%; -moz-background-clip: -moz-initial; -moz-background-inline-policy: -moz-initial; -moz-background-origin: -moz-initial" | {{{info| | | style="text-align: left; font-family: verdana; background: rgb(250,245,255); font-size: 95%; -moz-background-clip: -moz-initial; -moz-background-inline-policy: -moz-initial; -moz-background-origin: -moz-initial" | {{{info| | ||
* Add information | * Add information | ||
}}} | }}} | ||
|} | |} | ||
{{{badges|{{Forum badge | |||
| layout = vertical | |||
| forum link = http://forums.familysearch.org/en/forumdisplay.php?f=24 | |||
| forum name = England Research Forums | |||
}}}}} | |||
{{closing div}}<noinclude> | |||
<p> | |||
== Purpose == | |||
To easily add and maintain a sidebar with links to standard pages for an article about a major place in [[England]]. This version is designed to prevent the problems with the navigation bar on the right side of the page being pushed below the content and to allow text to flow under the sidebar when it extends that far down the page. | |||
== Usage== | |||
To use this template insert the code {{tl|ENG-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 with specific information for page. Finally at the end of the sidebar optional [[FamilySearch Wiki:Resource badge templates|resource badges]] can be added . The three parameters that allow you to do this are; '''news''', '''info''' abd '''badges'''. If not defined the default text as shown below will be shown. | |||
{ | {| border="1" | ||
!Field Name !! Usage !! Description | |||
|- | |||
| 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<br>Default<tt> | |||
* Add information | |||
|- | |||
| badges || optional || Add badges to the sidebar<br>Default<br> | |||
{{Forum badge | |||
| layout = vertical | | layout = vertical | ||
| forum link = | | forum link = http://forums.familysearch.org/en/forumdisplay.php?f=24 | ||
| forum name = England Research Forums | | forum name = England Research Forums | ||
}}} | }} | ||
{{ | |- | ||
|} | |||
[[Category:Sidebar templates|{{PAGENAME}}]] | |||
</noinclude> |
Revision as of 15:16, 28 November 2012
Purpose[edit source]
To easily add and maintain a sidebar with links to standard pages for an article about a major place in England. This version is designed to prevent the problems with the navigation bar on the right side of the page being pushed below the content and to allow text to flow under the sidebar when it extends that far down the page.
Usage[edit source]
To use this template insert the code {{ENG-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 with specific information for page. Finally at the end of the sidebar optional resource badges can be added . The three parameters that allow you to do this are; news, info abd badges. 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
|
info | optional | Add items to the Did You Know box Default
|
badges | optional | Add badges to the sidebar Default |