Difference between revisions of "Template:Succession"
Jump to navigation
Jump to search
m |
m |
||
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 | <poem><nowiki>{{succession | ||
|label | |label = Mayors of Cwcville | ||
|prevlink = BILLY MAYS | |prevlink = BILLY MAYS | ||
|nextlink = Richard Karn | |nextlink = Richard Karn | ||
|bgcolor = #f00 | |bgcolor = #f00 | ||
|bordercolor = #0f0 | |bordercolor = #0f0 | ||
|textcolor = #00f}}</nowiki> | |textcolor = #00f | ||
}}</nowiki></poem> | |||
{{succession | |||
|label = Mayors of Cwcville | |||
|prevlink = BILLY MAYS | |||
|nextlink = Richard Karn | |||
|bgcolor = #f00 | |||
|bordercolor = #0f0 | |||
|textcolor = #00f | |||
}} | |||
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 02:37, 8 November 2009
⇐ [[{{{prevlink}}}|{{{prevlink}}}]] | {{{label}}} | [[{{{nextlink}}}|{{{nextlink}}}]] ⇒ |
For assisting creating succession templates. Parameters:
- label - Category label, usually a link to main page.
- prevlink - Link to previous.
- nextlink - Link to next.
- bgcolor - Background colour code. Default #eee.
- bordercolor - Border colour code. Default #000.
- textcolor - 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
|label = Mayors of Cwcville
|prevlink = BILLY MAYS
|nextlink = Richard Karn
|bgcolor = #f00
|bordercolor = #0f0
|textcolor = #00f
}}
⇐ BILLY MAYS | Mayors of Cwcville | Richard Karn ⇒ |
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.