Difference between revisions of "Template:NavigationBox"

From Traveller Wiki - Science-Fiction Adventure in the Far future
Jump to navigation Jump to search
Line 1: Line 1:
<table class="toccolours" style="clear: both; width: 94%; margin: 0.5em auto; text-align: center; padding: 0em 0em 0em 0em; border-radius: 4px">
+
{| class="toccolours" style="clear: both; width: 94%; margin: 0.5em auto; text-align: center; padding: 0em 0em 0em 0em; border-radius: 4px"
<tr>
+
|-
<th style="padding-top: 0.2em; padding-bottom: 0.2em; background:#ccccff">{{{Title}}}</th>
+
|style="padding-top: 0.2em; padding-bottom: 0.2em; background:#ccccff"|{{{Title}}}
<td style="vertical-align: middle; width: 1px" rowspan="2"> {{{Image}}} </td></tr>
+
|style="vertical-align: middle; width: 1px" rowspan="2"|{{{Image}}}
<tr>
+
|-
<td style="font-size: 90%; padding: 0.5em 1em"> {{{List}}} </td>
+
|style="font-size: 90%; padding: 0.5em 1em"|{{{List}}}
</tr>
+
|}{{{Category}}}<noinclude>
</table>
 
<noinclude>
 
 
==Use==
 
==Use==
 
To apply this template you can start by copy-and-pasting the following code and then provide adequate arguments:
 
To apply this template you can start by copy-and-pasting the following code and then provide adequate arguments:

Revision as of 13:33, 25 January 2015

{{{Title}}} {{{Image}}}
{{{List}}}

{{{Category}}}

Use

To apply this template you can start by copy-and-pasting the following code and then provide adequate arguments:

{{NavigationBox
 | Title = 
 | Image = 
 | List = 
 | Category = 
}}

Mandatory arguments

  • Title: A title for the navigation box; may include links
  • List: List of links to related articles; links maybe separated, for instance, by commas, bullets, or pipe symbols.

Recommended arguments

  • Image: posts a image to the right of the list and title.
  • Category: Includes the following categories in the article.