Difference between revisions of "Template:Navboxes/doc"
From Ava Zinn Wiki
[unchecked revision] | [unchecked revision] |
m (→Coordinates template) |
(updated page) |
||
Line 82: | Line 82: | ||
===Succession boxes=== | ===Succession boxes=== | ||
− | + | Any instances of <code>|-</code> in a succession box should be replaced with <code><nowiki>{{!}}-</nowiki></code> | |
− | |||
− | |||
<pre style="overflow:auto; margin-right:5px"> | <pre style="overflow:auto; margin-right:5px"> | ||
{{Navboxes | {{Navboxes | ||
| list1 = | | list1 = | ||
− | |||
{{s-start}} | {{s-start}} | ||
{{s-par|ie/oi}} | {{s-par|ie/oi}} | ||
Line 137: | Line 134: | ||
{{Navboxes | {{Navboxes | ||
| list1 = | | list1 = | ||
− | |||
{{s-start}} | {{s-start}} | ||
{{s-par|ie/oi}} | {{s-par|ie/oi}} |
Revision as of 04:57, 6 November 2009
This is a documentation subpage for Template:Navboxes. 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
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
{{Navboxes | title = Giovanni Trapattoni Navigation boxes | state = expanded | titlestyle = background: lightblue <-- hexcode can also be used, like #AAFFFF (default=violet) --> | list = {{Italy Squad 1962 World Cup}} {{Italy national football team managers}} {{Republic of Ireland national football team managers}} {{A.C. Milan managers}} {{F.C. Internazionale Milano managers}} {{Juventus F.C. managers}} {{Bayern Munich managers}} {{Cagliari Calcio managers}} {{ACF Fiorentina managers}} {{Italy Squad 2002 World Cup}} {{S.L. Benfica managers}} {{VfB Stuttgart managers}} {{FC Red Bull Salzburg Squad}} }}
which gives
Coordinates template
The {{coord}} template can now be included in the group. Just remember to set the "display=" parameter equal to "inline" thusly: {{coord|18|30|N|64|30|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.
{{Template group |title = Geographic locale |list = '''{{coord|18|30|N|64|30|W|display=inline}} {{color|darkblue|(British Virgin Islands)}}''' }}
Succession boxes
Any instances of |-
in a succession box should be replaced with {{!}}-
{{Navboxes | list1 = {{s-start}} {{s-par|ie/oi}} {{s-bef|before=[[Bernard Cowen]]<br><small>([[Fianna Fáil]])</small>}} {{s-ttl|title=[[Fianna Fáil]] [[Teachta Dála]] for [[Laois-Offaly (Dáil Éireann constituency)|Laois-Offaly]]|years=1984 – present}} {{s-inc}} {{s-off}} {{s-bef|before=[[Michael O'Kennedy]]}} {{s-ttl|title=[[Minister for Labour (Ireland)|Minister for Labour]]|years=1992 – 1993}} {{s-aft|after=[[Mervyn Taylor]]}} {{s-bef|before=[[Albert Reynolds]]}} {{s-ttl|title=[[Minister for Arts, Sport and Tourism (Ireland)|Minister for Energy]]|years=1993}} {{s-aft|after=[[Charlie McCreevy]]<br><small>Minister for Tourism and Trade</small>}} {{s-bef|before=[[Charlie McCreevy]]<br><small>Minister for Tourism, Transport and Communications</small>}} {{s-ttl|title=[[Minister for Transport (Ireland)|Minister for Transport, Energy and Communications]]|years=1993 – 1994}} {{s-aft|after=[[Michael Lowry]]}} {{s-bef|before=[[Michael Noonan]]<br><small>Minister for Health</small>}} {{s-ttl|title=[[Minister for Health and Children (Ireland)|Minister for Health and Children]]<br><small>Minister for Health (1997)</small>|years=1997 – 2000}} {{s-aft|after=[[Micheál Martin]]}} {{s-bef|before=[[David Andrews (Irish politician)|David Andrews]]}} {{s-ttl|title=[[Minister for Foreign Affairs (Ireland)|Minister for Foreign Affairs]]|years=2000 – 2004}} {{s-aft|after=[[Dermot Ahern]]}} {{s-bef|before=[[Charlie McCreevy]]}} {{s-ttl|title=[[Minister for Finance (Ireland)|Minister for Finance]]|years=2004 – 2008}} {{s-aft|after=[[Brian Joseph Lenihan|Brian Lenihan]]}} {{s-bef|before=[[Michael McDowell]]}} {{s-ttl|title=[[Tánaiste]]|years=2007 – 2008}} {{s-aft|after=[[Mary Coughlan (politician)|Mary Coughlan]]}} {{s-bef|before=[[Bertie Ahern]]}} {{s-ttl|title=[[Taoiseach]]|years=2008 – present}} {{s-inc}} {{s-ppo}} {{s-bef|before=[[Mary O'Rourke]]}} {{s-ttl|title=[[Fianna Fáil|Deputy Leader of the Fianna Fáil Party]]|years=2002 – 2008}} {{s-aft|after=TBD}} {{s-bef|before=[[Bertie Ahern]]}} {{s-ttl|title=[[Fianna Fáil|Leader of the Fianna Fáil Party]]|years=2008 – present}} {{s-inc}} {{s-end}} {{Prime Ministers of Ireland}} {{Deputy Prime Ministers of Ireland}} {{Fianna Fáil Leaders}} {{European Council}} }}
|