Difference between revisions of "Template:Army Center of Military History/testcases"
Jump to navigation
Jump to search
blackwiki>PBS (←Created page with '{{template test cases notice}} * agency - Built into the template so not required here * url (optional) - URL of reference * policy (optional)...') |
blackwiki>PBS |
||
| Line 11: | Line 11: | ||
== Testing sandbox version == | == Testing sandbox version == | ||
| − | |||
| − | |||
| − | |||
:<code><nowiki>{{ {{BASEPAGENAME}}/sandbox}}</nowiki></code> | :<code><nowiki>{{ {{BASEPAGENAME}}/sandbox}}</nowiki></code> | ||
*{{ {{BASEPAGENAME}}/sandbox}} | *{{ {{BASEPAGENAME}}/sandbox}} | ||
| Line 93: | Line 90: | ||
---- | ---- | ||
;Test source= | ;Test source= | ||
| − | :<code><nowiki>{{ {{BASEPAGENAME}}|source=|policy=POLICY |comment=COMMENT |article=ARTICLE |author=AUTHOR|accessdate=ACCESSDATE}} </nowiki></code> | + | :<code><nowiki>{{ {{BASEPAGENAME}}|source= |policy=POLICY |comment=COMMENT |article=ARTICLE |author=AUTHOR|accessdate=ACCESSDATE}} </nowiki></code> |
| − | *{{ {{BASEPAGENAME}}|source=|policy=POLICY |comment=COMMENT |article=ARTICLE |author=AUTHOR|accessdate=ACCESSDATE}} | + | *{{ {{BASEPAGENAME}}|source= |policy=POLICY |comment=COMMENT |article=ARTICLE |author=AUTHOR|accessdate=ACCESSDATE}} |
| + | |||
| + | ;test source=This is a test string | ||
| + | :<code><nowiki>{{ {{BASEPAGENAME}}|source=This is a test string |policy=POLICY |comment=COMMENT |author=AUTHOR|accessdate=ACCESSDATE}} </nowiki></code> | ||
| + | *{{ {{BASEPAGENAME}}|source=This is a test string |policy=POLICY |comment=COMMENT |author=AUTHOR|accessdate=ACCESSDATE}} | ||
| − | :<code><nowiki>{{ {{BASEPAGENAME}}|source= | + | ;test source={{tl|cite book}} |
| − | *{{ {{BASEPAGENAME}}|source= | + | :<code><nowiki>{{ {{BASEPAGENAME}}|source={{cite book|first=John |last=Smith |title=Battle of Hastings}} |policy=POLICY |comment=COMMENT |author=AUTHOR|accessdate=ACCESSDATE}} </nowiki></code> |
| + | *{{ {{BASEPAGENAME}}|source={{cite book|first=John |last=Smith |title=Battle of Hastings}} |policy=POLICY |comment=COMMENT |author=AUTHOR|accessdate=ACCESSDATE}} | ||
Revision as of 17:11, 22 November 2011
| 42px | This is the template test cases page for the sandbox of Template:Army Center of Military History. Script error: No such module "Purge". to update the examples. If there are many examples of a complicated template, later ones may break due to limits in MediaWiki, see the HTML comment "NewPP limit report" in the rendered page. You can also use Special:ExpandTemplates to examine the results of template uses. You can test how this page looks in the different skins with these links: |
- 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}}
- 12px 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}}
- 12px This article incorporates public domain material from the United States Army Center of Military History website http://www.whitehouse.gov.
{{ {{BASEPAGENAME}}/sandbox |url=http://www.whitehouse.gov}}
- 12px This article incorporates public domain material from the United States Army Center of Military History website http://www.whitehouse.gov.
{{ {{BASEPAGENAME}}/sandbox |url=http://www.whitehouse.gov |policy=POLICY}}
- 12px This article incorporates public domain material from the United States Army Center of Military History website http://www.whitehouse.gov.
{{ {{BASEPAGENAME}}/sandbox|url=http://www.whitehouse.gov |policy=POLICY |comment=COMMENT}}
- 12px This article incorporates public domain material from the United States Army Center of Military History website http://www.whitehouse.gov.
{{ {{BASEPAGENAME}}/sandbox|url= |policy=POLICY |comment=COMMENT}}
- 12px This article incorporates public domain material from the United States Army Center of Military History website http://www.whitehouse.gov.
{{ {{BASEPAGENAME}}/sandbox|url=http://www.whitehouse.gov |policy=POLICY |comment=COMMENT |article=ARTICLE}}
- 12px 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}}
- 12px This article incorporates public domain material from the United States Army Center of Military History document: AUTHOR. "ARTICLE".
- NO URL
{{ {{BASEPAGENAME}}/sandbox|policy=POLICY |comment=COMMENT |article=ARTICLE |author=AUTHOR|accessdate=ACCESSDATE}}
- 12px 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}}
- 12px 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}}
- 12px 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}}
- 12px 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}}
- 12px This article incorporates public domain material from websites or documents of the United States Army Center of Military History.
{{ {{BASEPAGENAME}}}}
- 12px 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}}
- 12px This article incorporates public domain material from the United States Army Center of Military History website http://www.whitehouse.gov.
{{ {{BASEPAGENAME}}|url=http://www.whitehouse.gov}}
- 12px This article incorporates 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}}
- 12px 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}}
- 12px 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}}
- 12px 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}}
- 12px 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}}
- 12px 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}}
- 12px 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}}
- 12px 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}}
- 12px 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}}
- 12px 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}}
- 12px This article incorporates [POLICY public domain material] from the United States Army Center of Military History document: Smith, John. Battle of Hastings. (COMMENT)