Template:S-mil/doc: Difference between revisions
Appearance
Content deleted Content added
Created documentation page |
Tom.Reding (talk | contribs) 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}} |
|||
⚫ | |||
{{s-mil}} |
|||
⚫ | |||
{{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 = |
{{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= |
{{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|{{ |
[[Category:Succession header templates|{{PAGENAME}}]] |
||
</includeonly> |
}}</includeonly> |
Latest revision as of 20:41, 26 December 2023
This is a documentation subpage for Template:S-mil. It may contain usage information, categories and other content that is not part of the original template page. |
This template is used on approximately 12,000 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
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
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.
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}}
See also
[edit]- Documentation for creating succession boxes can be found at Template:S-start.