Template:TemplateTest1/doc: Difference between revisions

m
fixes
m (debugging)
m (fixes)
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 (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>
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>
<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 22: Line 22:
1.  enter '''autocollapse''' to "hide" the Navbox (the default is "show")<br>
1.  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><br>
2.  enter a '''color''' for the "title" and "group" text ("group" includes the boxes on the left side)<br><br>
3.  enter a number for the '''cell padding''' to be used in all cells
<!----------------->
<!----------------->
Some of the groupings below are in sets of five as related to the following areas: ''title, base, lists, groups,'' and ''body,''  respectively.The "base" affects all navbox attributes unless overridden here or by the Navbox template.  The right side cells ("lists") are not affected since there are defaults built in (alternative white and grayish background) so in this instance "base" will only affect the "title" '''and''' "groups" sections unless individually overridden by one or the other.<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.The "base" affects all navbox attributes unless overridden here or by the Navbox template.  The right side cells ("lists") are not affected since there are defaults built in (alternative white and grayish background) so in this instance "base" will only affect the "title" '''and''' "groups" sections unless individually overridden by one or the other.<br><br>
3.  "title" background '''color''' ("tile" is the top full length cell)<br>
4.  "title" background '''color''' ("tile" is the top full length cell)<br>
4.  (GROUPS) "base" background '''color'''  <br>
5.  "list" background '''color''' ("list" includes the cells on the right side)<br>
5.  "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>
6.  "groups" background '''color''' ("groups" includes the cells on the left side)<br>
7.  "body" background '''color''' ( "body" is the space between cells )<br><br>
7.  "body" background '''color''' ( "body" is the space between cells )<br><br>
<!----------------->
<!----------------->
The parameters below will not be needed in most circumstances. The lines 8 - 13 will not show color unless their corresponding borders (lines 13 - 17) are set to at least a value of 1. For parameter #9 the right or left side can be<br><br>
The parameters below will not be needed in most circumstances. The lines 7 - 10 will not show color unless their corresponding borders (lines 13 - 17) are set to at least a value of 1. For parameter #9 the right or left side can be<br><br>
8.  "title" border''' color''' ("tile" is the top full length cell)<br>
8.  "title" border''' color''' ("tile" is the top full length cell)<br>
9.  "base" border''' color'''  ("base" is the line around the cells in "title" '''and''' "groups")<br>
9. "list" line '''color''' ("list" includes the cells on the right side)<br>
10. "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>
11. "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>
12. "body" line '''color''' ( "body" is the space between cells and the outside border)<br><br>
<!----------------->
<!----------------->
13. "title" line '''width''' ("tile" is the top full length cell)<br>
12. "title" line '''width''' ("tile" is the top full length cell)<br>
14. "base" line '''width'''  ("base" is the line width around the cells in "title" '''and''' "groups")<br>
13. (GROUPS) "list" line '''width''' ("list" includes the cells on the right side)<br>
15. (GROUPS) "list" line '''width''' ("list" includes the cells on the right side)<br>
14. "groups" line '''width''' ("groups" includes the cells on the left side)<br>
16. "groups" line '''width''' ("groups" includes the cells on the left side)<br>
15. "body" line '''width''' ( "body" is the space between cells )<br><br>
17. "body" line '''width''' ( "body" is the space between cells )<br><br>
<!----------------->
<!----------------->
18.."title" text '''size'''<br>
16.."title" text '''size'''<br>
19. "groups" text '''size'''<br>
17. "groups" text '''size'''<br>
20. "list" text '''size'''<br>
18. "list" text '''size'''<br>


'''''Example of text sizes''''' <br><div style="position:relative">
'''''Example of text sizes''''' <br><div style="position:relative">
Line 59: Line 57:
</div><br><br>
</div><br><br>
<!----------------->
<!----------------->
21. font '''style''' (for the text in the "title" and "groups" cells; examples below)<br>  
19. 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>
3,970

edits