Template:TemplateTest1/doc: Difference between revisions

m
added info
m (added info)
m (added info)
Line 1: Line 1:
--NOTOC--
=== Usage ===
This template is designed for use with the [[Principles of Family History Research]] set of Wiki pages at the end of the article, above the list of categories.
=== Adding links to the "lists" ===
If a new link is to be added to the "lists" in the cells on the right side, be sure to copy/paste from an existing link.  This should include the "span" coding to ensure that the new link is controlled properly.<br><br> 
For example:<br>
'''<nowiki>{{</nowiki><nowiki>·</nowiki><nowiki>}}</nowiki><nowiki> [[</nowiki>''' ''Your Genealogical Quest'' '''<nowiki>|</nowiki><nowiki>&lt;</nowiki> span style="font-size:{{{20}}}px; font-family:{{{21}}};">''' ''Your Genealogical Quest'' '''<nowiki>&lt;</nowiki> /span><nowiki>]]</nowiki>'''
===Parameters===
===Parameters===


This is a '''''copy''''' of the <nowiki>{{Principles}}</nowiki> template but it can be adjusted (using various input parameter) to change the Navbox appearance and coloration to conform to a desired color scheme on a page of interest.  Therefore there are numerous parameters involved (twenty to be exact but most can be ignored).  Unused markers (bars "<nowiki>|</nowiki>") can be omitted at the end but must be added toward the beginning to mark the position of the last entry.<br>
This is a '''''copy''''' of the <nowiki>{{Principles}}</nowiki> template but it can be adjusted (using various input parameter) to change the Navbox appearance and coloration to conform to a desired color scheme on a page of interest.  Therefore there are numerous parameters involved (21 to be exact but most can be ignored).  Unused markers (bars "<nowiki>|</nowiki>") can be omitted at the end but must be added toward the beginning to mark the position of the last entry.<br>
<br>
<br>
This template is called using the format: '''<nowiki>{{TemplateTest1| | | | | | | | | | | | | | | | | | | | }}</nowiki>'''
This template is called using the format: '''<nowiki>{{TemplateTest1| | | | | | | | | | | | | | | | | | | | | }}</nowiki>'''
<br><br>
<br><br>
'''NOTE:''' To enter colors use either: HTML or Hex code such as '''#ff0000''', text wording such as '''red''', or RGB (Red Green Blue) coding such as '''rgb(255,0,0)'''.<br><br>
'''NOTE:''' To enter colors use either: HTML or Hex code such as '''#ff0000''', text wording such as '''red''', or RGB (Red Green Blue) coding such as '''rgb(255,0,0)'''.<br><br>
Line 12: Line 23:
2.  enter a '''color''' for the "title" and "group" text ("group" includes the boxes on the left side)<br><br>
2.  enter a '''color''' for the "title" and "group" text ("group" includes the boxes on the left side)<br><br>
<!----------------->
<!----------------->
The groupings below are in sets of five as related to the following areas: ''title, base, lists, groups,'' and ''body,''  respectively.<br><br>
Some of the groupings below are in sets of five as related to the following areas: ''title, base, lists, groups,'' and ''body,''  respectively.<br><br>
3.  "title" background '''color''' ("tile" is the top full length cell)<br>
3.  "title" background '''color''' ("tile" is the top full length cell)<br>
4.  "base" background '''color'''  ("base" is the line around the cells on the right side)<br>
4.  "base" background '''color'''  ("base" is the line around the cells on the right side)<br>
Line 32: Line 43:
17.  "body" line '''width''' ( "body" is the space between cells )<br><br>
17.  "body" line '''width''' ( "body" is the space between cells )<br><br>
<!----------------->
<!----------------->
18.<br>
18.."title" text '''size'''<br>
19 <br>
19. "groups" text '''size'''<br>
20 <br>
20. "list" text '''size'''<br>
 
'''Example of text sizes (default = 13)''' <div style=font-size:10px;>10 px text</div> <div style=font-size:11px;>11px text</div> <div style=font-size:12px;>12px text</div> <div style=font-size:13px;>13px (default) text</div> <div style=font-size:14px;>14px  text</div> <div style=font-size:15px;>15px text</div> <div style=font-size:16px;>16px text</div><br><br>
<!----------------->
21. font '''style''' (for example: '''proximanova''' or '''museo''' for the "title" and "groups")<br>


'''Example of text sizes (default = 13)'''
<div style=font-size:10px;>10 px text</div>
<div style=font-size:11px;>11px text</div>
<div style=font-size:12px;>12px text</div>
<div style=font-size:13px;>13px (default) text</div>
<div style=font-size:14px;>14px text</div>
<div style=font-size:15px;>15px text</div>
<div style=font-size:16px;>16px text</div>


[[Category:Templates]]
[[Category:Templates]]
[[Category:Navigational_templates]]
3,970

edits