Template:Navbox/doc: Difference between revisions

From BoyWiki
No edit summary
No edit summary
Line 6: Line 6:
;Sample output
;Sample output


<pre>{{navbox
<pre>{{Navbox
|header=Land of Bob
| name      = Navbox Test
|body=This <nowiki>[[place]]</nowiki> and that <nowiki>[[place]]</nowiki>.
| title      = test
| titlestyle = {{{titlestyle|background:#cedff2;}}}
| groupstyle = line-height:1.2em;{{{groupstyle|background:#cedff2;}}}
| image =
| group1    = test
| list1      = &nbsp;
&nbsp;&nbsp;'''{{bp}} test
&nbsp;
| group2    = test
| list2style = line-height:1.2em;{{{list2style|background:#f5faff;}}}
| list2      = &nbsp;
 
{{bp}} test {{bp}} test {{bp}} test {{bp}} test {{bp}} test {{bp}} test
&nbsp;
<BR>
| belowstyle = background:#cedff2;
|below = test [[File:Bloge.png|30 px|link=Portal:Boylove News Channel]]
}}</pre>
}}</pre>


Results in...
Results in...


{{navbox
{{Navbox
|header=Land of Bob
| name      = Navbox Test
|body=This <nowiki>[[place]]</nowiki> and that <nowiki>[[place]]</nowiki>.
| title      = test
<Br>
| titlestyle = {{{titlestyle|background:#cedff2;}}}
| groupstyle = line-height:1.2em;{{{groupstyle|background:#cedff2;}}}
| image =
| group1    = test
| list1      = &nbsp;
&nbsp;&nbsp;'''{{bp}} test
&nbsp;
| group2    = test
| list2style = line-height:1.2em;{{{list2style|background:#f5faff;}}}
| list2      = &nbsp;
 
{{bp}} test {{bp}} test {{bp}} test {{bp}} test {{bp}} test {{bp}} test
&nbsp;
<BR>
| belowstyle = background:#cedff2;
|below = test [[File:Bloge.png|30 px|link=Portal:Boylove News Channel]]
}}
[[:Portal:General wiki templates]]
[[:Portal:General wiki templates]]

Revision as of 17:08, 9 June 2015

Description
This template is used to create a basic navbox.
Syntax
Type

{{navbox}} somewhere, with parameters as shown below.

Sample output
{{Navbox
| name       = Navbox Test
| title      = test
| titlestyle = {{{titlestyle|background:#cedff2;}}}
| groupstyle = line-height:1.2em;{{{groupstyle|background:#cedff2;}}}
| image = 
| group1     = test
| list1      =  
  '''{{bp}} test
 
| group2     = test
| list2style = line-height:1.2em;{{{list2style|background:#f5faff;}}}
| list2      =  

{{bp}} test {{bp}} test {{bp}} test {{bp}} test {{bp}} test {{bp}} test
 
<BR>
| belowstyle = background:#cedff2;
|below = test [[File:Bloge.png|30 px|link=Portal:Boylove News Channel]]
}}

Results in...

Portal:General wiki templates