Difference between revisions of "Template:Succession"
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]]|[[ | <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 05:27, 7 November 2009
⇐ {{{2}}} | {{{1}}} | {{{3}}} ⇒ |
For assisting creating succession templates. Parameters:
- Category label, usually a link to main page.
- Link to previous.
- Link to next.
- Background colour code. Default #eee.
- Border colour code. Default #000.
- 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.