Difference between revisions of "Template:Navbox"

From The VG Resource Wiki
Jump to: navigation, search
m (Centered text (which looks like was the original intention))
 
(22 intermediate revisions by one other user not shown)
Line 1: Line 1:
 
<table width="90%" class="navbox">
 
<table width="90%" class="navbox">
 
<tr><th colspan="2" class="navboxhead">{{{1}}}</th></tr>
 
<tr><th colspan="2" class="navboxhead">{{{1}}}</th></tr>
<noinclude><tr><td colspan="2" align="center"></noinclude>{{{2}}}<noinclude></td></tr></noinclude>
+
<noinclude><tr><td colspan="2" align="center" style="text-align:center;"></noinclude>{{{2}}}<noinclude></td></tr></noinclude>
</table><noinclude>
+
</table>
 
 
This is the template for a navigational box.
 
 
 
==Usage==
 
<center>
 
{|class=wikitable
 
!Example Wiki syntax
 
!Product
 
|-
 
|<pre>
 
{{navbox
 
|title of the box|
 
{{navboxrow
 
  |list = no section title here
 
}}
 
{{navboxrow
 
  |title= section title
 
  |list = section content... yep
 
}}
 
{{navboxrow
 
  |title= hydra's favorites
 
  |list = Pies &middot; Cakes &middot; Donuts &middot; Fat catgirls
 
}}
 
{{navboxrow
 
  |title= dumbasses
 
  |list = Tyty
 
}}
 
}}
 
</pre>
 
|{{navbox
 
|title of the box|
 
{{navboxrow
 
  |list = no section title here
 
}}
 
{{navboxrow
 
  |title= section title
 
  |list = section content... yep
 
}}
 
{{navboxrow
 
  |title= hydra's favorites
 
  |list = Pies &middot; Cakes &middot; Donuts &middot; Fat catgirls
 
}}
 
{{navboxrow
 
  |title= dumbasses
 
  |list = Tyty
 
}}
 
}}
 
|-
 
|<pre>{{navbox
 
|lol another one|
 
{{navboxrow
 
  |title= Nintendo
 
  |list = Super Mario Bros. &middot; Super Mario Bros. 2 &middot; Super Mario Bros. 3
 
}}
 
{{navboxrow
 
  |title= Super Nintendo
 
  |list = Super Mario World &middot; Yoshi's Island
 
}}
 
{{navboxrow
 
  |title= Game Boy
 
  |list = Super Mario Land &middot; Super Mario Land 2
 
}}
 
}}</pre>
 
|{{navbox
 
|lol another one|
 
{{navboxrow
 
  |title= Nintendo
 
  |list = Super Mario Bros. &middot; Super Mario Bros. 2 &middot; Super Mario Bros. 3
 
}}
 
{{navboxrow
 
  |title= Super Nintendo
 
  |list = Super Mario World &middot; Yoshi's Island
 
}}
 
{{navboxrow
 
  |title= Game Boy
 
  |list = Super Mario Land &middot; Super Mario Land 2
 
}}
 
}}
 
|-
 
|<pre>{{navbox
 
|one more, with ''FEELING!''|
 
{{navboxrow
 
  |list = Castlevania &middot; Castlevania 2 &middot; Castlevania 3
 
}}
 
}}</pre>
 
|{{navbox
 
|one more, with ''FEELING!''|
 
{{navboxrow
 
  |list = Castlevania &middot; Castlevania 2 &middot; Castlevania 3
 
}}
 
}}
 
|}</center>
 
 
 
[[category: Templates]]
 
</noinclude>
 

Latest revision as of 18:27, 5 April 2019