Template:Navbox: Difference between revisions

From Morloch Wiki
Jump to navigation Jump to search
(Created page with "{{Navbox with collapsible groups |name = {{subst:PAGENAME}} |state = {{{state|}}} |titlestyle = |title = |image = |listclass = hlist |selected = {{{selected|{{{1|}}}}}} |g...")
 
No edit summary
 
(18 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Navbox with collapsible groups
{| style="width:100%; margin-top:1em; font-size:90%; text-align:center;border-top-left-radius: 30px;-moz-border-radius-bottomleft: 30px;border-bottom-right-radius: 30px;-moz-border-radius-bottomleft: 30px;margin: 15px 0px 7px 0px;"
|name = Navbox
|-
|state = {{{state|}}}
!style="background-color: {{{bgcolor|#5ec44e}}}; padding:0px; font-size:18px; border-top-left-radius: 30px; moz-border-radius-topleft: 30px; border-top-right-radius: 30px; moz-border-radius-topright: 30px; border-bottom-right-radius: 0px; moz-border-radius-bottomleft: 0px;color:{{{textcolor|#000000}}};font-weight:bold;"|<span style="text-shadow: 2px 2px 3px black; color:white; font-family:Helvetica; font-size:12px;">{{{header|you forgot to add a header}}}</span>
|titlestyle =  
|-
|title =
| colspan="2" style="padding:0.1em 0.1em;" | {{{body|you forgot to add body content}}}
|image =
|}
|listclass = hlist
<noinclude>
|selected = {{{selected|{{{1|}}}}}}
== Parameters ==
'''header''': header content<br>
'''body''': body content<br>
'''bgcolor''': header background color<br>
'''textcolor''': header text color<br>
'''wt''': border weight<br>


|group1 =  
== Copyable ==
|abbr1 =  
<pre>{{Navbox
|list1 =
<nowiki>|header=</nowiki>
<nowiki>|body=</nowiki>
<nowiki>|bgcolor=</nowiki>
<nowiki>|textcolor=</nowiki>
<nowiki>|wt=</nowiki>
<nowiki>}}</nowiki></pre>


|group2 =  
== Example ==
|abbr2 =  
<pre>{{Navbox
|list2 =  
<nowiki>|header=Navbars R Cool</nowiki>
<nowiki>|body=See what I mean?</nowiki>
<nowiki>|bgcolor=orange</nowiki>
<nowiki>|textcolor=red</nowiki>
<nowiki>|wt=999</nowiki>
<nowiki>}}</nowiki></pre>


...
Yields:
{{Navbox
|header=Navbars R Cool
|body=See what I mean?
|bgcolor=orange
|textcolor=red
|wt=999
}}


|group20 =
</noinclude>
|abbr20 =
|list20 =
}}

Latest revision as of 15:51, 22 September 2017

you forgot to add a header
you forgot to add body content

Parameters

header: header content
body: body content
bgcolor: header background color
textcolor: header text color
wt: border weight

Copyable

{{Navbox
|header=
|body=
|bgcolor=
|textcolor=
|wt=
}}

Example

{{Navbox
|header=Navbars R Cool
|body=See what I mean?
|bgcolor=orange
|textcolor=red
|wt=999
}}

Yields:

Navbars R Cool
See what I mean?