Template:Army Center of Military History/testcases

From blackwiki
Jump to navigation Jump to search


  • agency - Built into the template so not required here
  • url (optional) - URL of reference
  • policy (optional) - URL of re-use policy of agency or reference source
  • comment (optional) - free field that produces parenthesized comment at end
  • article (optional) - the title of the reference
  • author (optional) - author of reference
  • accessdate (optional) - date page last checked

Testing sandbox version

{{ {{BASEPAGENAME}}/sandbox}}
  •  This article incorporates public domain material from websites or documents of the United States Army Center of Military History.


{{ {{BASEPAGENAME}}/sandbox|url=http://www.whitehouse.gov}}


{{ {{BASEPAGENAME}}/sandbox |url=http://www.whitehouse.gov}}


{{ {{BASEPAGENAME}}/sandbox |url=http://www.whitehouse.gov |policy=POLICY}}


{{ {{BASEPAGENAME}}/sandbox|url=http://www.whitehouse.gov |policy=POLICY |comment=COMMENT}}


{{ {{BASEPAGENAME}}/sandbox|url= |policy=POLICY |comment=COMMENT}}


{{ {{BASEPAGENAME}}/sandbox|url=http://www.whitehouse.gov |policy=POLICY |comment=COMMENT |article=ARTICLE}}
  •  This article incorporates public domain material from the United States Army Center of Military History document: "ARTICLE".


{{ {{BASEPAGENAME}}/sandbox|url=http://www.whitehouse.gov |policy=POLICY |comment=COMMENT |article=ARTICLE |author=AUTHOR}}


NO URL {{ {{BASEPAGENAME}}/sandbox|policy=POLICY |comment=COMMENT |article=ARTICLE |author=AUTHOR|accessdate=ACCESSDATE}}
  •  This article incorporates public domain material from the United States Army Center of Military History document: "Script error: No such module "If empty".".



Test source=
{{ {{BASEPAGENAME}}/sandbox|source= |policy=POLICY |comment=COMMENT |article=ARTICLE |author=AUTHOR|accessdate=ACCESSDATE}}
  •  This article incorporates public domain material from the United States Army Center of Military History document: "Script error: No such module "If empty".".


test source=This is a test string
{{ {{BASEPAGENAME}}/sandbox|source=This is a test string |policy=POLICY |comment=COMMENT |author=AUTHOR|accessdate=ACCESSDATE}}
  •  This article incorporates public domain material from websites or documents of the United States Army Center of Military History.


test source={{cite book}}
{{ {{BASEPAGENAME}}/sandbox|source={{cite book|first=John |last=Smith |title=Battle of Hastings}} |policy=POLICY |comment=COMMENT |author=AUTHOR|accessdate=ACCESSDATE}}
  •  This article incorporates public domain material from websites or documents of the United States Army Center of Military History.


Testing main template

{{Army Center of Military History}}
  •  This article incorporates public domain material from websites or documents of the United States Army Center of Military History.
{{ {{BASEPAGENAME}}}}
  •  This article incorporates public domain material from websites or documents of the United States Army Center of Military History.
{{ {{BASEPAGENAME}}|url=http://www.whitehouse.gov}}
{{ {{BASEPAGENAME}}|url=http://www.whitehouse.gov}}
{{ {{BASEPAGENAME}}|url=http://www.whitehouse.gov |policy=POLICY}}
  •  This article incorporates [POLICY public domain material] from the United States Army Center of Military History website http://www.whitehouse.gov.
{{ {{BASEPAGENAME}}|url=http://www.whitehouse.gov |policy=POLICY |comment=COMMENT}}
  •  This article incorporates [POLICY public domain material] from the United States Army Center of Military History website http://www.whitehouse.gov. (COMMENT)
{{ {{BASEPAGENAME}}|url=http://www.whitehouse.gov |policy=POLICY |comment=COMMENT}}
  •  This article incorporates [POLICY public domain material] from the United States Army Center of Military History website http://www.whitehouse.gov. (COMMENT)
{{ {{BASEPAGENAME}}|url=http://www.whitehouse.gov |policy=POLICY |comment=COMMENT |article=ARTICLE}}
  •  This article incorporates [POLICY public domain material] from the United States Army Center of Military History document: "ARTICLE". (COMMENT)
{{ {{BASEPAGENAME}} |url=http://www.whitehouse.gov |policy=POLICY |comment=COMMENT |article=ARTICLE |author=AUTHOR}}
  •  This article incorporates [POLICY public domain material] from the United States Army Center of Military History document: AUTHOR. "ARTICLE". (COMMENT)
{{ {{BASEPAGENAME}}|url=http://www.whitehouse.gov |policy=POLICY |comment=COMMENT |article=ARTICLE |author=AUTHOR|accessdate=ACCESSDATE}}
  •  This article incorporates [POLICY public domain material] from the United States Army Center of Military History document: AUTHOR. "ARTICLE". Retrieved ACCESSDATE. Check date values in: |accessdate= (help) (COMMENT)
NO URL {{ {{BASEPAGENAME}}|policy=POLICY |comment=COMMENT |article=ARTICLE |author=AUTHOR|accessdate=ACCESSDATE}}
  •  This article incorporates [POLICY public domain material] from the United States Army Center of Military History document: "Script error: No such module "If empty".". (COMMENT)

Test source=
{{ {{BASEPAGENAME}}|source= |policy=POLICY |comment=COMMENT |article=ARTICLE |author=AUTHOR|accessdate=ACCESSDATE}}
  •  This article incorporates [POLICY public domain material] from the United States Army Center of Military History document: "Script error: No such module "If empty".". (COMMENT)
test source=This is a test string
{{ {{BASEPAGENAME}}|source=This is a test string |policy=POLICY |comment=COMMENT |author=AUTHOR|accessdate=ACCESSDATE}}
  •  This article incorporates [POLICY public domain material] from the United States Army Center of Military History document: This is a test string (COMMENT)
test source={{cite book}}
{{ {{BASEPAGENAME}}|source={{cite book|first=John |last=Smith |title=Battle of Hastings}} |policy=POLICY |comment=COMMENT |author=AUTHOR|accessdate=ACCESSDATE}}
  •  This article incorporates [POLICY public domain material] from the United States Army Center of Military History document: Smith, John. Battle of Hastings. (COMMENT)