Template:Succession

From CWCki
Revision as of 06:27, 7 November 2009 by Cogsdev (talk | contribs) (whoops, typo in documentation. also, text colour parameter works, just tested it.)
Jump to navigation Jump to search
⇐ {{{2}}} {{{1}}} {{{3}}} ⇒


For assisting creating succession templates. Parameters:

  1. Category label, usually a link to main page.
  2. Link to previous.
  3. Link to next.
  4. Background colour code. Default #eee.
  5. Border colour code. Default #000.
  6. Text colour code. Default #000.

You can easily create topic-specific succession box templates by copypasting this into a new template, and tweaking as necessary:

{{succession|[[Mayors of Cwcville]]|[[BILLY MAYS]]|[[Chris-chan_Discusses...{{!}}Richard Karn]]|#f00|#0f0|#00f}}

Remember to use the template {{!}} instead of | when piping links in a template!
Also remember that the link colours will remain the same no matter what the text colour is set to, so keep that in mind when choosing a background colour; it'll have to look good with blue text.