• Home
  • Random
  • Nearby
  • Log in
  • Settings
Donate Now If Wikipedia is useful to you, please give today.
  • About Wikipedia
  • Disclaimers
Wikipedia

Template:Football manager history/sandbox

  • Template
  • Talk
  • Language
  • Watch
  • Edit
< Template:Football manager history
This is the template sandbox page for Template:Football manager history (diff).
Template documentation[view] [edit] [history] [purge]
WarningThis template is used on approximately 23,000 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them.
This template uses Lua:
  • Module:Football manager history (sandbox)

{{Football manager history}} is used to create manager history templates which are typically placed at the bottom of a manager's article. Using this template makes editing and standardisation easier.

Usage

edit
{{Football manager history
|dissolved =
|name =
|teamname =
|managerlist =
|title =
|state = {{{state|}}}
|bgcolor =
|textcolor =
|bordercolor =
|note =
|list =
|below =
|american_english =
}}

Normally |dissolved= would not be set; that causes a dash (–) to be added after the from year for the last manager if no to year is given. If the club has been dissolved, enter yes or the year of dissolution, for example |dissolved=yes or |dissolved=2010. No dash is added for the last manager of a dissolved club.

The navigation bar at the top of the navbox includes a link to the |teamname= page title. The link will display the |title= text, or teamname if no title is given.

By default, the navigation bar will display "managers". If |american_english= is defined (for example, |american_english=on), "Head coaches" is displayed instead of "managers".

|state= defaults to autocollapse.

The |list= parameter is followed by lines of wikitext, one manager per line. Each line must finish with either a year or a range of years. On each line, the first year must be four digits. If present, the second year must follow "to" and may be 1, 2, 3, or 4 digits, for example:

|list=
[[Levir Culpi|Culpi]] 2005
[[Paulo César Gusmão|PC Gusmão]] 2005 to 06

|note= may be used to add a note beneath the list.

If information is missing, an alternate syntax is available using from=FROM and to=TO. Any text can be used for FROM and TO, but there must be no spaces. For example:

|list=
[[Example|Example A]] from=19??
[[Levir Culpi|Culpi]] 2005
[[Paulo César Gusmão|PC Gusmão]] 2005 to 06
[[Example|Example B]] from=2011 to=?

Alternatives to avoid Wikipedia's Post-expand include size limit

edit

Pages with many navboxes may come close to or exceed Wikipedia's Post-expand include size limit. For this reason, consider using Module:Football manager history directly by replacing {{football manager history with {{#invoke:football manager history|main.

Examples

edit
{{Football manager history
|name = Cruzeiro Esporte Clube managers
|teamname = Cruzeiro Esporte Clube
|title = Cruzeiro
|state = {{{state|}}}
|bgcolor = #165A9E
|textcolor = white
|bordercolor = #77BBFF
|note = <small>(c) = [[caretaker manager]]</small>
|list =
[[Levir Culpi|Culpi]] 2005
[[Paulo César Gusmão|PC Gusmão]] 2005 to 06
[[Oswaldo de Oliveira|O. Oliveira]] 2006
[[Paulo Autuori|Autuori]] 2007
[[Emerson Ávila|Ávila]]<sup>c</sup> 2007
[[Dorival Júnior|Dorival Jr.]] 2007
[[Adílson Batista|Adílson]] 2008 to 10
}}

produces:

  • v
  • t
  • e
Cruzeiro – managers
  • Culpi (2005)
  • PC Gusmão (2005–06)
  • O. Oliveira (2006)
  • Autuori (2007)
  • Ávilac (2007)
  • Dorival Jr. (2007)
  • Adílson (2008–10)
(c) = caretaker manager
{{Football manager history
|name = Cruzeiro Esporte Clube managers
|teamname = Cruzeiro Esporte Clube
|title = Cruzeiro
|state = {{{state|}}}
|bgcolor = #165A9E
|textcolor = white
|bordercolor = #77BBFF
|note = <small>(c) = [[caretaker manager]]</small>
|list =
[[Example|Example A]] from=19??
[[Levir Culpi|Culpi]] 2005
[[Paulo César Gusmão|PC Gusmão]] 2005 to 06
[[Oswaldo de Oliveira|O. Oliveira]] 2006
[[Paulo Autuori|Autuori]] 2007
[[Emerson Ávila|Ávila]]<sup>c</sup> 2007
[[Dorival Júnior|Dorival Jr.]] 2007
[[Adílson Batista|Adílson]] 2008 to 10
[[Example|Example B]] from=2011 to=?
}}

produces:

  • v
  • t
  • e
Cruzeiro – managers
  • Example A (19??)
  • Culpi (2005)
  • PC Gusmão (2005–06)
  • O. Oliveira (2006)
  • Autuori (2007)
  • Ávilac (2007)
  • Dorival Jr. (2007)
  • Adílson (2008–10)
  • Example B (2011–?)
(c) = caretaker manager
The above documentation is transcluded from Template:Football manager history/doc. (edit | history)
Editors can experiment in this template's sandbox (edit | diff) and testcases (create) pages.
Add categories to the /doc subpage. Subpages of this template.
Retrieved from "https://en.wikipedia.org/w/index.php?title=Template:Football_manager_history/sandbox&oldid=819822085"
Last edited on 11 January 2018, at 13:05

Languages

      This page is not available in other languages.

      Wikipedia
      • Wikimedia Foundation
      • Powered by MediaWiki
      • This page was last edited on 11 January 2018, at 13:05 (UTC).
      • Content is available under CC BY-SA 4.0 unless otherwise noted.
      • Privacy policy
      • About Wikipedia
      • Disclaimers
      • Contact Wikipedia
      • Code of Conduct
      • Developers
      • Statistics
      • Cookie statement
      • Terms of Use
      • Desktop