Template:S-bef/doc

From A Wiki of Ice and Fire
Jump to: navigation, search

This page uses content from the English Wikipedia. The original content was at Template:S-bef.
The list of authors can be seen in the page history of Template:S-bef.
As with A Wiki of Ice and Fire, the content of Wikipedia is available under the GNU Free Documentation License.

This template creates a single first-column succession box column to be used with succession boxes.

Usage

[edit]

The format is {{s-bef|before=text|parameters}}, where text is replaced by the text to be displayed and parameters is replaced by one or more of the optional parameter names shown below.

Parameter names
  • before (required) — Predecessor
  • before2 (optional) — Second predecessor
  • before3 (optional) — Third predecessor
  • before4 (optional) — Fourth successor
  • before5 (optional) — Fifth predecessor
  • as (optional) — Adds a title line beneath a predecessor's name to designate a change in title
  • rows (optional) — Number of table rows to span
Usage
{{S-bef | before= | before2= | before3= | before4= | before5= | as= | rows= }}
Output (raw)
Output (as table cell)
Output (in succession box, rows=2)
Template:Parameter names example
{{{title}}} Succeeded by
{{{after}}}
{{{title}}} Succeeded by
{{{after}}}

See also

[edit]

Documentation for creating succession boxes can be found at Template:s-start/doc.