Difference between revisions of "Template:Marine Corps"

From blackwiki
Jump to navigation Jump to search
imported>Courcelles
m (Protected Template:Marine Corps: Batch semi-protection of highly visible templates listed on Wikipedia:Database reports/Unprotected templates with many transclusions/4 Any that were full-protected I will restore. using TW ([edit=autoconfirm)
imported>Trappist the monk
m (→‎top: support hyphenated parameter names)
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
{{Include-USGov|agency=United States Marine Corps
 
{{Include-USGov|agency=United States Marine Corps
|article={{{article|}}}|url={{{url|}}}|author={{{author|}}}|accessdate={{{accessdate|}}}
+
|article={{{article|}}}|url={{{url|}}}|author={{{author|}}}|access-date={{{access-date|{{{accessdate|}}}}}}
 
}}<noinclude>{{Documentation}}
 
}}<noinclude>{{Documentation}}
 
[[Category:United States government attribution templates|{{PAGENAME}}]]
 
[[Category:United States government attribution templates|{{PAGENAME}}]]
</noinclude>
+
</noinclude><includeonly>[[Category:Wikipedia articles incorporating text from the United States Marine Corps]]</includeonly>
<includeonly>
 
[[Category:Wikipedia articles incorporating text from United States Marine Corps]]
 
</includeonly>
 

Latest revision as of 15:32, 29 January 2021

 This article incorporates public domain material from websites or documents of the United States Marine Corps.

Template documentation[view] [edit] [history] [purge]

Usage

With no arguments, {{Marine Corps}} produces:

 This article incorporates public domain material from websites or documents of the United States Marine Corps.

There are four parameters, article, url, author, accessdate. The article and url parameters should be used together. For example,

{{Marine Corps|article = Patterns of Insurgency and Counterinsurgency |url = http://www.smallwars.quantico.usmc.mil/search/articles/lynn.pdf}} produces:

 This article incorporates public domain material from the United States Marine Corps document: "Patterns of Insurgency and Counterinsurgency" (PDF).

{{Marine Corps|article = Patterns of Insurgency and Counterinsurgency |url = http://www.smallwars.quantico.usmc.mil/search/articles/lynn.pdf |author=John A. Lynn}} produces:

 This article incorporates public domain material from the United States Marine Corps document: John A. Lynn. "Patterns of Insurgency and Counterinsurgency" (PDF).

{{Marine Corps|article = Patterns of Insurgency and Counterinsurgency |url = http://www.smallwars.quantico.usmc.mil/search/articles/lynn.pdf |author=John A. Lynn |accessdate=2008-08-08}} produces:

 This article incorporates public domain material from the United States Marine Corps document: John A. Lynn. "Patterns of Insurgency and Counterinsurgency" (PDF). Retrieved 2008-08-08.