Template:US-sidebar

From FamilySearch Wiki

(Difference between revisions)
(tweak template)
(DC to OC)
(12 intermediate revisions by 7 users not shown)
Line 1: Line 1:
<div style="float: left; width: 24%">
+
<div style="float: left; width: 24%;">
{| class="FCK__ShowTableBorders" border="0"
+
{| border="0" class="FCK__ShowTableBorders"
 
|-
 
|-
| 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="font-size: 85%; background: none repeat scroll 0% 0% rgb(238, 238, 238); color: rgb(51, 51, 51); font-family: verdana; text-align: center;" | '''News &amp; Events'''
 
|-
 
|-
| style="background: rgb(250, 245, 255) none repeat scroll 0% 0%; font-size: 85%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial; font-family: verdana; text-align: left;" |{{{news|
+
| style="background-color: rgb(250, 245, 255); background-image: none; background-repeat: repeat; background-attachment: scroll; background-position: 0% 0%; -moz-background-size: auto auto; font-size: 85%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial; font-family: verdana; text-align: left;" |  
 +
{{{news|
 
* Add news items
 
* Add news items
}}}
+
}}}&nbsp; <br>
 +
 
 
|-
 
|-
| 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="font-size: 85%; background: none repeat scroll 0% 0% rgb(238, 238, 238); color: rgb(51, 51, 51); font-family: verdana; text-align: center;" | '''{{PAGENAME}} 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="font-size: 95%; background: none repeat scroll 0% 0% rgb(250, 245, 255); font-family: verdana; text-align: left;" |  
 
*'''[[{{PAGENAME}} Record Selection Table|Record Selection Table]]'''  
 
*'''[[{{PAGENAME}} Record Selection Table|Record Selection Table]]'''  
 +
*[[African-American Resources for {{PAGENAME}}|African Americans]]
 
*[[Indians of {{PAGENAME}}|American Indians]]  
 
*[[Indians of {{PAGENAME}}|American Indians]]  
 
*[[{{PAGENAME}} Archives and Libraries|Archives and Libraries]]  
 
*[[{{PAGENAME}} Archives and Libraries|Archives and Libraries]]  
 +
*[[{{PAGENAME}} Bible Records|Bible Records]]
 
*[[{{PAGENAME}} Bibliography|Bibliography]]  
 
*[[{{PAGENAME}} Bibliography|Bibliography]]  
 
*[[{{PAGENAME}} Biography|Biography]]  
 
*[[{{PAGENAME}} Biography|Biography]]  
Line 34: Line 38:
 
*[[{{PAGENAME}} Newspapers|Newspapers]]  
 
*[[{{PAGENAME}} Newspapers|Newspapers]]  
 
*[[{{PAGENAME}} Obituaries|Obituaries]]  
 
*[[{{PAGENAME}} Obituaries|Obituaries]]  
*[[{{PAGENAME}} Occupations|Occupations]]  
+
*[[{{PAGENAME}} Occupations|Occupations]]
 +
*[[{{PAGENAME}} Online Collections|Online Collections]] 
 
*[[{{PAGENAME}} Periodicals|Periodicals]]  
 
*[[{{PAGENAME}} Periodicals|Periodicals]]  
 
*[[{{PAGENAME}} Probate Records|Probate Records]]  
 
*[[{{PAGENAME}} Probate Records|Probate Records]]  
*[[{{PAGENAME}} Societies|Societies]]
+
*[[{{PAGENAME}} Public Records|Public Records]]
*[[{{PAGENAME}} Taxation|Taxation]]
+
*[[{{PAGENAME}} Societies|Societies]]  
 +
*[[{{PAGENAME}} Taxation|Taxation]]
 +
*[[{{PAGENAME}} Town Records|Town Records]]  
 
*[[{{PAGENAME}} Vital Records|Vital Records]]  
 
*[[{{PAGENAME}} Vital Records|Vital Records]]  
 +
*[[{{PAGENAME}} For Further Reading|For Further Reading]]
 +
 
|-
 
|-
| 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="font-size: 85%; background: none repeat scroll 0% 0% rgb(238, 238, 238); color: rgb(51, 51, 51); font-family: verdana; text-align: center;" | '''Did You Know?'''
 
|-
 
|-
| style="background: rgb(250, 245, 255) none repeat scroll 0% 0%; font-size: 85%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial; font-family: verdana; text-align: left;" |{{{info|
+
| style="background-color: rgb(250, 245, 255); background-image: none; background-repeat: repeat; background-attachment: scroll; background-position: 0% 0%; -moz-background-size: auto auto; font-size: 85%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial; font-family: verdana; text-align: left;" | {{{info|
 
* Add information
 
* Add information
 
}}}
 
}}}
 
|}
 
|}
</div>
+
</div><noinclude>
 
+
{{documentation}}
<noinclude>
+
<p>
+
== Purpose ==
+
To easily add and maintain a sidebar with links to standard pages for an article about a place in the United States.
+
 
+
== Usage==
+
To use this template insert the code {{tl|US-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
+
</tt>
+
|-
+
|}
+
 
+
[[Category:Sidebar templates|{{PAGENAME}}]]
+
 
</noinclude>
 
</noinclude>

Revision as of 01:11, 15 December 2012

News & Events
  • Add news items

 

US-sidebar Topics
Did You Know?
  • Add information
[[{{fullurl:Template:US-sidebar/doc| action=edit&preload=Template:Documentation/preload }} create]] Documentation icon Template documentation