Jump to content

Template:S-mil/doc: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
Created documentation page
 
m top: {{High-use}}
 
(17 intermediate revisions by 13 users not shown)
Line 1: Line 1:
{{Documentation subpage}}
{{Documentation subpage}}
{{High-use}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->


Line 6: Line 7:
== Usage ==
== Usage ==


The template was designed to default to {{s-start}}
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.
{{s-mil}}
{{s-end}} 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-mil}}
| <code><nowiki>{{s-mil}}</nowiki></code>
| <code><nowiki>{{s-mil}}</nowiki></code>
{{end}}
{{s-end}}


There are no parameters in this template.
There are no parameters in this template.
Line 23: Line 26:
{{s-mil}}
{{s-mil}}
{{s-bef | before = [[Ulysses S. Grant]]}}
{{s-bef | before = [[Ulysses S. Grant]]}}
{{s-ttl | title = [[Commanding General of the United States Army]] | years = 1869 – 1883}}
{{s-ttl | title = [[Commanding General of the United States Army]] | years = 1869–1883}}
{{s-aft | after = [[Philip H. Sheridan]]}}
{{s-aft | after = [[Philip H. Sheridan]]}}
{{end}}
{{s-end}}
</pre>
</pre>
{{s-start}}
{{s-start}}
{{s-mil}}
{{s-mil}}
{{s-bef|before=[[Ulysses S. Grant]]}}
{{s-bef|before=[[Ulysses S. Grant]]}}
{{s-ttl|title=[[Commanding General of the United States Army]]|years=1869 – 1883}}
{{s-ttl|title=[[Commanding General of the United States Army]]|years=1869–1883}}
{{s-aft|after=[[Philip H. Sheridan]]}}
{{s-aft|after=[[Philip H. Sheridan]]}}
{{end}}
{{s-end}}


== See also ==
== See also ==

* Documentation for creating succession boxes can be found at [[Template:S-start]].
* Documentation for creating succession boxes can be found at [[Template:S-start]].
<includeonly><!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
<includeonly>{{Sandbox other||<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
[[Category:Succession templates|{{subst:PAGENAME}}]]
[[Category:Succession header templates|{{PAGENAME}}]]
</includeonly>
}}</includeonly>

Latest revision as of 20:41, 26 December 2023

This template creates a header to be used with succession boxes for people holding offices in the military.

Usage

[edit]

The template was designed to default to

Military offices

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.

Military offices {{s-mil}}

There are no parameters in this template.

Example

[edit]

From the William Tecumseh Sherman article:

{{s-start}}
{{s-mil}}
{{s-bef | before = [[Ulysses S. Grant]]}}
{{s-ttl | title = [[Commanding General of the United States Army]] | years = 1869–1883}}
{{s-aft | after = [[Philip H. Sheridan]]}}
{{s-end}}
Military offices
Preceded by Commanding General of the United States Army
1869–1883
Succeeded by

See also

[edit]