Jump to content

Template:Army Center of Military History/testcases

From Wikipedia, the free encyclopedia


  • 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

[edit]
{{ {{BASEPAGENAME}}/sandbox}}


{{ {{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}}
  • Public Domain This article incorporates public domain material from ARTICLE. United States Army Center of Military History.


{{ {{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}}



Test source=
{{ {{BASEPAGENAME}}/sandbox|source= |policy=POLICY |comment=COMMENT |article=ARTICLE |author=AUTHOR|accessdate=ACCESSDATE}}


test source=This is a test string
{{ {{BASEPAGENAME}}/sandbox|source=This is a test string |policy=POLICY |comment=COMMENT |author=AUTHOR|accessdate=ACCESSDATE}}


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}}


Testing main template

[edit]
{{Army Center of Military History}}
{{ {{BASEPAGENAME}}}}
{{ {{BASEPAGENAME}}|url=http://www.whitehouse.gov}}
{{ {{BASEPAGENAME}}|url=http://www.whitehouse.gov}}
{{ {{BASEPAGENAME}}|url=http://www.whitehouse.gov |policy=POLICY}}
{{ {{BASEPAGENAME}}|url=http://www.whitehouse.gov |policy=POLICY |comment=COMMENT}}
{{ {{BASEPAGENAME}}|url=http://www.whitehouse.gov |policy=POLICY |comment=COMMENT}}
{{ {{BASEPAGENAME}}|url=http://www.whitehouse.gov |policy=POLICY |comment=COMMENT |article=ARTICLE}}
{{ {{BASEPAGENAME}} |url=http://www.whitehouse.gov |policy=POLICY |comment=COMMENT |article=ARTICLE |author=AUTHOR}}
{{ {{BASEPAGENAME}}|url=http://www.whitehouse.gov |policy=POLICY |comment=COMMENT |article=ARTICLE |author=AUTHOR|accessdate=ACCESSDATE}}
NO URL {{ {{BASEPAGENAME}}|policy=POLICY |comment=COMMENT |article=ARTICLE |author=AUTHOR|accessdate=ACCESSDATE}}

Test source=
{{ {{BASEPAGENAME}}|source= |policy=POLICY |comment=COMMENT |article=ARTICLE |author=AUTHOR|accessdate=ACCESSDATE}}
test source=This is a test string
{{ {{BASEPAGENAME}}|source=This is a test string |policy=POLICY |comment=COMMENT |author=AUTHOR|accessdate=ACCESSDATE}}
  • Public Domain This article incorporates [POLICY public domain material] from 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}}
  • Public Domain This article incorporates [POLICY public domain material] from Smith, John. Battle of Hastings. (COMMENT).