1,770
edits
(examples) |
(background & title colour) |
||
Line 13: | Line 13: | ||
Full use: | Full use: | ||
<pre>{{Navbox|EXPANDED=Expanded|WIDTH=Width|TEXTCOLOR=Text color|BACKGROUND=Background|ALIGN=Align|TITLE=Title|Contents}}</pre> | <pre>{{Navbox | ||
|EXPANDED=Expanded | |||
|WIDTH=Width | |||
|TEXTCOLOR=Text color | |||
|TITLEBACKGROUND=Title background | |||
|BACKGROUND=Background | |||
|ALIGN=Align | |||
|TITLE=Title | |||
|Contents}}</pre> | |||
'''EXPANDED''' determines if the navigation box is expanded or collapsed (open or closed) when the page is opened. Enter ''yes'' to have the navigation box expanded. Any other text or not using the parameter will default to collapsed box. | '''EXPANDED''' determines if the navigation box is expanded or collapsed (open or closed) when the page is opened. Enter ''yes'' to have the navigation box expanded. Any other text or not using the parameter will default to collapsed box. | ||
Line 21: | Line 29: | ||
'''TEXTCOLOR''' determines the color of the title. Enter the color in HTML names (e.g. white) or in hex code (e.g. #FEF7FC). Defaults to the black. | '''TEXTCOLOR''' determines the color of the title. Enter the color in HTML names (e.g. white) or in hex code (e.g. #FEF7FC). Defaults to the black. | ||
''' | '''COLOR''' determines the background color of the title. Enter the color in HTML names (e.g. black) or in hex code (e.g. #B57EDC). Defaults to #efefef, which is a shade of light grey. | ||
'''BACKGROUND''' determines the background color of the content. Enter the color in HTML names (e.g. black) or in hex code (e.g. #B57EDC). Defaults to white. | |||
'''ALIGN''' determines the alignment of the contents. Defaults to left. | '''ALIGN''' determines the alignment of the contents. Defaults to left. | ||
Line 46: | Line 56: | ||
|WIDTH=400px | |WIDTH=400px | ||
|ALIGN=center | |ALIGN=center | ||
|COLOR=#996633 | |||
|TEXTCOLOR=white | |TEXTCOLOR=white | ||
|TITLE=Species of the [[Borderlands]] | |TITLE=Species of the [[Borderlands]] | ||
|[[Klingon]]s • [[Son'a]] • [[Suliban]] • [[Da'al]] • Thama • Nascaik • Demesians}}</pre> | |[[Klingon]]s • [[Son'a]] • [[Suliban]] • [[Da'al]] • Thama • Nascaik • Demesians}}</pre> | ||
Line 55: | Line 65: | ||
|WIDTH=400px | |WIDTH=400px | ||
|ALIGN=center | |ALIGN=center | ||
|COLOR=#996633 | |||
|TEXTCOLOR=white | |TEXTCOLOR=white | ||
|TITLE=Species of the [[Borderlands]] | |TITLE=Species of the [[Borderlands]] | ||
|[[Klingon]]s • [[Son'a]] • [[Suliban]] • [[Da'al]] • Thama • Nascaik • Demesians}} | |[[Klingon]]s • [[Son'a]] • [[Suliban]] • [[Da'al]] • Thama • Nascaik • Demesians}} | ||
Line 62: | Line 72: | ||
=== Alternate use === | === Alternate use === | ||
<pre>{{Navbox | <pre>{{Navbox | ||
| | |COLOR={{Color|Blue}} | ||
|TEXTCOLOR=white | |TEXTCOLOR=white | ||
|WIDTH=80% | |WIDTH=80% | ||
Line 72: | Line 82: | ||
{{Navbox | {{Navbox | ||
| | |COLOR={{Color|Blue}} | ||
|TEXTCOLOR=white | |TEXTCOLOR=white | ||
|WIDTH=80% | |WIDTH=80% |
edits