Log in Discussion History Go to the site toolbox

Difference between revisions of "Template:Navbox"

From BluWiki

(import en:Template:navbox)
m (Protected "Template:Navbox": Excessive vandalism ([edit=autoconfirmed] (indefinite) [move=autoconfirmed] (indefinite)))
 
(8 intermediate revisions by 3 users not shown)
Line 7: Line 7:
 
|imageleft = {{{imageleft|}}}
 
|imageleft = {{{imageleft|}}}
  
|imagespan = {{if|{{{body|}}}{{{list1|}}}|1|0}}
+
|imagespan = {{if|if={{{body|}}}{{{list1|}}}|then=1|else=0}}
  
|span = {{if|{{{group1|}}}{{{group2|}}}{{{group3|}}}{{{group4|}}}{{{group5|}}}{{{group6|}}}{{{group7|}}}{{{group8|}}}{{{group9|}}}{{{group10|}}}{{{group11|}}}{{{group12|}}}{{{group13|}}}{{{group14|}}}{{{group15|}}}{{{group16|}}}{{{group17|}}}{{{group18|}}}{{{group19|}}}{{{group20|}}}{{{imageleft|}}}|{{#if:{{{image|}}}|3|2}}|{{if|{{{image|}}}|2|1}}}}
+
|span = {{if|if={{{group1|}}}{{{group2|}}}{{{group3|}}}{{{group4|}}}{{{group5|}}}{{{group6|}}}{{{group7|}}}{{{group8|}}}{{{group9|}}}{{{group10|}}}{{{group11|}}}{{{group12|}}}{{{group13|}}}{{{group14|}}}{{{group15|}}}{{{group16|}}}{{{group17|}}}{{{group18|}}}{{{group19|}}}{{{group20|}}}{{{imageleft|}}}|then={{if|if={{{image|}}}|then=3|else=2}}|else={{if|if={{{image|}}}|then=2|else=1}}}}
  
|nogroups = {{if|{{{group1|}}}{{{group2|}}}{{{group3|}}}{{{group4|}}}{{{group5|}}}{{{group6|}}}{{{group7|}}}{{{group8|}}}{{{group9|}}}{{{group10|}}}{{{group11|}}}{{{group12|}}}{{{group13|}}}{{{group14|}}}{{{group15|}}}{{{group16|}}}{{{group17|}}}{{{group18|}}}{{{group19|}}}{{{group20|}}}|false|true}}
+
|nogroups = {{if|if={{{group1|}}}{{{group2|}}}{{{group3|}}}{{{group4|}}}{{{group5|}}}{{{group6|}}}{{{group7|}}}{{{group8|}}}{{{group9|}}}{{{group10|}}}{{{group11|}}}{{{group12|}}}{{{group13|}}}{{{group14|}}}{{{group15|}}}{{{group16|}}}{{{group17|}}}{{{group18|}}}{{{group19|}}}{{{group20|}}}|then=false|else=true}}
  
|bodystyle = {{{style|}}}{{{bodystyle|}}}
+
|bodystyle = {{{style|}}}{{{bodystyle|}}} border:1px solid #aaa; width:100%; margin:auto; clear:both; font-size:88%; text-align:center; padding:1px;
 
|titlestyle = {{{titlestyle|}}}
 
|titlestyle = {{{titlestyle|}}}
 
|abovestyle = background:#ddddff;{{{abovestyle|}}}
 
|abovestyle = background:#ddddff;{{{abovestyle|}}}
Line 21: Line 21:
 
|below = {{{below|}}}
 
|below = {{{below|}}}
  
|gs = white-space:nowrap;background:#ddddff;text-align:right;{{{groupstyle|}}}
+
|gs = white-space:nowrap;background:#ddddff;text-align:right;font-weight:bold;padding-left:1em;padding-right:1em;text-align:right;white-space:nowrap;{{{groupstyle|}}}
 
|os = width:100%;{{{liststyle|}}}{{{oddstyle|}}}
 
|os = width:100%;{{{liststyle|}}}{{{oddstyle|}}}
 
|es = width:100%;background:#f7f7f7;{{{liststyle|}}}{{{evenstyle|}}}
 
|es = width:100%;background:#f7f7f7;{{{liststyle|}}}{{{evenstyle|}}}
Line 67: Line 67:
 
|l20 = {{{list20|}}}
 
|l20 = {{{list20|}}}
  
}}
+
}}<noinclude>This template works identically (with differences in appearance) to the Wikipedia navbox. See documentation at [http://en.wikipedia.org/wiki/Template:Navbox Wikipedia Navbox].
 +
 
 +
[[Category:Advanced templates]]</noinclude>

Latest revision as of 16:22, 15 September 2009

This template works identically (with differences in appearance) to the Wikipedia navbox. See documentation at Wikipedia Navbox.

Site Toolbox:

Personal tools
GNU Free Documentation License 1.2
This page was last modified on 15 September 2009, at 16:22.
Disclaimers - About BluWiki