Difference between revisions of "Template:NavigationBox"

From Traveller Wiki - Science-Fiction Adventure in the Far future
Jump to navigation Jump to search
 
(8 intermediate revisions by 5 users not shown)
Line 1: Line 1:
<table class="toccolours" style="clear: both; width: 94%; margin: 0.5em auto; text-align: center; padding: 0em 0em 0em 0em">
+
{| class="toccolours" style="clear: both; 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; text-align:center"|{{{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}}}
</table>{{{Category}}}
 
 
<noinclude>
 
<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:
 
<pre>
 
<pre>
 
{{NavigationBox
 
{{NavigationBox
| Title =  
+
|Title=  
| Image =  
+
|Image=  
| List =  
+
|List =  
| Category =  
+
|Category=  
 
}}
 
}}
 
</pre>
 
</pre>
 +
 
===Mandatory arguments===
 
===Mandatory arguments===
 
* Title: A title for the navigation box; may include links
 
* 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.
 
* List: List of links to related articles; links maybe separated, for instance, by commas, bullets, or pipe symbols.
 +
 
===Recommended arguments===
 
===Recommended arguments===
 
*Image: posts a image to the right of the list and title.  
 
*Image: posts a image to the right of the list and title.  

Latest revision as of 02:12, 6 January 2020

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

{{{Category}}}


Use[edit]

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[edit]

  • 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[edit]

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