Difference between revisions of "Template:Succession box"

m (extra parameters)
(add)
 
(7 intermediate revisions by 2 users not shown)
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; {{{style|}}}"
 +
| style="background:#ccf;text-align:center;" colspan="3" | '''{{{header}}}'''
 +
|-
 
|width="30%" align="center" rowspan="{{{rowsp|1}}}"|{{{beforetext|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}}}"| {{{aftertext|Followed&nbsp;by<br/>}}}'''{{{after}}}'''
 
|width="30%" align="center" rowspan="{{{rowsf|1}}}"| {{{aftertext|Followed&nbsp;by<br/>}}}'''{{{after}}}'''
 +
{{{extension|}}}
 
|}<noinclude>
 
|}<noinclude>
 
==Usage==
 
==Usage==
Line 9: Line 12:
 
<pre>
 
<pre>
 
{{Succession box
 
{{Succession box
 +
|header=
 
|before=
 
|before=
 
|title=
 
|title=
Line 19: Line 23:
 
<pre>
 
<pre>
 
{{Succession box
 
{{Succession box
 +
|header=[[1986 AIME]] ([[1986 AIME Problems|Problems]])
 
|before=[[1986 AIME Problems/Problem 1]]
 
|before=[[1986 AIME Problems/Problem 1]]
 
|title=[[AIME]]
 
|title=[[AIME]]
Line 25: Line 30:
 
</pre>  
 
</pre>  
  
[[Category:Succession templates]]
+
[[Category:Succession templates|*]]
 +
 
 +
This is only for pages that don't already have a specific succession box made for them. See [[:Category:Succession templates]] for a list of them.
 
</noinclude>
 
</noinclude>

Latest revision as of 12:41, 19 January 2008

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

Usage

To use this box, use the following code:

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

As an example,

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

This is only for pages that don't already have a specific succession box made for them. See Category:Succession templates for a list of them.