Template:Navboxes/doc: Difference between revisions
m (Text replace - ", Hampshire|" to ", Hampshire Genealogy|") |
No edit summary |
||
| (4 intermediate revisions by one other user not shown) | |||
| Line 5: | Line 5: | ||
YOU CAN EDIT THE TEMPLATE DOCUMENTATION BELOW THIS COMMENT | YOU CAN EDIT THE TEMPLATE DOCUMENTATION BELOW THIS COMMENT | ||
--> | --> | ||
This template is used group together | This template is used group together Navigation boxes | ||
==Parameters== | ==Parameters== | ||
| Line 27: | Line 27: | ||
| title = '''Links to [[England]]-related articles''' | | title = '''Links to [[England]]-related articles''' | ||
| state = expanded | | state = expanded | ||
| titlestyle = background:#FFFFFF | |||
| list = {{Place|England}} | | list = {{Place|England}} | ||
{{England counties}} | {{England counties}} | ||
| Line 36: | Line 37: | ||
| title = '''Links to [[England]]-related articles''' | | title = '''Links to [[England]]-related articles''' | ||
| state = expanded | | state = expanded | ||
| titlestyle = background:#FFFFFF | |||
| list = {{Place|England}} | | list = {{Place|England}} | ||
{{England counties | {{England counties}} | ||
}} | }} | ||
| Line 45: | Line 47: | ||
<pre> | <pre> | ||
{{Navboxes | {{Navboxes | ||
|title = | |title = Geographic locale | ||
|list = | |list = | ||
'''Lat. and Long. {{coord| | '''[[Geographic coordinate system|Lat. and Long.]] {{coord|18|25|53|N|64|37|23|W|display=inline}} {{color|darkblue|([[Road Town]], [[British Virgin Islands]])}}''' | ||
{{color|darkblue|([[ | |||
}} | }} | ||
</pre> | </pre> | ||
{{Navboxes | {{Navboxes | ||
|title = | |title = Geographic locale | ||
|list = | |list = | ||
'''Lat. and Long. {{coord| | '''[[Geographic coordinate system|Lat. and Long.]] {{coord|18|25|53|N|64|37|23|W|display=inline}} {{color|darkblue|([[Road Town]], [[British Virgin Islands]])}}''' | ||
}} | }} | ||
Revision as of 10:14, 24 August 2010
|
|
This is a documentation subpage for Template:Navboxes (see that page for the template itself). It contains usage information, categories and other content that is not part of the original template page. |
This template is used group together Navigation boxes
Parameters[edit source]
title (optional)
- Text to be placed in title of this box. Defaults to: Links to related articles.
state (optional)
- collapsed to show this template in its collapsed (hidden) state
- expanded to show this template in its expanded (fully visible) state
- autocollapse to show this template in its collapsed (hidden) state only if there is another collapsible template on the page
- Defaults to: collapsed.
list (required)
- The templates to be grouped.
Usage[edit source]
{{Navboxes
| title = '''Links to [[England]]-related articles'''
| state = expanded
| titlestyle = background:#FFFFFF
| list = {{Place|England}}
{{England counties}}
}}
which gives
Coordinates template[edit source]
The {{coord}} template may be included in the template group. Just remember to set the "display=" parameter equal to "inline" thus: {{coord|18|25|53|N|64|37|23|W|display=inline}}. This enables the coordinates to appear no matter what skin you're in. The {{coord}} template can even be nested in a Navbox titled Geographic locale, which is already found on many country pages.
{{Navboxes
|title = Geographic locale
|list =
'''[[Geographic coordinate system|Lat. and Long.]] {{coord|18|25|53|N|64|37|23|W|display=inline}} {{color|darkblue|([[Road Town]], [[British Virgin Islands]])}}'''
}}