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 22:33, 13 September 2007 (edit)
Sandman (Talk | contribs)
m
← Previous diff
Revision as of 00:28, 14 September 2007 (edit) (undo)
Sandman (Talk | contribs)
m
Next diff →
Line 8: Line 8:
<pre> <pre>
name, name,
-list,+list, // seperate elements with the delimiter ","
</pre> </pre>
</noinclude>{| border="1" cellpadding="2" style="width: 100%; border-collapse: collapse; font-size: 95%; background: #FF9966; margin-left:auto; margin-right:auto" </noinclude>{| border="1" cellpadding="2" style="width: 100%; border-collapse: collapse; font-size: 95%; background: #FF9966; margin-left:auto; margin-right:auto"
Line 14: Line 14:
|- style="font-size: 90%; background: #FFF9F2; text-align:center" | |- style="font-size: 90%; background: #FFF9F2; text-align:center" |
{{#if:{{{list|}}}| {{#if:{{{list|}}}|
-{{!}} {{{list}}}|+{{!}} {{#if:{{{listseperator|}}}|{{#replace:{{{list}}}|{{{listseperator}}}|{{Navbox_listseperator_endelement}}}}|{{#replace:{{{list}}}|,|{{Navbox_listseperator_endelement}}}}}}|
{{!}} ''empty'' {{!}} ''empty''
}} }}

Revision as of 00:28, 14 September 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, // seperate elements with the delimiter ","
{{{name}}}
empty

Example

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