Template:S-ship/doc: Difference between revisions
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 |
||
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 | 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: # | The template was designed to default to <span style="background: #006699; border: 1px #aaa solid; padding: 0.2em;"> '''Ship Commands''' </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- | {{s-ship}} | ||
| <code><nowiki>{{s- | | <code><nowiki>{{s-ship}}</nowiki></code> | ||
{{end}} | {{end}} | ||
Line 17: | Line 17: | ||
== Example == | == Example == | ||
<pre style="font-size:95%; width:95%; overflow:auto;"> | <pre style="font-size:95%; width:95%; overflow:auto;"> | ||
{{s-start}} | {{s-start}} | ||
{{s- | {{s-ship}} | ||
{{s-bef | before = | {{s-bef | before = Fred Bloggs}} | ||
{{s-ttl | title = [[ | {{s-ttl | title = Master of the ''[[City of Adelaide]]'' | years = 1864 – 1867}} | ||
{{s-aft | after = [[ | {{s-aft | after = [[Bruce, John|John Bruce]]}} | ||
{{end}} | {{end}} | ||
</pre> | </pre> | ||
{{s-start}} | {{s-start}} | ||
{{s- | {{s-ship}} | ||
{{s-bef|before= | {{s-bef|before= A.N.Other}} | ||
{{s-ttl|title=[[ | {{s-ttl|title= Master of the ''[[Irene]]'' | ||
{{s-aft|after= | {{s-aft|after= Yet.A.Nother}} | ||
{{end}} | {{end}} | ||
Line 39: | Line 38: | ||
[[Category:Succession header templates|{{PAGENAME}}]] | [[Category:Succession header templates|{{PAGENAME}}]] | ||
[[Category:Exclude in print]] | [[Category:Exclude in print]] | ||
[[id:Templat:S- | [[id:Templat:S-ship]] | ||
</includeonly> | </includeonly> |
Revision as of 04:29, 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 = 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 {{s-ttl|title= Master of the Irene |
Succeeded by Yet.A.Nother |
See also
- Documentation for creating succession boxes can be found at Template:S-start.