Difference between revisions of "Template:S-vac/doc"
From eRepublik Official Wiki
(Created page with "{{Documentation subpage}}{{-}}{{TOCright}} This template creates a succession box column to be used with Template:S-start and Template:S-end, preferably replaces templ...") |
(small corrections) |
||
Line 1: | Line 1: | ||
{{Documentation subpage}}{{-}}{{TOCright}} | {{Documentation subpage}}{{-}}{{TOCright}} | ||
− | This template creates a succession box column to be used with [[Template: | + | This template creates a succession box column to be used with [[Template:Start]] and [[Template:End]], preferably replaces templates [[Template:S-bef]] and [[Template:S-aft]]. |
==Usage== | ==Usage== | ||
Line 20: | Line 20: | ||
==Examples== | ==Examples== | ||
<pre style="width:95%; overflow:auto;"> | <pre style="width:95%; overflow:auto;"> | ||
− | {{ | + | {{start}} |
{{s-vac}} | {{s-vac}} | ||
− | {{ | + | {{end}} |
</pre> | </pre> | ||
− | {{ | + | {{start}} |
{{s-vac}} | {{s-vac}} | ||
− | {{ | + | {{end}} |
<pre style="width:95%; overflow:auto;"> | <pre style="width:95%; overflow:auto;"> | ||
− | {{ | + | {{start}} |
{{s-vac|reason=no one to fill it}} | {{s-vac|reason=no one to fill it}} | ||
− | {{ | + | {{end}} |
</pre> | </pre> | ||
− | {{ | + | {{start}} |
{{s-vac|reason=no one to fill it}} | {{s-vac|reason=no one to fill it}} | ||
− | {{ | + | {{end}} |
<pre style="width:95%; overflow:auto;"> | <pre style="width:95%; overflow:auto;"> | ||
− | {{ | + | {{start}} |
{{s-vac|last=Alien|as=big boss}} | {{s-vac|last=Alien|as=big boss}} | ||
− | {{ | + | {{end}} |
</pre> | </pre> | ||
− | {{ | + | {{start}} |
{{s-vac|last=Alien|as=big boss}} | {{s-vac|last=Alien|as=big boss}} | ||
− | {{ | + | {{end}} |
==Classic example of the succession box template == | ==Classic example of the succession box template == | ||
<pre style="width:95%; overflow:auto;"> | <pre style="width:95%; overflow:auto;"> | ||
− | {{ | + | {{start}} |
{{s-vac | lastunknown = [[Andycro]]}} | {{s-vac | lastunknown = [[Andycro]]}} | ||
− | {{s-ttl | title = [[Party president]] of the [[ | + | {{s-ttl | title = [[Party president]] of the [[Hrvatski Liberalni Demokrati]] | years = March 16, 2011 - April 15, 2011}} |
{{s-vac | next = Busynurse1510 | as = interim}} | {{s-vac | next = Busynurse1510 | as = interim}} | ||
− | {{ | + | {{end}} |
</pre> | </pre> | ||
− | {{ | + | {{start}} |
{{s-vac | lastunknown = [[Andycro]]}} | {{s-vac | lastunknown = [[Andycro]]}} | ||
− | {{s-ttl | title = [[Party president]] of the [[ | + | {{s-ttl | title = [[Party president]] of the [[Hrvatski Liberalni Demokrati]] | years = March 16, 2011 - April 15, 2011}} |
{{s-vac | next = Busynurse1510 | as = interim}} | {{s-vac | next = Busynurse1510 | as = interim}} | ||
− | {{ | + | {{end}} |
− | + | ||
− | + | ||
− | + |
Latest revision as of 05:32, 7 January 2024
This documentation subpage contains instructions, categories, or other information for technical reasons.
To view the Template page itself, see Template:S-vac.
To view the Template page itself, see Template:S-vac.
This template creates a succession box column to be used with Template:Start and Template:End, preferably replaces templates Template:S-bef and Template:S-aft.
Usage
The format is {{s-vac|additionalparamater=text|as=text}}
, where text is replaced by the text to be displayed.
- Additional parameters (only one can be used)
- reason (optional) — Reason of vacancy
- last (optional) — Adds a line "Title last held by" and a name has to be added (e.g. last=andycro)
- next (optional) — Adds a line "Title next held by" and a name has to be added (e.g. next=andycro)
- lastunknown (optional) — Adds a line "Last known title holder" and a name has to be added (e.g. lastunknown=andycro)
- nextunknown (optional) — Adds a line "Next known title holder" and a name has to be added (e.g. nextunknown=andycro)
- as (optional; can be added with one of the previous ones or as a standalone) — Adds a title line beneath a predecessor's name to designate a change in title and a reason has to be added (e.g. as=interim)
- Usage
{{s-vac | reason= | as= }}
Examples
{{start}} {{s-vac}} {{end}}
Vacant |
{{start}} {{s-vac|reason=no one to fill it}} {{end}}
Vacant no one to fill it
|
{{start}} {{s-vac|last=Alien|as=big boss}} {{end}}
Vacant Title last held by Alienas big boss |
Classic example of the succession box template
{{start}} {{s-vac | lastunknown = [[Andycro]]}} {{s-ttl | title = [[Party president]] of the [[Hrvatski Liberalni Demokrati]] | years = March 16, 2011 - April 15, 2011}} {{s-vac | next = Busynurse1510 | as = interim}} {{end}}
Vacant Last known title holder: Andycro
|
Party president of the Hrvatski Liberalni Demokrati March 16, 2011 - April 15, 2011 |
Vacant Title next held by Busynurse1510as interim |