This wiki is out of date, use the continuation of this wiki instead

Template:Navbox

From FenixWiki

(Difference between revisions)
Jump to: navigation, search
Revision as of 00:50, 14 September 2007 (edit)
Sandman (Talk | contribs)
m
← Previous diff
Revision as of 14:35, 13 November 2007 (edit) (undo)
Sandman (Talk | contribs)
m
Next diff →
Line 15: Line 15:
|- style="font-size: 90%; background: #FFF9F2; text-align:center" | |- style="font-size: 90%; background: #FFF9F2; text-align:center" |
{{#if:{{{list|}}}| {{#if:{{{list|}}}|
-{{!}} {{#if:{{{listseperator|}}}|{{#replace:{{{list}}}|{{{listseperator}}}| {{Navbox_listseperator_endelement}} }}|{{#replace:{{{list}}}|,| {{Navbox_listseperator_endelement}} }}}}|+{{!}} {{#if:{{{listseperator|}}}|{{#replace:{{{list}}}|{{{listseperator}}}| {{Navbox_listseperator_endelement}} }}|{{#replace:{{{list}}}|,| - }}}}|
{{!}} ''empty'' {{!}} ''empty''
}} }}
Line 30: Line 30:
{{Navbox {{Navbox
| name = Apples | name = Apples
- | list = Elstar,Goudrenet,Golden Delicious,etc+ | list = Elstar,Aap
}} }}
|} |}
</noinclude> </noinclude>

Revision as of 14:35, 13 November 2007

Template

Navigation box template.

Throw in a name and a list of items and they will appear in this box. It's centered and 100% wide.

Variables:

name,
list, // separate elements with the delimiter "," or
listseperator, // specify a listseparator
{{{name}}}
empty

Example

{{Navbox
  | name = Apples
  | list = Elstar,Goudrenet,Golden Delicious,etc
}}
Apples
Elstar • Aap
Personal tools