Difference between revisions of "Template:S-reg/doc"

From eRepublik Official Wiki
Jump to: navigation, search
(Created page with "{{Documentation subpage}}{{-}}{{TOCright}} The template was designed to default for the '''Regnal titles''', if no additional parameter is added and simply {{Tl|s-reg}} is us...")
 
(small corrections)
 
Line 1: Line 1:
 
{{Documentation subpage}}{{-}}{{TOCright}}
 
{{Documentation subpage}}{{-}}{{TOCright}}
  
The template was designed to default for the '''Regnal titles''', if no additional parameter is added and simply {{Tl|s-reg}} is used to create the header.
+
The template is designed to default for the '''Regnal titles''', if no additional parameter is added and simply {{Tl|s-reg}} is used to create the header.  This template is to be used with [[Template:Start]] and [[Template:End]].
  
 
==Usage==
 
==Usage==
Line 12: Line 12:
 
==Usage with parameter==
 
==Usage with parameter==
 
<pre>
 
<pre>
{{s-start}}
+
{{start}}
 
{{s-reg|uk}}
 
{{s-reg|uk}}
 
{{s-bef|before=Scipio The Great}}
 
{{s-bef|before=Scipio The Great}}
 
{{s-ttl|title=Duke of Buckingham|creation=2nd Creation|lords=16th March 2010 - 11th April 2010}}
 
{{s-ttl|title=Duke of Buckingham|creation=2nd Creation|lords=16th March 2010 - 11th April 2010}}
 
{{s-inc}}
 
{{s-inc}}
{{s-end}}
+
{{end}}
 
</pre>
 
</pre>
  
{{s-start}}
+
{{start}}
 
{{s-reg|uk}}
 
{{s-reg|uk}}
 
{{s-bef|before=Scipio The Great}}
 
{{s-bef|before=Scipio The Great}}
 
{{s-ttl|title=Duke of Buckingham|creation=2nd Creation|lords=16th March 2010 - 11th April 2010}}
 
{{s-ttl|title=Duke of Buckingham|creation=2nd Creation|lords=16th March 2010 - 11th April 2010}}
 
{{s-inc}}
 
{{s-inc}}
{{s-end}}
+
{{end}}
  
 
==Usage without parameter==
 
==Usage without parameter==
 
<pre>
 
<pre>
{{s-start}}
+
{{start}}
 
{{s-reg}}
 
{{s-reg}}
 
{{s-bef}}
 
{{s-bef}}
 
{{s-ttl|title=This is a test title}}
 
{{s-ttl|title=This is a test title}}
 
{{s-aft}}
 
{{s-aft}}
{{s-end}}
+
{{end}}
 
</pre>
 
</pre>
  
{{s-start}}
+
{{start}}
 
{{s-reg}}
 
{{s-reg}}
 
{{s-bef}}
 
{{s-bef}}
 
{{s-ttl|title=This is a test title}}
 
{{s-ttl|title=This is a test title}}
 
{{s-aft}}
 
{{s-aft}}
{{s-end}}
+
{{end}}
 
+
=See Also=
+
More information about succession boxes can be found at [[Template:s-start]].
+

Latest revision as of 05:23, 7 January 2024

edit

Edit-copy green.png Documentation subpage

This documentation subpage contains instructions, categories, or other information for technical reasons.
To view the Template page itself, see Template:S-reg.


The template is designed to default for the Regnal titles, if no additional parameter is added and simply {{s-reg}} is used to create the header. This template is to be used with Template:Start and Template:End.

Usage

The format is {{s-reg|''Parameter''}}.

Parameter is optional and can be

Usage with parameter

{{start}}
{{s-reg|uk}}
{{s-bef|before=Scipio The Great}}
{{s-ttl|title=Duke of Buckingham|creation=2nd Creation|lords=16th March 2010 - 11th April 2010}}
{{s-inc}}
{{end}}
Peerage of the United Kingdom
Preceded by
Scipio The Great
Duke of Buckingham
2nd Creation
Member of the House of Lords
(16th March 2010 - 11th April 2010)
Incumbent

Usage without parameter

{{start}}
{{s-reg}}
{{s-bef}}
{{s-ttl|title=This is a test title}}
{{s-aft}}
{{end}}
Regnal titles
Preceded by
Unknown
This is a test title Succeeded by
Unknown