Template:Sidebar: Difference between revisions
(edit entry for FHL Catalog (made it use pagename)) |
(added category) |
||
Line 1: | Line 1: | ||
<div style=" | <div style="width: 24%; float: left"> | ||
{| | {| class="FCK__ShowTableBorders" border="0" | ||
|- | |- | ||
| style="font- | | style="text-align: center; font-family: verdana; background: rgb(238,238,238); color: rgb(51,51,51); font-size: 85%; moz-background-clip: -moz-initial; moz-background-origin: -moz-initial; moz-background-inline-policy: -moz-initial" | '''News & Events''' | ||
|- | |- | ||
| style="background: rgb(250, 245, 255) | | 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" | {{{news| | ||
* Add news items | * Add news items | ||
}}} | }}} | ||
|- | |- | ||
| style="font- | | style="text-align: center; font-family: verdana; background: rgb(238,238,238); color: rgb(51,51,51); font-size: 85%; moz-background-clip: -moz-initial; moz-background-origin: -moz-initial; moz-background-inline-policy: -moz-initial" | '''Topics''' | ||
|- | |- | ||
| style="font- | | 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" | | ||
*[[{{PAGENAME}} Archives and Libraries|Archives and Libraries]] | *[[{{PAGENAME}} Archives and Libraries|Archives and Libraries]] | ||
*[[{{PAGENAME}} Biography|Biography]] | *[[{{PAGENAME}} Biography|Biography]] | ||
Line 22: | Line 22: | ||
*[[{{PAGENAME}} Directories|Directories]] | *[[{{PAGENAME}} Directories|Directories]] | ||
*[[{{PAGENAME}} Emigration and Immigration|Emigration & Immigration]] | *[[{{PAGENAME}} Emigration and Immigration|Emigration & Immigration]] | ||
*[[{{PAGENAME}} in the FHL Catalog|FHL Catalog]] | *[[{{PAGENAME}} in the FHL Catalog|FHL Catalog]] | ||
*[[{{PAGENAME}} Gazetteers|Gazetteers]] | *[[{{PAGENAME}} Gazetteers|Gazetteers]] | ||
*[[{{PAGENAME}} Genealogy|Genealogy]] | *[[{{PAGENAME}} Genealogy|Genealogy]] | ||
Line 43: | Line 43: | ||
*[[{{PAGENAME}} Schools|Schools]] | *[[{{PAGENAME}} Schools|Schools]] | ||
*[[{{PAGENAME}} Societies|Societies]] | *[[{{PAGENAME}} Societies|Societies]] | ||
*[[{{PAGENAME}} Taxation|Taxation]] | *[[{{PAGENAME}} Taxation|Taxation]] | ||
*Voting Records | |||
|- | |- | ||
| style="font- | | style="text-align: center; font-family: verdana; background: rgb(238,238,238); color: rgb(51,51,51); font-size: 85%; 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) | | 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 | ||
}}} | }}} | ||
|} | |} | ||
</div> | </div> | ||
<noinclude> | <noinclude> | ||
<p> | <p> |
Revision as of 14:52, 2 March 2012
News & Events |
|
Topics |
|
Did You Know? |
|
Purpose[edit source]
To easily add and maintain a sidebar with links to standard pages for an article about a place.
Usage[edit source]
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
|
info | optional | Add items to the Did You Know box Default
|