Template:S-rel/doc
Jump to navigation
Jump to search
This is a documentation subpage for Template:S-rel. It contains usage information, categories and other content that is not part of the original template page. |
This template is used on approximately 16,000 pages, so changes to it will be widely noticed. Please test any changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Please consider discussing changes on the talk page before implementing them. |
This template creates a header to be used with succession boxes for religious titles.
Usage[edit source]
Without parameter[edit source]
If no parameter is supplied:
{{s-rel}}
Religious titles |
---|
With custom parameter[edit source]
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 }}
Custom Religious titles |
---|
With predefined parameters[edit source]
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.
Example[edit source]
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}}
Catholic Church titles | ||
---|---|---|
Preceded by Pius IV |
Pope 1566–1572 |
Succeeded by Gregory XIII |
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}}
Catholic Church titles | ||
---|---|---|
Preceded by Pius IV |
Pope 1566–1572 |
Succeeded by Gregory XIII |
Tracking categories[edit source]
- Category:Pages using S-rel template with ca parameter (2)
- Category:Pages using S-rel template with or parameter (0)
See also[edit source]
Documentation for creating succession boxes can be found at Template:S-start/doc.
External links[edit source]
- Template:S-rel/doc at Wikipedia, the free Terran encyclopedia that anyone can edit.