Difference between revisions of "Template:NavigationBox"

From COLLADA Public Wiki
Jump to navigation Jump to search
(Make summary visible)
(missing category xyntax)
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
{| style="background-color: #f9f9f9; border: 1px solid #aaa; clear: both; font-size: 90%; margin: 1em 0em 0em; padding: 2px;  text-align: center;  width: 100%;" summary="Navigation box - {{{Summary}}}"  
+
{| 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}}}"  
|- style="background-color: {{{Color}}}"  
+
|- style="background-color: {{{Color}}};"  
 
!{{{Title}}}
 
!{{{Title}}}
 
|-
 
|-
Line 6: Line 6:
 
|-
 
|-
 
| {{{List}}}
 
| {{{List}}}
|}{{{Category|}}}<noinclude>''Usage:''
+
|}<includeonly>[[Category: {{{Category|}}}]]</includeonly><noinclude>''Usage:''
  
 
<pre><nowiki>{{NavigationBox
 
<pre><nowiki>{{NavigationBox
Line 16: Line 16:
 
</nowiki></pre>
 
</nowiki></pre>
  
See [[Template:DOM tutorial]] for an example.</noinclude>
+
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: ]]