Template:TemplateTest1/doc: Difference between revisions

m
added font color
m (fix)
m (added font color)
Line 12: Line 12:
===Parameters===
===Parameters===


This is an '''''experimental 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 (19 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 an '''''experimental 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 (20 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>'''
Line 20: Line 20:
'''NOTE:''' To add pixel sizes for border thickness or text size, just enter a number (do not add '''px''' at the end).<br><br>
'''NOTE:''' To add pixel sizes for border thickness or text size, just enter a number (do not add '''px''' at the end).<br><br>
<!----------------->
<!----------------->
1.  enter '''autocollapse''' to "hide" the Navbox (the default is "show")<br>
<font color="maroon">'''1.'''</font> enter '''autocollapse''' to "hide" the Navbox (the default is "show")<br>
2.  enter a '''color''' for the "title" and "group" text ("group" includes the boxes on the left side)<br>
<font color="maroon">'''2.'''</font> enter a '''color''' for the "title" and "group" text ("group" includes the boxes on the left side)<br>
3.  enter a number for the '''cell padding''' to be used in all cells<br><br>
<font color="maroon">'''3.'''</font> enter a number for the '''cell padding''' to be used in all cells<br><br>
<!----------------->
<!----------------->
Some of the groupings below are in sets of four as related to the following areas: ''title, lists, groups,'' and ''body,''  respectively.<br><br>
Some of the groupings below are in sets of four as related to the following areas: ''title, lists, groups,'' and ''body,''  respectively.<br><br>
4.  "title" background '''color''' ("tile" is the top full length cell)<br>
<font color="maroon">'''4.'''</font> "title" background '''color''' ("tile" is the top full length cell)<br>
5.  "list" background '''color''' ("list" includes the cells on the right side)<br>
<font color="maroon">'''5.'''</font> "list" background '''color''' ("list" includes the cells on the right side)<br>
6.  "groups" background '''color''' ("groups" includes the cells on the left side)<br>
<font color="maroon">'''6.'''</font> "groups" background '''color''' ("groups" includes the cells on the left side)<br>
7.  "body" background '''color''' ( "body" is the space between cells )<br><br>
<font color="maroon">'''7.'''</font> "body" background '''color''' ( "body" is the space between cells )<br><br>
<!----------------->
<!----------------->
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. <br><br>
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. <br><br>
8.  "title" border''' color''' ("tile" is the top full length cell)<br>
<font color="maroon">'''8.'''</font> "title" border''' color''' ("tile" is the top full length cell)<br>
9. "list" line '''color''' ("list" includes the cells on the right side)<br>
<font color="maroon">'''9.'''</font> "list" line '''color''' ("list" includes the cells on the right side)<br>
10. "groups" line '''color''' ("groups" includes the cells on the left side)<br>
<font color="maroon">'''10.'''</font> "groups" line '''color''' ("groups" includes the cells on the left side)<br>
11. "body" line '''color''' ( "body" is the space between cells and the outside border)<br><br>
<font color="maroon">'''11.'''</font> "body" line '''color''' ( "body" is the space between cells and the outside border)<br><br>
<!----------------->
<!----------------->
12. "title" border '''width''' ("tile" is the top full length cell)<br>
<font color="maroon">'''12.'''</font> "title" border '''width''' ("tile" is the top full length cell)<br>
13. "list" line '''width''' ("list" includes all the cells on the right side)<br>
<font color="maroon">'''13.'''</font> "list" line '''width''' ("list" includes all the cells on the right side)<br>
14. "groups" line '''width''' ("groups" includes all the cells on the left side)<br>
<font color="maroon">'''14.'''</font> "groups" line '''width''' ("groups" includes all the cells on the left side)<br>
15. "body" line '''width''' ( "body" is the space between cells )<br><br>
<font color="maroon">'''15.'''</font> "body" line '''width''' ( "body" is the space between cells )<br><br>
<!----------------->
<!----------------->
16.."title" text '''size'''<br>
<font color="maroon">'''16.'''</font>."title" text '''size'''<br>
17. "groups" text '''size'''<br>
<font color="maroon">'''17.'''</font> "groups" text '''size'''<br>
18. "list" text '''size'''<br>
<font color="maroon">'''18.'''</font> "list" text '''size'''<br>


'''''Example of text sizes''''' <br><div style="position:relative">
'''''Example of text sizes''''' <br><div style="position:relative">
Line 57: Line 57:
</div><br><br>
</div><br><br>
<!----------------->
<!----------------->
19. font '''style''' (for the text in the "title" and "groups" cells; examples below)<br>  
<font color="maroon">'''19.'''</font> font '''style''' (for the text in the "title" and "groups" cells; examples below)<br>  
'''Default''' text<div style="font-family:proximanova;"> '''proximanova''' text </div>
'''Default''' text<div style="font-family:proximanova;"> '''proximanova''' text </div>
<div style="font-family:museo;"> '''museo''' text </div>
<div style="font-family:museo;"> '''museo''' text </div><br>


<font color="maroon">'''20.'''</font> "lists" text '''color''' (the default show the standard "link" blue color)<br><br>
===Also See===
===Also See===
[http://en.m.wikipedia.org/wiki/Template:Navbox Wikipedia Navbox article] for an extensive listing of parameter information.
[http://en.m.wikipedia.org/wiki/Template:Navbox Wikipedia Navbox article] for an extensive listing of parameter information.
3,970

edits