Please remember to follow the manual of style and code of conduct at all times.
Check BNN and Bulbanews for up-to-date Pokémon news and discuss it on the forums or in our IRC channel #bulbagarden on irc.systemnet.info.

Difference between revisions of "User:Dark0805/Sandbox/Templates/Nav Box"

From Bulbapedia, the community-driven Pokémon encyclopedia.
Jump to: navigation, search
(New page: {| align="center" style="width: 100%; clear: both; background-color: {{{boxbackcolor|#ffffff}}}; border-width: thin; border-style: solid; border-color: {{{bordercolor|#bebebe}}}; padding: ...)
 
Line 1: Line 1:
{| align="center" style="width: 100%; clear: both; background-color: {{{boxbackcolor|#ffffff}}}; border-width: thin; border-style: solid; border-color: {{{bordercolor|#bebebe}}}; padding: 0em 0em 0em 0.3em;"
+
{{Nav_Box
|style="width: 100%; margin: 1em; text-align: center; padding: 0.1em; background-color: {{{titlebackcolor|#efefef}}}; color: {{{titlecolor|#000000}}}; font-size: {{{titlefontsize|normal}}}"| '''{{{title}}}'''
+
|title=<font color=pink>Dark0805</font>
|rowspan="2" style="width: 0%;"| {{{image|}}}
+
|list=<span style="white-space:nowrap;">[http://www.guildwarsguru.com/forum/member.php?u=104751 Guru] •</span> <span style="white-space:nowrap;">'''Bulbapedia'''• </span> <span style="white-space:nowrap;">[http://guildwars.gamewikis.org/wiki/User:Dark0805 Guildwiki] </span><br><span style="white-space:1wrap;">[http://pvxwiki.com/wiki/User:Dark0805 PvX] </span>
|-
 
|style="width: 100%; margin: 1em; text-align: {{{align|center}}}; padding: 0.5em 1em; color: {{{listcolor|#000000}}}; font-size: {{{listfontsize|smaller}}}"|{{{list}}}
 
|}{{{category|}}}<noinclude>
 
<br />
 
 
== Description ==
 
This box is intended for fast vertical navigation between related topics, e.g. between [[skill]]s of the same [[attribute]] or between [[explorable area]]s of the same [[region]], as is standard in [http://www.wikipedia.org Wikipedia].
 
 
== Usage ==
 
The template follows the standard call with named parameters.
 
 
<nowiki>{{NavBox|parameter=value|...}}</nowiki>
 
 
=== Required parameters ===
 
 
;title:the text that will be displayed in the upper title area
 
;list:the list of wiki links for the actual navigation, given by standard ''<nowiki>[[...]]</nowiki>'' syntax and an delimiter symbol, if desired
 
 
=== Optional parameters ===
 
 
;image:an optional image that will be displayed to the right, given by standard ''<nowiki>[[Image:...]]</nowiki>'' syntax
 
;align:the alignment of the list within the box, should be one of ''left'', ''right'' or ''center'' (default)
 
<!-- ;fontsize:the font size of the list within the box, should be a number such as ''100'' (default) -->
 
;titlefontsize:the font size of the title text, should be a relative identifier such as ''smaller'', ''normal'' (default) or ''larger'', or an absolute identifier such as ''xx-small'', ''x-small'', ''small'', ''medium'', ''large'', ''x-large'', ''xx-large''
 
;listfontsize:the font size of the list within the box, should be a relative identifier such as ''smaller'' (default), ''normal'' or ''larger'', or an absolute identifier such as ''xx-small'', ''x-small'', ''small'', ''medium'', ''large'', ''x-large'', ''xx-large''
 
;titlecolor:color of the title text, given either as rgb value ''#rrggbb'' or as reserved color word, default is ''#000000''
 
;listcolor:color of the text within the list of wiki links, given either as rgb value ''#rrggbb'' or as reserved color word, default is ''#000000''
 
;titlebackcolor:color of the title background, given either as rgb value ''#rrggbb'' or as reserved color word, default is ''#efefef''
 
;boxbackcolor:color of the box background, given either as rgb value ''#rrggbb'' or as reserved color word, default is ''#ffffff''
 
;bordercolor:color of the box border, given either as rgb value ''#rrggbb'' or as reserved color word, default is ''#bebebe''
 
;category:an optional category that will be set for all pages with this navigation box, given by standard ''<nowiki>[[Category:...]]</nowiki>'' syntax
 
 
== Example ==
 
For instance, the following box can be placed on each of the official tournament pages.
 
 
=== Wiki sourcecode ===
 
<nowiki>
 
{{NavBox
 
|title=Guild Wars Championship Series
 
|list=[[Guild Wars World Championship]]&nbsp;• [[Guild Wars Factions Championship]]
 
|image=[[Image:Flag_Symbol_Transparent.png|40px]]
 
|category=[[Category:Tournament]]
 
}}</nowiki>
 
 
=== Output ===
 
{{NavBox
 
|title=Guild Wars Championship Series
 
|list=[[Guild Wars World Championship]]&nbsp;• [[Guild Wars Factions Championship]]
 
|image=[[Image:Flag_Symbol_Transparent.png|40px]]
 
 
}}
 
}}
 
[[Category:Templates/Navigation]]
 
</noinclude>
 

Revision as of 14:48, 28 November 2007

Template:Nav Box