Difference between revisions of "Template:S-new"
From eRepublik Official Wiki
John F Baker (Talk | contribs) m |
(small corrections) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | <noinclude>{{ | + | <noinclude>{{Documentation}}[[Category:Succession Templates]]</noinclude> |
− | </noinclude>|- | + | <includeonly>|- |
|width="30%" align="center" rowspan="{{{rows|1}}}"|'''{{#switch:{{lc:{{{1|}}}}} | |width="30%" align="center" rowspan="{{{rows|1}}}"|'''{{#switch:{{lc:{{{1|}}}}} | ||
|award = New award | |award = New award | ||
− | |||
− | |||
− | |||
|creation = New creation | |creation = New creation | ||
− | |||
− | |||
|division = New division | |division = New division | ||
|branch = New branch | |branch = New branch | ||
− | |||
|first = First | |first = First | ||
|loss = Loss of title | |loss = Loss of title | ||
Line 18: | Line 12: | ||
|party = New political party | |party = New political party | ||
|regiment = New regiment | |regiment = New regiment | ||
− | |||
− | |||
− | |||
− | |||
|parliament = New parliament | |parliament = New parliament | ||
+ | |squadron = New squadron | ||
|#default = New title | |#default = New title | ||
− | }}'''{{#if:{{{reason | + | }}'''{{#if:{{{reason|}}}|<br><div style="font-size:90%">{{{reason}}}</div>}}</includeonly> |
− | + | ||
− | + | ||
− | + | ||
− | </ | + |
Latest revision as of 05:24, 7 January 2024
This template creates a succession box column to be used with Template:Start and Template:End, preferably instead of template Template:S-bef.
Usage
The format is {{s-new|reason=text}}
, where text is replaced by the text to be displayed. If reason is not used, the predefined value is New title.
- Parameters
- reason (optional) — Adds a title line beneath a predecessor's name to designate a change in title
- Usage
{{s-new | reason= |}}
- Predefined parameters
There are also some predefined parameters:
- award = New award
- creation = New creation
- division = New division
- branch = New branch
- first = First
- loss = Loss of title
- minister = New ministerial post
- office = New office
- party = New political party
- regiment = New regiment
- parliament = New parliament
- squadron = New squadron
- #default = New title
- Usage
{{s-new | award |}}
Examples
{{start}} {{s-new}} {{end}}
New title |
{{start}} {{s-new | award | reason= created by [[Bob Boblo]]}} {{end}}
New award created by Bob Boblo
|
{{start}} {{s-new | reason = [[Andycro|Sysop andycro]]}} {{end}}
New title |
Classic example of the succession box template
{{start}} {{s-new | award | reason= created by [[Bob Boblo]]}} {{s-ttl | title = Worst spammer}} {{s-non | reason = Award not given <br> in the second edition}} {{end}}
New award created by Bob Boblo
|
Worst spammer | Award not given in the second edition |