Difference between revisions of "Template:Succession box"

From PhiSigmaPiWiki
(background colors)
(tweaked)
Line 1: Line 1:
 
{| style="font-size:90%; border: 1px solid #aaa; background-color: #f9f9f9; color: black; margin-bottom: 0.5em; margin-left: 1em; padding: 0.2em;" cellspacing="5"
 
{| style="font-size:90%; border: 1px solid #aaa; background-color: #f9f9f9; color: black; margin-bottom: 0.5em; margin-left: 1em; padding: 0.2em;" cellspacing="5"
|-
 
 
|colspan="3" style="text-align:center; font-size:larger; background-color:{{{bgcolour|#A1A1A1}}}; color:#1B0C2C;"| '''{{{name|{{{successionbox}}}}}}'''
 
  
 
|- style="text-align: center;"
 
|- style="text-align: center;"
{{s-bef|rows={{{rows|1}}}|before={{{before}}}}}
+
{{s-bef|rows={{{rows|3}}}|before={{{before}}}}}
{{s-ttl|rows={{{rows|1}}}|title={{{title}}}|years={{{years}}}}}
+
{{s-ttl|rows={{{rows|3}}}|title={{{title}}}|years={{{years}}}}}
{{s-aft|rows={{{rows|1}}}|after={{{after}}}}}
+
{{s-aft|rows={{{rows|3}}}|after={{{after}}}}}
  
 
<noinclude>
 
<noinclude>

Revision as of 22:18, 23 March 2007

The following is how to do a simple succession box:
{{s-start}}
{{succession box
| before = [[Predeccesor]]
| title = [[National Secretary]]
| years = '''Year1''' – '''Year2'''
| after = [[Successor]]}}
{{end}}
Preceded by
{{{before}}}
{{{title}}}
{{{years}}}
Succeeded by
{{{after}}}