Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Navbox: Difference between revisions

Template page
No edit summary
(Replaced content with "<div style="border: rgba(255,255,255,0.08) 2px solid; width: 90%;padding: 0em;float: center;"> {{{1}}} </div>")
Tag: Replaced
Line 1: Line 1:
<table width="90%" class="navbox">
<div style="border: rgba(255,255,255,0.08) 2px solid; width: 90%;padding: 0em;float: center;">
<tr><th colspan="2" class="navboxhead" style="font-size: 125%; padding: 0; margin: 0;"><!--
{{{1}}}
 
</div>
--><!--
-->{{#if:{{{name|}}}|
<div class="noprint plainlinks navbar" style="{{{style|}}} font-size:x-small; text-align: left;float:left;width:10%;border: none;margin: 0;" ><!--
--><span style="white-space:nowrap;word-spacing:-.12em;"><!--
-->[[{{transclude|{{{name}}}}}|<span style="{{{fontstyle|}}}" title="View this template"><!--
-->{{#if:{{{nominilinks|}}}|view|v}}</span>]] | {{#ifeq: {{NAMESPACE}} | Template | {{#ifeq: {{PAGENAME}} | Navbox | | [[Category:Templates with navboxes without quick links]] }} }} }}<!--
 
-->{{#if:{{{name|}}}|
<span style="{{{fontstyle|}}}">&#32;'''&middot;'''&#32;</span><!--
-->[[{{TALKPAGENAME:{{transclude|{{{name}}}}}}}|<span style="{{{fontstyle|}}}" title="Discuss this template"><!--
-->{{#if:{{{nominilinks|}}}|talk|t}}</span>]]}}<!--
 
-->{{#if:{{{name|}}}|
{{#if:{{{noedit|}}}|<!--nothing-->|<!--else:
--><span style="{{{fontstyle|}}}">&#32;'''&middot;'''&#32;</span><!--
-->[{{fullurl:{{transclude|{{{name}}}}}|action=edit}} <span style="{{{fontstyle|}}}" title="Edit this template"><!--
-->{{#if:{{{nominilinks|}}}|edit|e}}</span>]}}</div>}}<!--
--></span><!--
-->{{#if:{{{name|}}}|<div style="text-align: center;float:left;width:80%;">{{{1}}}|<div style="text-align: center;float:left;width:100%;">{{{1}}}|}}<!--
--></div>
<noinclude><tr><td colspan="2" align="center"></noinclude>{{{2}}}<noinclude></td></tr></noinclude>
</table><noinclude>
 
This is the top-template for a navigational box. Use {{tlink|navboxrow}} to produce row breaks within a {{tlink|navbox}}.
 
==Usage==
 
See this table for a wholesome serving of usage examples.
<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:Technical templates]]</noinclude>

Revision as of 17:35, 2 January 2025

{{{1}}}