Editing Template:Navbox/doc

Jump to navigation Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.

Latest revision Your text
Line 1: Line 1:
[[Category:Navigational boxes]]{{documentation subpage}}
[[Category:Templates]]{{documentation subpage}}
This template allows a navigational template to be set up relatively quickly by supplying it one or more lists of links.  It comes equipped with default styles that should work for most navigational templates. Changing the default styles is not recommended, but is possible.  Using this template, or one of its "Navbox suite" sister templates, is highly recommended for standardization of navigational templates, and for ease of use.
This template allows a [[Help:Templates|navigational template]] to be set up relatively quickly by supplying it one or more lists of links.  It comes equipped with default styles that should work for most navigational templates. Changing the default styles is not recommended, but is possible.  Using this template, or one of its "Navbox suite" sister templates, is highly recommended for standardization of navigational templates, and for ease of use.


== Usage ==
== Usage ==
Line 72: Line 72:
The following is a complete list of parameters for using {{tl|Navbox}}.  In most cases, the only required parameters are <code>name</code>, <code>title</code>, and <code>list1</code>, though [[Template:Navbox/doc#Child navboxes|child navboxes]] do not even require those to be set.
The following is a complete list of parameters for using {{tl|Navbox}}.  In most cases, the only required parameters are <code>name</code>, <code>title</code>, and <code>list1</code>, though [[Template:Navbox/doc#Child navboxes|child navboxes]] do not even require those to be set.


{{tl|Navbox}} shares numerous common parameter names as its sister templates Navbox with columns and Navbox with collapsible groups for consistency and ease of use.  Parameters marked with an asterisk <nowiki>*</nowiki> are common to all three master templates.
{{tl|Navbox}} shares numerous common parameter names as its sister templates {{tl|Navbox with columns}} and {{tl|Navbox with collapsible groups}} for consistency and ease of use.  Parameters marked with an asterisk <nowiki>*</nowiki> are common to all three master templates.


=== Setup parameters ===
=== Setup parameters ===
Line 286: Line 286:


*This template uses CSS classes for most of its looks, thus it is fully skinnable.
*This template uses CSS classes for most of its looks, thus it is fully skinnable.
*Internally this meta template uses HTML markup instead of wiki markup for the table code. That is the usual way we make meta templates since wiki markup has several drawbacks. For instance it makes it harder to use parser functions and special characters in parameters.
*Internally this meta template uses HTML markup instead of wiki markup for the table code. That is the usual way we make meta templates since wiki markup has several drawbacks. For instance it makes it harder to use [[m:Help:ParserFunctions|parser functions]] and special characters in parameters.
*For more technical details see the CSS classes in common.css and the collapsible table used to hide the box in common.js
*For more technical details see the CSS classes in [[MediaWiki:common.css]] and the collapsible table used to hide the box in [[MediaWiki:common.js]].


=== Intricacies ===
=== Intricacies ===
Line 301: Line 301:
=== Copying to other projects or wikis? ===
=== Copying to other projects or wikis? ===


Note that using this template on other wikis requires HTML Tidy to be turned on.
Note that using this template on other wikis requires [[Manual:$wgUseTidy|HTML Tidy]] to be turned on. A version that does not require Tidy can be found at [[wikipedia:Wikipedia:WikiProject Transwiki/Template:Navbox|Wikipedia:WikiProject Transwiki/Template:Navbox]]. More detailed information on copying {{tl|Navbox}} to other wikis can be found on this template's [[wikipedia:Template talk:Navbox|talk page on Wikipedia]].


<includeonly>
<includeonly>
<!--Categories-->
<!--Categories-->
[[Category:Navigational boxes]]
[[Category:Formatting templates| ]]
[[Category:Exclude in print|{{PAGENAME}}]]


<!--Other languages-->
<!--Other languages-->
</includeonly>
</includeonly>
Please note that all contributions to PS4 Developer wiki are considered to be released under the GNU Free Documentation License 1.2 (see PS4 Developer wiki:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

To protect the wiki against automated edit spam, we kindly ask you to solve the following hCaptcha:

Cancel Editing help (opens in new window)