Difference between revisions of "Template:NavigationBox"

From Kupopowiki
Jump to: navigation, search
 
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
{| {{#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"  
 
{| {{#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}}}
+
! style="padding-top: 0.2em; padding-bottom: 0.2em; 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}}}
 
| style="font-size: 90%; padding: 0.5em 1em" | {{{List}}}
 
|}{{{Category|}}}<noinclude>
 
|}{{{Category|}}}<noinclude>
 
  
 
==Purpose==
 
==Purpose==
Line 15: Line 13:
 
<pre>{{NavigationBox
 
<pre>{{NavigationBox
 
  | Title =  
 
  | Title =  
| Color =
 
| Image =
 
 
  | List =  
 
  | List =  
 
  | Category =  
 
  | Category =  

Latest revision as of 15:49, 22 August 2006

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

Purpose

This is a navigational template copied from Wikipedia. It helps to construct a standardized box containing a list of links to articles which relates to the one being read, plus an optional image.

Use

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

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

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.