Template:S-ship/doc: Difference between revisions

From 'City of Adelaide' History and Genealogy Site
Jump to navigation Jump to search
m (moved Template:S-mil/doc to Template:S-ship/doc: Need commands for various ships)
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 2: Line 2:
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
<!-- 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 holding offices in the military.
This template creates a header to be used with [[Template:S-start|succession boxes]] for people holding a command of a ship.


== Usage ==
== Usage ==


The template was designed to default to <span style="background: #CF9C65; border: 1px #aaa solid; padding: 0.2em;">&nbsp;'''Military 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.
The template was designed to default to <span style="background: #006699; color:white; border: 1px #aaa solid; padding: 0.2em;">&nbsp;'''Ship Commands'''&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.


{{s-start}}
{{s-start}}
{{s-mil}}
{{s-ship}}
| <code><nowiki>{{s-mil}}</nowiki></code>
| <code><nowiki>{{s-ship}}</nowiki></code>
{{end}}
{{end}}


Line 17: Line 17:
== Example ==
== Example ==


From the [[William Tecumseh Sherman]] article:


<pre style="font-size:95%; width:95%; overflow:auto;">
<pre style="font-size:95%; width:95%; overflow:auto;">
{{s-start}}
{{s-start}}
{{s-mil}}
{{s-ship}}
{{s-bef | before = [[Ulysses S. Grant]]}}
{{s-bef|before= A.N.Other}}
{{s-ttl | title = [[Commanding General of the United States Army]] | years = 1869 1883}}
{{s-ttl|title= Master of the ''[[Irene]]''}}
{{s-aft | after = [[Philip H. Sheridan]]}}
{{s-aft|after= Yet.A.Nother}}
{{s-bef | before = Fred Bloggs}}
{{s-ttl | title = Master of the ''[[City of Adelaide]]'' | years = 1864 1867}}
{{s-aft | after = [[Bruce, John|John Bruce]]}}
{{end}}
{{end}}
</pre>
</pre>
{{s-start}}
{{s-start}}
{{s-mil}}
{{s-ship}}
{{s-bef|before=[[Ulysses S. Grant]]}}
{{s-bef|before= A.N.Other}}
{{s-ttl|title=[[Commanding General of the United States Army]]|years=1869 1883}}
{{s-ttl|title= Master of the ''[[Irene]]''}}
{{s-aft|after=[[Philip H. Sheridan]]}}
{{s-aft|after= Yet.A.Nother}}
{{s-bef | before = Fred Bloggs}}
{{s-ttl | title = Master of the ''[[City of Adelaide]]'' | years = 1864 1867}}
{{s-aft | after = [[Bruce, John|John Bruce]]}}
{{end}}
{{end}}


Line 39: Line 44:
[[Category:Succession header templates|{{PAGENAME}}]]
[[Category:Succession header templates|{{PAGENAME}}]]
[[Category:Exclude in print]]
[[Category:Exclude in print]]
[[id:Templat:S-mil]]
[[id:Templat:S-ship]]
</includeonly>
</includeonly>

Latest revision as of 04:56, 20 June 2010

{{#invoke:Message box|mbox}}

This template creates a header to be used with succession boxes for people holding a command of a ship.

Usage

The template was designed to default to  Ship Commands  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.

Ship Commands {{s-ship}}

There are no parameters in this template.

Example

{{s-start}}
{{s-ship}}
{{s-bef|before= A.N.Other}}
{{s-ttl|title= Master of the ''[[Irene]]''}}
{{s-aft|after= Yet.A.Nother}}
{{s-bef | before = Fred Bloggs}}
{{s-ttl | title = Master of the ''[[City of Adelaide]]'' | years = 1864 – 1867}}
{{s-aft | after = [[Bruce, John|John Bruce]]}}
{{end}}
Ship Commands
Preceded by
A.N.Other
Master of the Irene Succeeded by
Yet.A.Nother
Preceded by
Fred Bloggs
Master of the City of Adelaide
1864 – 1867
Succeeded by
John Bruce

See also