Misplaced Pages

Template:NavigationBox: Difference between revisions

Article snapshot taken from Wikipedia with creative commons attribution-sharealike license. Give it a read and then ask your questions in the chat. We can research this topic together.
Browse history interactively← Previous editNext edit →Content deleted Content addedVisualWikitext
Revision as of 10:11, 16 May 2006 editCapitalR (talk | contribs)Extended confirmed users43,863 edits Removed center tags as they appear to not be necessary, revert me if I'm wrong← Previous edit Revision as of 10:42, 16 May 2006 edit undoCapitalR (talk | contribs)Extended confirmed users43,863 edits Self-revert; turns out IE requires the center tags for proper centering.Next edit →
Line 1: Line 1:
<includeonly> <includeonly><center>
{| summary="Navigation box {{ #if: {{{Summary|}}} | - {{{Summary}}} }}" class="toccolours" style="clear:both; width: 94%; margin:0.5em 2em; text-align:center; padding:0em 0em 0em 0em;" {| summary="Navigation box {{ #if: {{{Summary|}}} | - {{{Summary}}} }}" class="toccolours" style="clear:both; width: 94%; margin:0.5em 2em; text-align:center; padding:0em 0em 0em 0em;"
| style="padding-top:0.2em; padding-bottom:0.2em; font-weight:bold; {{ #if: {{{Color|}}} | background:{{{Color}}} | background:#ccccff }};" | {{{Title}}} {{ #if: {{{Image|}}} | <td style="vertical-align: middle;" rowspan="2" width=1> {{{Image}}} </td>}} | style="padding-top:0.2em; padding-bottom:0.2em; font-weight:bold; {{ #if: {{{Color|}}} | background:{{{Color}}} | background:#ccccff }};" | {{{Title}}} {{ #if: {{{Image|}}} | <td style="vertical-align: middle;" rowspan="2" width=1> {{{Image}}} </td>}}
|- |-
| style="font-size:90%; padding:0.5em 1.5em 0.5em 1.5em;" align=center | {{{List}}} | style="font-size:90%; padding:0.5em 1.5em 0.5em 1.5em;" align=center | {{{List}}}
|}{{{Category|}}}</includeonly><!--- |}{{{Category|}}}</center></includeonly><!---


--><noinclude> --><noinclude>

Revision as of 10:42, 16 May 2006

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

Purpose

Often used for (but not limited to) US Government officials and Heads of State.

Use

The template has the following parameters: "Title", "Color", "Image", "List", "Category", "Summary".

To use it you can copy-and-paste the following code:

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

The parameters Color, Image and Category can be omitted. Summary should be provided for accessibility. The default for "Color" is #ccccff, which looks like this: Sample

See also

Category: