Difference between revisions of "Template:Navbox/title"

From Mario Fan Games Galaxy Wiki
m (nevermind, spaces in the page name mess it up)
m (moved stuff to the stylesheet as opposed to having styling in the template itself)
Line 1: Line 1:
{| align='center' style='width: 80%; border: 1px solid #88a; background-color: #fff;'
+
{| class="navbox"
| style='background-color: #ccf; width: 20%; text-align: center' | <!--<span class="plainlinks" style="font-size: .8em">http://mfgg.taloncrossing.com/wiki/index.php?title={{PAGENAME}}&action=edit e</span>-->
+
| class="navboxHeader" style='width: 20%; text-align: center' | <!--<span class="plainlinks" style="font-size: .8em">http://mfgg.taloncrossing.com/wiki/index.php?title={{PAGENAME}}&action=edit e</span>-->
| style='background-color: #ccf; font-size: 12px;' | <center>'''{{{title|Title}}}'''</center> <noinclude>
+
| class="navboxHeader" | <center>'''{{{title|Title}}}'''</center> <noinclude>
 
{{navbox/row
 
{{navbox/row
 
| group = Test Group
 
| group = Test Group

Revision as of 20:47, 2 July 2010


Navbox/title

This template is used inside of other templates to create navigational tables on the undersides of articles. In the above example, all 3 templates have been used.

Navbox/title must be proceeded by the required number of rows (AT LEAST ONE MUST BE USED!) and then terminated. There must be line breaks between each template, or the table's format will error.

Usage

All parameter names are case-sensitive.

 {{navbox/title
 | title = The table's title. It helps to link to a related feature (ie. "[[History of MFGG]]" as the title)
 | template = The name of the template (excluding 'Template:') to which the edit 'e' should reference
 }}
 {{navbox/row
 | group = Group 1
 | list = [[Item 1]] {{dot}} [[Item 2]] {{dot}} Item 3
 }}
 {{navbox/end}}