Difference between revisions of "Template:NavigationBox"

From Traveller Wiki - Science-Fiction Adventure in the Far future
Jump to navigation Jump to search
Line 8: Line 8:
 
</table>{{{Category}}}
 
</table>{{{Category}}}
 
<noinclude>
 
<noinclude>
 
+
==Use==
{| class="toccolours" style="clear: both; width: 94%; margin: 0.5em auto; text-align: center; padding: 0em 0em 0em 0em"
+
To apply this template you can start by copy-and-pasting the following code and then provide adequate arguments:
! style="padding-top: 0.2em; padding-bottom: 0.2em; background: {{{Color}}}" | {{{Title}}}
 
|style="vertical-align: middle; width: 1px" | {{{Image}}}
 
|style="font-size: 90%; padding: 0.5em 1em" | {{{List}}}
 
|}
 
 
 
 
 
{| summary="Navigation box - {{{Summary}}}" class="toccolours" style="clear: both; width: 94%; margin: 0.5em auto; text-align: center; padding: 0em 0em 0em 0em"
 
! style="padding-top: 0.2em; padding-bottom: 0.2em; background: #777777" | {{{Title}}}
 
| <td style="vertical-align: middle; width: 1px" rowspan="2"> {{{Image}}} </td>
 
|-
 
| style="font-size: 90%; padding: 0.5em 1em" | {{{List}}}
 
|}{{{Category|}}}
 
 
 
<nowiki>{{Summary}}</nowiki>
 
 
 
{| {{#if: {{{Summary|}}} | summary="Navigation box - {{{Summary}}}" }} class="toccolours" style="clear: both; width: 94%; margin: 0.5em auto; text-align: center; padding: 0em 0em 0em 0em"
 
! style="padding-top: 0.2em; padding-bottom: 0.2em; {{ #if: {{{Color|}}} | background: {{{Color}}} | background: #ccccff }}" | {{{Title}}}
 
{{#if: {{{Image|<noinclude>-</noinclude>}}} | <td style="vertical-align: middle; width: 1px" rowspan="2"> {{{Image}}} </td> }}
 
|-
 
| style="font-size: 90%; padding: 0.5em 1em" | {{{List}}}
 
|}{{{Category|}}}
 
 
 
 
<pre>
 
<pre>
{{NavigationBox
+
{{NavigationBox
 
  | Title =  
 
  | Title =  
| Color =
 
 
  | Image =  
 
  | Image =  
 
  | List =  
 
  | List =  
 
  | Category =  
 
  | Category =  
| Summary =
+
}}
}}
 
 
</pre>
 
</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.
 
</noinclude>
 
</noinclude>

Revision as of 05:15, 29 June 2006

{{{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.