Difference between revisions of "Template:Succession"

From CWCki
Jump to navigation Jump to search
m (tweaked, added to documentation, not actually sure if the text color parameter works (it'd only really change the arrows anyway))
(whoops, typo in documentation. also, text colour parameter works, just tested it.)
Line 16: Line 16:
You can easily create topic-specific succession box templates by copypasting this into a new template, and tweaking as necessary:
You can easily create topic-specific succession box templates by copypasting this into a new template, and tweaking as necessary:


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


Remember to use the template <nowiki>{{!}}</nowiki> instead of | when piping links in a template!<br/>
Remember to use the template <nowiki>{{!}}</nowiki> instead of | when piping links in a template!<br/>

Revision as of 06:27, 7 November 2009

⇐ {{{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.