Difference between revisions of "Template:S-reg/doc"
From eRepublik Official Wiki
(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 | + | 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> | ||
− | {{ | + | {{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}} | ||
− | {{ | + | {{end}} |
</pre> | </pre> | ||
− | {{ | + | {{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}} | ||
− | {{ | + | {{end}} |
==Usage without parameter== | ==Usage without parameter== | ||
<pre> | <pre> | ||
− | {{ | + | {{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}} | ||
− | {{ | + | {{end}} |
</pre> | </pre> | ||
− | {{ | + | {{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}} | ||
− | {{ | + | {{end}} |
− | + | ||
− | + | ||
− | + |
Latest revision as of 05:23, 7 January 2024
This documentation subpage contains instructions, categories, or other information for technical reasons.
To view the Template page itself, see Template:S-reg.
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
- uk = Peerage of the United Kingdom
- other = Titles of nobility
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 |