Template:TemplateTest1/doc
--NOTOC--
Usage
This template is designed for use with the Principles of Family History Research set of Wiki pages and should be located at the end of these article (but above the list of categories). It may also be placed on other articles or pages that refer to these articles.
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.
For example:
{{·}} [[ Your Genealogical Quest |< span style="color:{{{20}}}; font-size:{{{18}}}px; font-family:{{{19}}};"> Your Genealogical Quest < /span>]]
Parameters
This is an experimental copy of the {{Principles}} 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 (20 to be exact but most can be ignored). Unused markers (bars "|") can be omitted at the end but must be added toward the beginning to mark the position of the last entry.
This template is called using the format: {{TemplateTest1| | | | | | | | | | | | | | | | | | | | }}
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).
NOTE: To add pixel sizes for border thickness or text size, just enter a number (do not add px at the end).
1. enter autocollapse to "hide" the Navbox (the default is "show")
2. enter a color for the "title" and "group" text ("group" includes the boxes on the left side)
3. enter a number for the cell padding to be used in all cells
Some of the groupings below are in sets of four as related to the following areas: title, lists, groups, and body, respectively.
4. "title" background color ("tile" is the top full length cell)
5. "list" background color ("list" includes the cells on the right side)
6. "groups" background color ("groups" includes the cells on the left side)
7. "body" background color ( "body" is the space between cells )
The parameters below will not be needed in most circumstances. The lines 8 - 11 will not show color unless their corresponding borders (lines 12 - 15) are set to at least a value of 1.
8. "title" border color ("tile" is the top full length cell)
9. "list" border color ("list" includes the cells on the right side)
10. "groups" border color ("groups" includes the cells on the left side)
11. "body" line color (the "body" line is the outside table border)
12. "title" border width ("tile" is the top full length cell)
13. "list" border width ("list" includes all the cells on the right side)
14. "groups" border width ("groups" includes all the cells on the left side)
15. "body" line width (the "body" line is the outside table border)
16. "title" text size
17. "groups" text size
18. "list" text size
Example of text sizes
19. font style (for the text in the "title" and "groups" cells; see examples below)
- Default textproximanova text
- museo text
20. "lists" text color (the default is "link" blue which should be retained in most instances to provide uniformity for the reader)
Also See
For technical reference the Wikipedia Navbox article for an extensive listing of parameter information.