Template:NavigationBox: Difference between revisions

From COLLADA Public Wiki
Jump to navigation Jump to search
Elf (talk | contribs)
Tweaks
Elf (talk | contribs)
missing category xyntax
 
(11 intermediate revisions by the same user not shown)
Line 1: Line 1:
{| {{#if: {{{Summary|}}} | summary="Navigation box - {{{Summary}}}" }} class="navbox"
{| style="background-color: #f9f9f9; border: 1px solid {{{Color}}}; clear: both; font-size: 90%; margin: 1em 0em 0em; padding: 2px;  text-align: center;  width: 100%;" summary="Navigation box - {{{Summary}}}"  
! {{#if:{{{Color|}}}|style="background-color: {{{Color}}}"}} | {{{Title}}}
|- style="background-color: {{{Color}}};"  
{{#if: {{{Image|<noinclude>-</noinclude>}}} | <td style="vertical-align: middle; width: 1px" rowspan="2"> {{{Image}}} </td> }}
!{{{Title}}}
|-
|{{{Summary}}}
|-
|-
| {{{List}}}
| {{{List}}}
|}{{{Category|}}}<noinclude>''Usage:''</noinclude>
|}<includeonly>[[Category: {{{Category|}}}]]</includeonly><noinclude>''Usage:''
 
<pre><nowiki>{{NavigationBox
| Color = title-background-color
| Summary = table summary
| Title = visible title of box
| Category = what category to put article into
| List = detailed list of links for the navigation box}}
</nowiki></pre>
 
Example:
<pre><nowiki>{{NavigationBox
|Title = [[Portal:Conditioners directory|Conditioners directory]]
|Color = #ddcef2
|Summary = Information about [[conditioner]]s that can act on [[COLLADA document]]s.
|List =
<big>'''''This article is part of the'' COLLADA [[conditioner]]s directory.'''</big>
----
• [[COLLADA Refinery]]&nbsp;• [[Portal:Conditioners directory|Conditioners directory]]
 
''Instructions for [[adding to the conditioners directory]]''
}}
</nowiki></pre>
Produces the following:
{{NavigationBox
|Title = [[Portal:Conditioners directory|Conditioners directory]]
|Color = #ddcef2
|Summary = Information about [[conditioner]]s that can act on [[COLLADA document]]s.
|List =
<big>'''''This article is part of the'' COLLADA [[conditioner]]s directory.'''</big>
----
• [[COLLADA Refinery]]&nbsp;• [[Portal:Conditioners directory|Conditioners directory]]
 
''Instructions for [[adding to the conditioners directory]]''
}}
[[Category:Navigation templates|{{PAGENAME}}]]</noinclude>

Latest revision as of 02:00, 20 July 2011

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

Usage:

{{NavigationBox
| Color = title-background-color
| Summary = table summary
| Title = visible title of box
| Category = what category to put article into
| List = detailed list of links for the navigation box}}

Example:

{{NavigationBox
|Title = [[Portal:Conditioners directory|Conditioners directory]]
|Color = #ddcef2
|Summary = Information about [[conditioner]]s that can act on [[COLLADA document]]s.
|List = 
<big>'''''This article is part of the'' COLLADA [[conditioner]]s directory.'''</big>
----
• [[COLLADA Refinery]] • [[Portal:Conditioners directory|Conditioners directory]]

''Instructions for [[adding to the conditioners directory]]''
}}

Produces the following:

Conditioners directory
Information about conditioners that can act on COLLADA documents.
This article is part of the COLLADA conditioners directory.

COLLADA Refinery • Conditioners directory

Instructions for adding to the conditioners directory

[[Category: ]]