Revision as of 06:28, 16 May 2006 editGennaro Prota (talk | contribs)Extended confirmed users3,192 editsm sorry, {{inuse}} should go in a noinclude section← Previous edit | Revision as of 08:13, 16 May 2006 edit undoGennaro Prota (talk | contribs)Extended confirmed users3,192 edits completely rewritten code and documentation; added "Summary" parameterNext edit → | ||
Line 1: | Line 1: | ||
<includeonly |
<includeonly> | ||
{| summary="{{{ |
{| summary="Navigation box {{ #if: {{{Summary|}}} | - {{{Summary}}} }}" class="toccolours" style="clear: both; width: 94%; margin: 0 auto; text-align: center;" | ||
| style="padding: |
| style="padding-top: 0.2em; padding-bottom: 0.2em; font-weight: bold; background: {{ #if: {{{Color|}}} | {{{Color}}} | #ccccff }};" | {{{Title}}} {{ #if: {{{Image|}}} | <td style="vertical-align: middle;" rowspan="2"> {{{Image}}} </td>}} | ||
{{#if:{{{Image|}}}| <td style="text-align:center;" rowspan=2> {{{Image}}} </td>}} | |||
|- | |- | ||
| style="font-size: |
| style="font-size:95%; padding: 1.5em 1em 0.5em 0.4em;" | {{{List}}} | ||
|} |
|}{{{Category|}}}</includeonly><!--- | ||
--><noinclude> |
--><noinclude> | ||
{{NavigationBox | {{NavigationBox | ||
| Title = {{{Title}}} | | Title = {{{Title}}} | ||
| List = {{{List}}} | | List = {{{List}}} | ||
| Image = {{{Image}}} | | Image = {{{Image}}} | ||
| Summary = {{{Summary}}} | |||
}} | }} | ||
==Purpose== | ==Purpose== | ||
Often used for (but not limited to) US Government officials and Heads of State. | |||
==Use== | ==Use== | ||
The template |
The template has the following parameters: "Title", "Color", "Image", "List", "Category", "Summary". | ||
To use it you can copy-and-paste the following code: | |||
Use the following code for this template: | |||
<pre>{{NavigationBox | <pre>{{NavigationBox | ||
| Title = | | Title = | ||
| |
| Color = | ||
| |
| Image = | ||
| Color = | |||
| List = | | List = | ||
| Category = | |||
| Summary = | |||
}}</pre> | }}</pre> | ||
The parameters |
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== | ==See also== |
Revision as of 08:13, 16 May 2006
style="padding-top: 0.2em; padding-bottom: 0.2em; font-weight: bold; background:
| {{{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