Jump to content
 







Main menu
   


Navigation  



Main page
Contents
Current events
Random article
About Wikipedia
Contact us
Donate
 




Contribute  



Help
Learn to edit
Community portal
Recent changes
Upload file
 








Search  

































Create account

Log in
 









Create account
 Log in
 




Pages for logged out editors learn more  



Contributions
Talk
 



















Contents

   



(Top)
 


1 Usage  





2 Example  





3 TemplateData  





4 See also  














Template:S-bef






Acèh
Afrikaans
العربية

Azərbaycanca
تۆرکجه
Basa Bali

Banjar
 / Bân-lâm-gú
Basa Banyumasan
Беларуская

Bikol Central
Bosanski
Буряад
Cymraeg
Dansk
الدارجة
Ελληνικά
Esperanto
Eʋegbe
فارسی
Føroyskt
Français
Fulfulde
Gaelg
Galego


Hausa
Հայերեն
ि
Ilokano
িি ি
Bahasa Indonesia
IsiZulu
Jawa

Kapampangan

Ikinyarwanda
Latviešu
Lietuvių
Magyar
ि

Malti

مصرى
Bahasa Melayu
Minangkabau
Монгол


 

Нохчийн
Norsk bokmål
ି

پنجابی
پښتو

Português
Română
Русский


Scots
Setswana

Simple English
سنڌي
SiSwati
Slovenčina
Slovenščina
کوردی
Српски / srpski
Srpskohrvatski / српскохрватски
Sunda
Svenska
Tagalog
ி
 


Тоҷикӣ
Türkçe
Українська
اردو
Tiếng Vit
Winaray


 

Edit links
 









Template
Talk
 

















Read
View source
View history
 








Tools
   


Actions  



Read
View source
View history
 




General  



What links here
Related changes
Upload file
Special pages
Permanent link
Page information
Get shortened URL
Download QR code
Wikidata item
 




Print/export  



Download as PDF
Printable version
 




In other projects  



Wikimedia Commons
Wikiversity
 
















Appearance
   

 





Permanently protected template

From Wikipedia, the free encyclopedia
 


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

Usage

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
Usage
{{S-bef | before= | before2= | before3= | before4= | before5= | as= | rows= }}
Output (raw)

|- style="text-align:center;"

|style="width:30%;" rowspan="{{{rows}}}"|Preceded by

{{{before}}}
{{{before2}}}
{{{before3}}}
{{{before4}}}
{{{before5}}}

as {{{as}}}
Output (as table cell)
Preceded by

{{{before}}}
{{{before2}}}
{{{before3}}}
{{{before4}}}
{{{before5}}}

as {{{as}}}
Output (in succession box, rows=2)
Preceded by

{{{before}}}
{{{before2}}}
{{{before3}}}
{{{before4}}}
{{{before5}}}

as {{{as}}}
{{{title}}} Succeeded by

{{{after}}}

{{{title}}} Succeeded by

{{{after}}}

Example

From the Louis XIV of France article:

{{s-start}}
{{s-reg}}
{{s-bef | before = [[Louis XIII of France|Louis XIII]]}}
{{s-ttl | title = [[List of French monarchs|King of France]] and [[List of Navarrese monarchs|Navarre]] | years = 14 May 1643 – 1 September 1715}}
{{s-aft | after = [[Louis XV of France|Louis XV]]}}
{{s-end}}
Regnal titles
Preceded by

Louis XIII

King of France and Navarre
14 May 1643 – 1 September 1715
Succeeded by

Louis XV

TemplateData

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:S-bef in articles based on its TemplateData.

TemplateData for S-bef

Single first-column succession box column for predecessors.

Template parameters[Edit template data]

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
beforebefore

Predecessor

Stringrequired
before2before2

Second predecessor

Stringoptional
before3before3

Third predecessor

Stringoptional
before4before4

Forth predecessor

Stringoptional
before5before5

Fifth predecessor

Stringoptional
asas

Adds a title line beneath a predecessor's name to designate a change in title.

Stringoptional
rowsrows

Number of table rows to span

Stringoptional

See also

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


Retrieved from "https://en.wikipedia.org/w/index.php?title=Template:S-bef&oldid=1171304495"

Category: 
Succession templates
Hidden categories: 
Wikipedia template-protected templates
Templates using TemplateData
 



This page was last edited on 20 August 2023, at 08:20 (UTC).

Text is available under the Creative Commons Attribution-ShareAlike License 4.0; additional terms may apply. By using this site, you agree to the Terms of Use and Privacy Policy. Wikipedia® is a registered trademark of the Wikimedia Foundation, Inc., a non-profit organization.



Privacy policy

About Wikipedia

Disclaimers

Contact Wikipedia

Code of Conduct

Developers

Statistics

Cookie statement

Mobile view



Wikimedia Foundation
Powered by MediaWiki