Difference between revisions of "Template:Army Center of Military History/doc"

From blackwiki
Jump to navigation Jump to search
blackwiki>Zyxw
m (Since <tt> is obsolete in HTML5, replace it with <kbd> – see HTML element#tt, Wikipedia:HTML5, and mw:Help:Extension:Linter/obsolete-tag. using AWB)
blackwiki>Hike395
(update doc)
Line 2: Line 2:
  
 
=== Usage ===
 
=== Usage ===
This template is for ''articles''. (The previously existing talk page template was obsolete and should be removed).
+
This template is for ''articles''.  
  
 
With no arguments, <kbd><nowiki>{{ACMH}}</nowiki></kbd> or <kbd><nowiki>{{Army Center of Military History}}</nowiki></kbd> produces:
 
With no arguments, <kbd><nowiki>{{ACMH}}</nowiki></kbd> or <kbd><nowiki>{{Army Center of Military History}}</nowiki></kbd> produces:
 
:{{ACMH}}
 
:{{ACMH}}
  
There are four parameters, ''article'', ''url'', ''author'', ''accessdate''. The ''article'' and ''url'' parameters should be used together. For example,
+
There are two parameters, ''article'' and ''url''. In addition, any parameter from {{tl|cite web}} can be used.
  
 
<kbd><nowiki>{{ACMH|article = Medal of Honor |url = http://www.history.army.mil/moh.html}}</nowiki></kbd> produces:
 
<kbd><nowiki>{{ACMH|article = Medal of Honor |url = http://www.history.army.mil/moh.html}}</nowiki></kbd> produces:
 
:{{ACMH|article = Medal of Honor |url = http://www.history.army.mil/moh.html}}
 
:{{ACMH|article = Medal of Honor |url = http://www.history.army.mil/moh.html}}
  
<kbd><nowiki>{{ACMH|article = Medal of Honor |url = http://www.history.army.mil/moh.html |author= John A. Lynn}}</nowiki></kbd> produces:
+
<kbd><nowiki>{{ACMH|article = Medal of Honor |url = http://www.history.army.mil/moh.html |first=John A.|last=Lynn |accessdate=2009-07-20}}</nowiki></kbd> produces:
:{{ACMH|article = Medal of Honor |url = http://www.history.army.mil/moh.html |author=John A. Lynn}}
 
 
 
<kbd><nowiki>{{ACMH|article = Medal of Honor |url = http://www.history.army.mil/moh.html |author=John A. Lynn |accessdate=2009-07-20}}</nowiki></kbd> produces:
 
 
:{{ACMH|article = Medal of Honor |url = http://www.history.army.mil/moh.html |author=John A. Lynn  |accessdate=2009-07-20}}
 
:{{ACMH|article = Medal of Honor |url = http://www.history.army.mil/moh.html |author=John A. Lynn  |accessdate=2009-07-20}}
  

Revision as of 18:03, 8 March 2020

Usage

This template is for articles.

With no arguments, {{ACMH}} or {{Army Center of Military History}} produces:

12px This article incorporates public domain material from websites or documents of the United States Army Center of Military History.

There are two parameters, article and url. In addition, any parameter from {{cite web}} can be used.

{{ACMH|article = Medal of Honor |url = http://www.history.army.mil/moh.html}} produces:

12px This article incorporates public domain material from the United States Army Center of Military History document: "Medal of Honor".

{{ACMH|article = Medal of Honor |url = http://www.history.army.mil/moh.html |first=John A.|last=Lynn |accessdate=2009-07-20}} produces:

12px This article incorporates public domain material from the United States Army Center of Military History document: John A. Lynn. "Medal of Honor". Retrieved 2009-07-20.

See also

{{Include-USGov}}