Difference between revisions of "Template:S-new"
From eRepublik Official Wiki
m (small corrections) |
(small corrections) |
||
Line 1: | Line 1: | ||
− | <noinclude>{{Documentation}}[[Category:Succession Templates]] | + | <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 | ||
Line 15: | Line 15: | ||
|squadron = New squadron | |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 |