Difference between revisions of "Template:S-new"

From eRepublik Official Wiki
Jump to: navigation, search
m
 
(cat added; documentation added; removed non-erepublik related stuff;)
Line 3: Line 3:
 
|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
|championship = New championship
 
|chart        = New chart
 
|constituency = New constituency
 
 
  |creation    = New creation
 
  |creation    = New creation
|diocese      = New diocese
 
|district    = New district
 
 
  |division    = New division
 
  |division    = New division
 
  |branch      = New branch
 
  |branch      = New branch
|institution  = New institution
 
 
  |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
|seat        = New seat
 
|tv          = New television show
 
|show        = New show
 
|sports      = New sporting event
 
 
  |parliament  = New parliament
 
  |parliament  = New parliament
 +
|squadron    = New squadron
 
  |#default    = New title
 
  |#default    = New title
 
}}'''{{#if:{{{reason<includeonly>|</includeonly>}}}|<br><div style="font-size:90%">{{{reason}}}</div>}}<noinclude>
 
}}'''{{#if:{{{reason<includeonly>|</includeonly>}}}|<br><div style="font-size:90%">{{{reason}}}</div>}}<noinclude>
{{end}}
+
{{Documentation}}[[Category:Succession Templates]]</noinclude>
See [[Template:s-start]] for further information<br>
+
I will edit it to be more relevant to erepublik, with specific terms very shortly. :) [[User:John F Baker|John F Baker]] 20:15, 14 September 2010 (UTC)
+
</noinclude>
+

Revision as of 18:00, 11 April 2020

New title
{{{reason}}}

[edit] [purge]

Documentation


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