Difference between revisions of "Template:NavigationBox"

From Traveller Wiki - Science-Fiction Adventure in the Far future
Jump to navigation Jump to search
m (Removed if which don't seem to be working)
 
(12 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{| {{{Summary|}}} 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"
! style="padding-top: 0.2em; padding-bottom: 0.2em; background: {{{Color}}}" | {{{Title}}}
 
| <td style="vertical-align: middle; width: 1px" rowspan="2"> {{{Image}}} </td>
 
 
|-
 
|-
| style="font-size: 90%; padding: 0.5em 1em" | {{{List}}}
+
!style="padding-top: 0.2em; padding-bottom: 0.2em; background:#ccccff; text-align:center"|{{{Title}}}
|}{{{Category|}}}<noinclude>
+
|style="vertical-align: middle; width: 1px" rowspan="2"|{{{Image}}}
 +
|-
 +
|style="font-size: 90%; padding: 0.5em 1em"|{{{List}}}
 +
|}{{{Category}}}
 +
<noinclude>
 +
 
 +
==Use==
 +
To apply this template you can start by copy-and-pasting the following code and then provide adequate arguments:
 +
<pre>
 +
{{NavigationBox
 +
|Title=
 +
|Image=
 +
|List =
 +
|Category=
 +
}}
 +
</pre>
 +
 
 +
===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.
 +
[[Category: Templates|NavigationBox]]
 +
[[Category: NavBox Templates|NavigationBox]]
 +
</noinclude>

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.