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 editContent deleted Content addedVisualWikitext
Revision as of 08:23, 16 May 2006 editGennaro Prota (talk | contribs)Extended confirmed users3,192 edits though less elegant, repeating "background:" seems to work better :-/← Previous edit Latest revision as of 00:13, 15 February 2010 edit undoPlastikspork (talk | contribs)Edit filter managers, Administrators258,851 edits Misplaced Pages:Templates_for_discussion/Log/2010_January_29#Template:NavigationBox 
(68 intermediate revisions by 28 users not shown)
Line 1: Line 1:
#REDIRECT]
<includeonly>
{| summary="Navigation box {{ #if: {{{Summary|}}} | - {{{Summary}}} }}" class="toccolours" style="clear: both; width: 94%; margin: 0 auto; text-align: center;"
| 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"> {{{Image}}} </td>}}
|-
| style="font-size:95%; padding: 1.5em 1em 0.5em 0.4em;" | {{{List}}}
|}{{{Category|}}}</includeonly><!---

--><noinclude>
{{NavigationBox
| Title = {{{Title}}}
| List = {{{List}}}
| Image = {{{Image}}}
| Summary = {{{Summary}}}
}}

==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:
<pre>{{NavigationBox
| Title =
| Color =
| Image =
| List =
| Category =
| Summary =
}}</pre>

The parameters Color, Image and Category can be omitted. Summary <em>should</em> be provided for ]. The default for "Color" is #ccccff, which looks like this: <span style="padding:1px 20px; background:#ccccff">'''Sample'''</span>

==See also==
*]
*]

]
</noinclude>

Latest revision as of 00:13, 15 February 2010

Redirect to: