- This wiki is out of date, use the continuation of this wiki instead
Template:Navbox2
From FenixWiki
(Difference between revisions)
Revision as of 14:00, 8 March 2008 (edit) Sandman (Talk | contribs) m (New page: <noinclude> == 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: <pre> name, list, // sep...) ← Previous diff |
Revision as of 14:00, 8 March 2008 (edit) (undo) Sandman (Talk | contribs) m Next diff → |
||
Line 19: | Line 19: | ||
! {{{name}}} | ! {{{name}}} | ||
{{#if:{{{list|}}}|{{!-}} style="font-size: 90%; background: #FFF9F2; text-align:{{#if:{{{align|}}}|{{{align}}}|center}}" {{!}} | {{#if:{{{list|}}}|{{!-}} style="font-size: 90%; background: #FFF9F2; text-align:{{#if:{{{align|}}}|{{{align}}}|center}}" {{!}} | ||
+ | {{!}} | ||
{{#if:{{{listseperator|}}}|{{#replace:{{{list}}}|{{{listseperator}}}| {{Navbox_listseperator}} }}|{{#replace:{{{list}}}|,| • }}}} | {{#if:{{{listseperator|}}}|{{#replace:{{{list}}}|{{{listseperator}}}| {{Navbox_listseperator}} }}|{{#replace:{{{list}}}|,| • }}}} | ||
}}{{#if:{{{list1|}}}|{{rn}}{{!-}} style="font-size: 90%; background: #FFF9F2; text-align:{{#if:{{{align|}}}|{{{align}}}|center}}" {{!}} | }}{{#if:{{{list1|}}}|{{rn}}{{!-}} style="font-size: 90%; background: #FFF9F2; text-align:{{#if:{{{align|}}}|{{{align}}}|center}}" {{!}} |
Revision as of 14:00, 8 March 2008
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 specify it with ''listseparator'' list1, // separate elements with the delimiter "," or specify it with ''listseparator'' list2, // separate elements with the delimiter "," or specify it with ''listseparator'' list3, // separate elements with the delimiter "," or specify it with ''listseparator'' list4, // separate elements with the delimiter "," or specify it with ''listseparator'' listseparator, // specify a listseparator align, // align the list elements (left/right/center/justify)
{{{name}}} |
---|
Example
{{Navbox2 | name = Apples | list = Elstar,Goudrenet,Golden Delicious,etc }} |
|