Editing Template:Navbox/doc

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 save the changes below to finish undoing the edit.

Latest revision Your text
Line 72: Line 72:
 
== Parameter descriptions ==
 
== Parameter descriptions ==
 
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 {{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 273: Line 275:
 
*The default margin-left and margin-right of the outer navbox table are set to "auto;".  If you wish to use navbox as a float, you need to manually set the margin-left and margin-right values, because the auto margins interfere with the float option.  For example, add the following code to use the navbox as a float:
 
*The default margin-left and margin-right of the outer navbox table are set to "auto;".  If you wish to use navbox as a float, you need to manually set the margin-left and margin-right values, because the auto margins interfere with the float option.  For example, add the following code to use the navbox as a float:
 
::<code>style = width:22em;float:right;margin-left:1em;margin-right:0em;</code>
 
::<code>style = width:22em;float:right;margin-left:1em;margin-right:0em;</code>
 +
 +
=== Copying to other projects or wikis? ===
 +
 +
Note that using this template on other wikis requires [[mw: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>

Please note that all contributions to Guild of Archivists may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, 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 (see GoArch:Copyrights for details). Do not submit copyrighted work without permission!

Cancel Editing help (opens in new window)