Difference between revisions of "Template:Succession box"

(loosely based on WP template:Succession box)
 
m (extra parameters)
Line 1: Line 1:
 
{| class="wikitable" style="clear:both; margin:0.5em auto; font-size:95%; border:1px solid black"
 
{| class="wikitable" style="clear:both; margin:0.5em auto; font-size:95%; border:1px solid black"
|width="30%" align="center" rowspan="{{{rowsp|1}}}"|Preceded&nbsp;by<br/>'''{{{before}}}'''
+
|width="30%" align="center" rowspan="{{{rowsp|1}}}"|{{{beforetext|Preceded&nbsp;by<br/>}}}'''{{{before}}}'''
 
|width="40%" align="center" rowspan="{{{rowst|1}}}"|'''{{{title}}}'''
 
|width="40%" align="center" rowspan="{{{rowst|1}}}"|'''{{{title}}}'''
|width="30%" align="center" rowspan="{{{rowsf|1}}}"| Followed&nbsp;by<br/>'''{{{after}}}'''
+
|width="30%" align="center" rowspan="{{{rowsf|1}}}"| {{{aftertext|Followed&nbsp;by<br/>}}}'''{{{after}}}'''
 
|}<noinclude>
 
|}<noinclude>
 
==Usage==
 
==Usage==

Revision as of 20:59, 1 February 2007

Preceded by
{{{before}}}
{{{title}}} Followed by
{{{after}}}

Usage

To use this box, use the following code:

{{Succession box
|before=
|title=
|after=
}}

As an example,

{{Succession box
|before=[[1986 AIME Problems/Problem 1]]
|title=[[AIME]]
|after=[[1986 AIME Problems/Problem 3]]
}}