Difference between revisions of "Template:Marine Corps"

From blackwiki
Jump to navigation Jump to search
imported>Fnlayson
m (tweak some more, trying to remove line break after template in articles)
imported>Trappist the monk
m (→‎top: support hyphenated parameter names)
 
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><includeonly>[[Category:Wikipedia articles incorporating text from the United States Marine Corps]]</includeonly>
 
</noinclude><includeonly>[[Category:Wikipedia articles incorporating text from the 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.

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.