This is the template sandbox page for Template:S-rel (diff). See also the companion subpage for test cases. |
This template is used on approximately 18,000 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them.
Preview message: Transclusion count updated automatically (see documentation). |
This template creates a header to be used with succession boxes for religious titles.
If no parameter is supplied:
{{s-rel}}
The format is {{s-rel|parameter}}
, where parameter is replaced by a custom name (wikilinks must be added manually):
{{s-rel | [[Religion|Custom Religious]] titles }}
The format is {{s-rel|parameter}}
, where parameter is replaced by one of the predefined parameter names shown in the following table. The first column contains the parameter and the second column displays the header.
Parameter | Displayed header | Parameter | Displayed header |
---|---|---|---|
bu | grt | ||
chal | anab | ||
ac | angl | ||
en | ep | ||
ie | sa | ||
se | wa | ||
bapt | eo | ||
luth | army | ||
meth | naz | ||
sdac | east | ||
cc | mo | ||
oo | agod | ||
pres | sc | ||
ca | is | ||
sh | su | ||
jw | isra | ||
ru |
From the Pope Pius V article:
{{s-start}} {{s-rel | ca }} {{s-bef | before=[[Pope Pius IV|Pius IV]] }} {{s-ttl | title=[[List of popes|Pope]] | years=1566–1572 }} {{s-aft | after=[[Pope Gregory XIII|Gregory XIII]] }} {{s-end}}
Same example with {{succession box}}:
{{s-start}} {{s-rel | ca }} {{succession box | before=[[Pope Pius IV|Pius IV]] | title=[[List of popes|Pope]] | years=1566–1572 | after=[[Pope Gregory XIII|Gregory XIII]] }} {{s-end}}
Documentation for creating succession boxes can be found at Template:S-start/doc.