Template:Navbox: Difference between revisions

From Chemical Culture
Jump to navigationJump to search
Content added Content deleted
(Created page with "{{#switch:{{{border|{{{1|}}}}}}|subgroup|child=|none=|#default=<nowiki/> {{{!}} class="navbox" cellspacing="0" style="{{{bodystyle|}}};{{{style|}}}" {{!}}- {{!}} style="padding:2px;" {{!}} }} {{{!}} cellspacing="0" class="nowraplinks {{#if:{{{title|}}}|{{#switch:{{{state|}}}|plain|off=|#default=collapsible {{#if:{{{state|}}}|{{{state|}}}|autocollapse}}}}}} {{#switch:{{{border|{{{1|}}}}}}|subgroup|child|none=navbox-subgroup" style="width:100%;{{{bodystyle|}}};{{{style|}}}...")
Tags: Mobile edit Mobile web edit
 
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{{#switch:{{{border|{{{1|}}}}}}|subgroup|child=|none=|#default=<nowiki/>
{{#switch:{{{border|{{{1|}}}}}}|subgroup|child=|none=|#default=<nowiki/>
{{{!}} class="navbox" cellspacing="0" style="{{{bodystyle|}}};{{{style|}}}"
{{{!}} class="navbox" cellspacing="0" style="{{{bodystyle|"font-family:centurygothic"}}};{{{style|"font-family:centurygothic"}}}"
{{!}}-
{{!}}-
{{!}} style="padding:2px;" {{!}} }}
{{!}} style="padding:2px;" {{!}} }}
Line 10: Line 10:
{{!}}- {{#if:{{{titlegroup|}}}|<nowiki/>
{{!}}- {{#if:{{{titlegroup|}}}|<nowiki/>
{{!}} class="navbox-group" style="{{{basestyle|}}};{{{groupstyle|}}};{{{titlegroupstyle|}}}" {{!}} {{{titlegroup|}}}
{{!}} class="navbox-group" style="{{{basestyle|}}};{{{groupstyle|}}};{{{titlegroupstyle|}}}" {{!}} {{{titlegroup|}}}
! style="border-left:2px solid #fdfdfd;width:100%;|<nowiki/>
! style="border-left:2px solid #fdfdfd;width:100%; "font-family:centurygothic"|<nowiki/>
! style="}}{{{basestyle|}}};{{{titlestyle|}}}" colspan={{#expr:2{{#if:{{{imageleft|}}}|+1}}{{#if:{{{image|}}}|+1}}{{#if:{{{titlegroup|}}}|-1}}}} class="navbox-title" {{!}} {{#if:{{#switch:{{{navbar|}}}|plain|off=1}} {{#if:{{{name|}}}||{{#switch:{{{border|{{{1|}}}}}}|subgroup|child|none=1}}}}| {{#ifeq:{{{navbar|}}}|off|{{#ifeq:{{{state|}}}|plain|<div style="float:right;width:6em;">&nbsp;</div>}}| {{#ifeq:{{{state|}}}|plain||<div style="float:left; width:6em;text-align:left;">&nbsp;</div>}}}}| <div style="float:left; width:6em;text-align:left;"> {{Tnavbar|{{{name}}}|fontstyle={{{basestyle|}}};{{{titlestyle|}}};border:none;|mini=1}} </div>{{#ifeq:{{{state|}}}|plain|<div style="float:right;width:6em;">&nbsp;</div>}}}} <span style="font-size:{{#switch:{{{border|{{{1|}}}}}}|subgroup|child|none=100|#default=110}}%;"> {{{title}}}</span> }}<!--
! style="}}{{{basestyle|}}};{{{titlestyle|}}}" colspan={{#expr:2{{#if:{{{imageleft|}}}|+1}}{{#if:{{{image|}}}|+1}}{{#if:{{{titlegroup|}}}|-1}}}} class="navbox-title" {{!}} {{#if:{{#switch:{{{navbar|}}}|plain|off=1}} {{#if:{{{name|}}}||{{#switch:{{{border|{{{1|}}}}}}|subgroup|child|none=1}}}}| {{#ifeq:{{{navbar|}}}|off|{{#ifeq:{{{state|}}}|plain|<div style="float:right;width:6em;">&nbsp;</div>}}| {{#ifeq:{{{state|}}}|plain||<div style="float:left; width:6em;text-align:left;">&nbsp;</div>}}}}| <div style="float:left; width:6em;text-align:left;"> {{Tnavbar|{{{name}}}|fontstyle={{{basestyle|}}};{{{titlestyle|}}};border:none;|mini=1}} </div>{{#ifeq:{{{state|}}}|plain|<div style="float:right;width:6em;">&nbsp;</div>}}}} <span style="font-size:{{#switch:{{{border|{{{1|}}}}}}|subgroup|child|none=100|#default=110}}%;"> {{{title}}}</span> }}<!--


Line 19: Line 19:
{{!}} }}
{{!}} }}
{{!}}-
{{!}}-
{{!}} class="navbox-abovebelow" style="{{{basestyle|}}};{{{abovestyle|}}}" colspan="{{#expr:2{{#if:{{{imageleft|}}}|+1}}{{#if:{{{image|}}}|+1}}}}" {{!}} {{{above}}} }}<!--
{{!}} class="navbox-abovebelow" style="{{{basestyle|}}};{{{abovestyle|}}} font-family:centurygothic" colspan="{{#expr:2{{#if:{{{imageleft|}}}|+1}}{{#if:{{{image|}}}|+1}}}}" {{!}} {{{above}}} }}<!--




Line 27: Line 27:
---First group/list and images---
---First group/list and images---
-->{{#if:{{{list1|}}}|{{#if:{{{title|}}}{{{above|}}}|<nowiki/>
-->{{#if:{{{list1|}}}|{{#if:{{{title|}}}{{{above|}}}|<nowiki/>
{{!}}- style="height:2px;"
{{!}}- style="height:2px; font-family:centurygothic"
{{!}} }}
{{!}} }}
{{!}}-<!--
{{!}}-<!--
Line 264: Line 264:


<pre>{{Navbox
<pre>{{Navbox
| name = Navbox/doc
| name = organochlorides
| title = [[Sonichu|Dumb Navbox that's not really about Sonichu]]
| title = [[Organochlorides|Organochlorides]]
| image = [[Image:Molvania_svg.png|80px|link=|alt=]]
| image = [[File:Neco trilene.png|80px|link=|alt=]]
| imageleft = [[Image:MyWoodenBadgeWasDelicious.jpg|80px]]
| imageleft = [[Image:Neco trilene.png|80px]]
| group1 = Herp
| group1 = Chloromethanes
| list1 = [[chloromethane|Methyl Chloride]]{{•}}[[dichloromethane|Methylene Chloride]]{{•}}[[Chloroform]]{{•}}[[Carbon Tetrachloride]]
| list1 = [[American Rabbit|Derp]]


| group2 = Genitals
| group2 = Chloroethanes
| list2 = [[chloroethane|Ethyl Chloride]]{{•}}Dichloroethane ([[dichloroethane I|I]]{{•}}[[dichloroethane II|II]]){{•}}{{•}}Trichloroethanes ([[trichloroethane I|I]]{{•}}[[trichloroethane II|II]]){{•}}Tetrachloroethanes ([[tetrachloroethane I|I]]{{•}}[[tetrachloroethane II|II]]){{•}}[[Pentachloroethane]]{{•}}[[Hexachloroethane]]{{•}}
| list2 = [[Sonichu Balls]]{{•}} [[Giant Penis Comic]]{{•}} [[China]]


| group3 = Dumb ideas
| group3 = Chloroethylenes
| list3 = [[Vinyl Chloride]]{{•}} Dichloroethylenes ([[Vinylidene Chloride|I]]{{•}}[[dichloroethylene II|II]]){{•}} [[Trichloroethylene]]{{•}} [[Tetrachloroethylene]]
| 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...?
| group4 = Others
| list4 = [[]]{{•}} [[]]{{•}} [[]]{{•}} [[]]
| 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
| group5 = From Mixed families
| list5 = [[Chloral]]{{•}}
| 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.]]
}}</pre>
}}
</pre>


-Displays: {{Navbox
-Displays: {{Navbox
| name = Navbox/doc
| name = organochlorides
| title = [[Sonichu|Dumb Navbox that's not really about Sonichu]]
| title = [[Organochlorides|Organochlorides]]
| image = [[Image:Molvania_svg.png|80px|link=|alt=]]
| image = [[File:Neco trilene.png|80px|link=|alt=]]
| imageleft = [[Image:MyWoodenBadgeWasDelicious.jpg|80px]]
| imageleft = [[Image:Neco trilene.png|80px]]
| group1 = Herp
| group1 = Chloromethanes
| list1 = [[chloromethane|Methyl Chloride]]{{•}}[[dichloromethane|Methylene Chloride]]{{•}}[[Chloroform]]{{•}}[[Carbon Tetrachloride]]
| list1 = [[American Rabbit|Derp]]


| group2 = Genitals
| group2 = Chloroethanes
| list2 = [[chloroethane|Ethyl Chloride]]{{•}}Dichloroethane ([[dichloroethane I|I]]{{•}}[[dichloroethane II|II]]){{•}}{{•}}Trichloroethanes ([[trichloroethane I|I]]{{•}}[[trichloroethane II|II]]){{•}}Tetrachloroethanes ([[tetrachloroethane I|I]]{{•}}[[tetrachloroethane II|II]]){{•}}[[Pentachloroethane]]{{•}}[[Hexachloroethane]]{{•}}
| list2 = [[Sonichu Balls]]{{•}} [[Giant Penis Comic]]{{•}} [[China]]


| group3 = Dumb ideas
| group3 = Chloroethylenes
| list3 = [[Vinyl Chloride]]{{•}} Dichloroethylenes ([[Vinylidene Chloride|I]]{{•}}[[dichloroethylene II|II]]){{•}} [[Trichloroethylene]]{{•}} [[Tetrachloroethylene]]
| 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...?
| group4 = Others
| list4 = [[]]{{•}} [[]]{{•}} [[]]{{•}} [[]]
| 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
| group5 = From Mixed families
| list5 = [[Chloral]]{{•}}
| 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.]]
}}
}}



Latest revision as of 18:57, 10 April 2024

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  = organochlorides
| title = [[Organochlorides|Organochlorides]]
| image = [[File:Neco trilene.png|80px|link=|alt=]]
| imageleft = [[Image:Neco trilene.png|80px]]
| group1 = Chloromethanes
| list1  = [[chloromethane|Methyl Chloride]]{{•}}[[dichloromethane|Methylene Chloride]]{{•}}[[Chloroform]]{{•}}[[Carbon Tetrachloride]]

| group2 = Chloroethanes
| list2  = [[chloroethane|Ethyl Chloride]]{{•}}Dichloroethane ([[dichloroethane I|I]]{{•}}[[dichloroethane II|II]]){{•}}{{•}}Trichloroethanes ([[trichloroethane I|I]]{{•}}[[trichloroethane II|II]]){{•}}Tetrachloroethanes ([[tetrachloroethane I|I]]{{•}}[[tetrachloroethane II|II]]){{•}}[[Pentachloroethane]]{{•}}[[Hexachloroethane]]{{•}}

| group3 = Chloroethylenes
| list3  = [[Vinyl Chloride]]{{•}} Dichloroethylenes ([[Vinylidene Chloride|I]]{{•}}[[dichloroethylene II|II]]){{•}} [[Trichloroethylene]]{{•}} [[Tetrachloroethylene]]

| group4 = Others
| list4  = [[]]{{•}} [[]]{{•}} [[]]{{•}} [[]]

| group5 = From Mixed families
| list5  = [[Chloral]]{{•}}
}}

-Displays: