Difference between revisions of "Template:Sidebar"

From FamilySearch Wiki
Jump to: navigation, search
(if exit)
Line 13: Line 13:
 
Key topics to get started:  
 
Key topics to get started:  
  
*{{#ifexist: {{PAGENAME}} Census| [[{{PAGENAME}} Census{{!}}Census]]}}  
+
{{#ifexist: {{PAGENAME}} Census| [[{{PAGENAME}} Census{{!}}Census]]}}  
*{{#ifexist: {{PAGENAME}} Church Records| [[{{PAGENAME}} Church Records{{!}}Church Records]]}}  
+
{{#ifexist: {{PAGENAME}} Church Records| [[{{PAGENAME}} Church Records{{!}}Church Records]]}}  
*{{#ifexist: {{PAGENAME}} Civil Registration- Vital Records| [[{{PAGENAME}} Civil Registration{{!}}Civil Registration]]}}  
+
{{#ifexist: {{PAGENAME}} Civil Registration- Vital Records| [[{{PAGENAME}} Civil Registration{{!}}Civil Registration]]}}  
*{{#ifexist: {{PAGENAME}} Probate Records|Probate Records{{!}}Probate Records]]}}
+
{{#ifexist: {{PAGENAME}} Probate Records|Probate Records{{!}}Probate Records]]}}
  
 
Other topics:  
 
Other topics:  

Revision as of 20:57, 10 October 2013

News & Events
  • Add news items
Topics

Key topics to get started:




Other topics:

Did You Know?
{{{info|
  • 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