Difference between revisions of "Template:Navbox"

From CWCki
Jump to navigation Jump to search
Line 32: Line 32:


-->{{#if:{{{imageleft|}}}|<nowiki/>
-->{{#if:{{{imageleft|}}}|<nowiki/>
{{!}} style="width:0%;padding:0px 2px 0px 0px;{{{imageleftstyle|}}}" rowspan={{#expr:1{{#if:{{{list2|}}}|+2}}{{#if:{{{list3|}}}|+2}}{{#if:{{{list4|}}}|+2}}{{#if:{{{list5|}}}|+2}}{{#if:{{{list6|}}}|+2}}{{#if:{{{list7|}}}|+2}}{{#if:{{{list8|}}}|+2}}{{#if:{{{list9|}}}|+2}}{{#if:{{{list10|}}}|+2}}{{#if:{{{list11|}}}|+2}}{{#if:{{{list12|}}}|+2}}{{#if:{{{list13|}}}|+2}}{{#if:{{{list14|}}}|+2}}{{#if:{{{list15|}}}|+2}}{{#if:{{{list16|}}}|+2}}{{#if:{{{list17|}}}|+2}}{{#if:{{{list18|}}}|+2}}{{#if:{{{list19|}}}|+2}}{{#if:{{{list20|}}}|+2}}}} {{!}} {{{imageleft|}}} }}<!--
{{!}} style="width:0%;padding:0px 2px 0px 0px;{{{imageleftstyle|}}}" rowspan={{#expr:1{{#if:{{{list2|}}}|+2}}{{#if:{{{list3|}}}|+2}}{{#if:{{{list4|}}}|+2}}{{#if:{{{list5|}}}|+2}}{{#if:{{{list6|}}}|+2}}{{#if:{{{list7|}}}|+2}}{{#if:{{{list8|}}}|+2}}{{#if:{{{list9|}}}|+2}}{{#if:{{{list10|}}}|+2}}{{#if:{{{list11|}}}|+2}}{{#if:{{{list12|}}}|+2}}{{#if:{{{list13|}}}|+2}}{{#if:{{{list14|}}}|+2}}{{#if:{{{list15|}}}|+2}}{{#if:{{{list16|}}}|+2}}{{#if:{{{list17|}}}|+2}}{{#if:{{{list18|}}}|+2}}{{#if:{{{list19|}}}|+2}}{{#if:{{{list20|}}}|+2}}}}{{#if:{{{list21|}}}|+2}}}} {{!}} {{{imageleft|}}} }}<!--


  -->{{#if:{{{group1|}}}|<nowiki/>
  -->{{#if:{{{group1|}}}|<nowiki/>
Line 216: Line 216:
{{!}} colspan=2 style="}} width:100%;padding:0px;{{{liststyle|}}};{{{evenstyle|}}};{{{list20style|}}}" class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|odd|{{{evenodd|even}}}}}" {{!}} <div style="padding:{{{listpadding|0em 0.25em}}}">
{{!}} colspan=2 style="}} width:100%;padding:0px;{{{liststyle|}}};{{{evenstyle|}}};{{{list20style|}}}" class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|odd|{{{evenodd|even}}}}}" {{!}} <div style="padding:{{{listpadding|0em 0.25em}}}">
{{{list20}}}</div> }}<!--
{{{list20}}}</div> }}<!--
-->{{#if:{{{list21|}}}| {{#if:{{{title|}}}{{{above|}}}{{{list20|}}}|<nowiki/>
{{!}}- style="height:2px"
{{!}} }}
{{!}}- {{#if:{{{group21|}}}|<nowiki/>
{{!}} class="navbox-group" style="{{{basestyle|}}};{{{groupstyle|}}};{{{group21style|}}}" {{!}} {{{group21}}}
{{!}} style="text-align:left;border-left:2px solid #fdfdfd;|<nowiki/>
{{!}} colspan=2 style="}} width:100%;padding:0px;{{{liststyle|}}};{{{evenstyle|}}};{{{list21style|}}}" class="navbox-list navbox-{{#ifeq:{{{evenodd|}}}|swap|odd|{{{evenodd|even}}}}}" {{!}} <div style="padding:{{{listpadding|0em 0.25em}}}">
{{{list21}}}</div> }}<!--


---Below---
---Below---

Revision as of 10:51, 10 October 2021

Usage

These usage notes will not be included in articles bearing this template.

This is a metatemplate for constructing navigational templates. The format for using this template is as follows:

{{Navbox
| name  = Navbox/doc
| title = [[Sonichu|Dumb Navbox that's not really about Sonichu]]
| image = [[Image:Molvania_svg.png|80px|link=|alt=]]
| imageleft = [[Image:MyWoodenBadgeWasDelicious.jpg|80px]]
| group1 = Herp
| list1  = [[American Rabbit|Derp]]

| group2 = Genitals
| list2  = [[Sonichu Balls]]{{•}} [[Giant Penis Comic]]{{•}} [[China]]

| group3 = Dumb ideas
| list3  = [[Patti|Dig up Patti]]{{•}} [[Chris and sex|Get Chris to have sex with a tranny]]{{•}} [[Liquid Chris|Let's all impersonate Chris like Liquid did!]]{{•}} [[Autism papers|Break into his house and steal the autism papers]]{{•}}[[Asperchu|E-mail Chris and pretend he created Asperchu]]{{•}} [[Chris and money|Let's get his SSI taken away!]]{{•}} [[Video|Make a "rant" video about Christian Weston Chandler]]

| group4 = What if...?
| list4  = [[Sonichu (comic)|What if Chris never created Sonichu?]]{{•}} [[Cwcville|What if Cwcville were REAL?]]{{•}} [[Chris|What if you woke up and YOU were Chris?]]{{•}} [[DIRTY CRAPPED BRIEFS|What if Nick Fury fought World War II in Outer Space?]]

| group5 = Quotes from Transformers: The Movie
| list5  = [[Optimus Prime|One shall stand, one shall fall.]]{{•}} [[Megatron pistol|Why throw away your life so recklessly?]]{{•}} [[Optimus Prime|That's a question you should ask yourself, Megatron.]]
}}

-Displays: