Difference between revisions of "Template:S-gov/doc"

From eRepublik Official Wiki
Jump to: navigation, search
m (Created page with '{{Documentation subpage}} <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> This template creates a header to be used with [[Template:s-start|succession b...')
 
(update)
Line 1: Line 1:
 
{{Documentation subpage}}
 
{{Documentation subpage}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
 
  
This template creates a header to be used with [[Template:s-start|succession boxes]] for people in non-political government positions.
+
The template was designed to default to '''Government offices'''. No additional parameters are to be added, simply use {{Tl|s-gov}} to create the header.
 
+
== Usage ==
+
 
+
The template was designed to default to <span style="background: #bebebe; border: 1px #aaa solid; padding: 0.2em;">&nbsp;'''Government offices'''&nbsp;</span> if no parameter is given. In the following table, the first column contains the header and the second column shows the template call used to create it.
+
  
 +
==Usage==
 +
<pre>
 
{{s-start}}
 
{{s-start}}
 
{{s-gov}}
 
{{s-gov}}
| <code><nowiki>{{s-gov}}</nowiki></code>
+
{{s-bef}}
{{end}}
+
{{s-ttl|title=This is a test title}}
 +
{{s-aft}}
 +
{{s-end}}
 +
</pre>
  
There are no parameters in this template.
 
 
== Example ==
 
 
<pre style="font-size:95%; width:95%; overflow:auto;">
 
{{s-start}}
 
{{s-gov}}
 
{{s-bef | before = [[William J. Burns]] | as = Director of the [[Federal Bureau of Investigation#History|Bureau of Investigation]]}}
 
{{s-ttl | title = [[Director of the Federal Bureau of Investigation]] | years = 1924 – 1972}}
 
{{s-aft | after = [[L. Patrick Gray]]}}
 
{{end}}
 
</pre>
 
 
{{s-start}}
 
{{s-start}}
 
{{s-gov}}
 
{{s-gov}}
{{s-bef|before=[[William J. Burns]]|as=Director of the [[Federal Bureau of Investigation#History|Bureau of Investigation]]}}
+
{{s-bef}}
{{s-ttl|title=[[Director of the Federal Bureau of Investigation]]|years=1924 – 1972}}
+
{{s-ttl|title=This is a test title}}
{{s-aft|after=[[L. Patrick Gray]]}}
+
{{s-aft}}
{{end}}
+
{{s-end}}
  
== See also ==
+
=See Also=
* [[Template:s-start]]
+
More information about succession boxes can be found at [[Template:s-start]].
* [[Template:Succession box]]
+

Revision as of 14:06, 11 April 2020

edit

Edit-copy green.png Documentation subpage

This documentation subpage contains instructions, categories, or other information for technical reasons.
To view the Template page itself, see Template:S-gov.


The template was designed to default to Government offices. No additional parameters are to be added, simply use {{s-gov}} to create the header.

Usage

{{s-start}}
{{s-gov}}
{{s-bef}}
{{s-ttl|title=This is a test title}}
{{s-aft}}
{{s-end}}
Government offices
Preceded by
Unknown
This is a test title Succeeded by
Unknown

See Also

More information about succession boxes can be found at Template:s-start.