Template:ENG-sidebar

From FamilySearch Wiki

(Difference between revisions)
(Created page with "{{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: p...")
 
m (Text replace - "http://forums.familysearch.org/en" to "https://www.familysearch.org/learn/forums/en")
(4 intermediate revisions by one user not shown)
Line 59: Line 59:
 
{{{badges|{{Forum badge
 
{{{badges|{{Forum badge
 
| layout = vertical
 
| layout = vertical
| forum link = http://forums.familysearch.org/en/forumdisplay.php?f=24
+
| forum link = https://www.familysearch.org/learn/forums/en/forumdisplay.php?f=24
 
| forum name = England Research Forums
 
| forum name = England Research Forums
 
}}}}}
 
}}}}}
{{closing div}}  
+
{{closing div}}<noinclude>
<noinclude>
+
{{documentation}}</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|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"
+
!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
+
| forum link = http://forums.familysearch.org/en/forumdisplay.php?f=24
+
| forum name = England Research Forums
+
}}
+
|-
+
|}
+
 
+
[[Category:Sidebar templates|{{PAGENAME}}]]
+
</noinclude>
+

Revision as of 23:17, 14 April 2013

[view] [edit] [history] [purge] Documentation icon Template documentation

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 {{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
  • Add news items
info optional Add items to the Did You Know box
Default
  • Add information
badges optional Add badges to the sidebar
Default