跳转到内容

Template:Include-USGov/doc

维基百科,自由的百科全书

This template is designed to be a meta-template, used to construct U.S. Government attribution message templates like {{USGS}} and {{Marine Corps}}. It could be used directly in an article.

Parameters

[编辑]
  • agency (required) - name of agency (or reference source) that produced material
  • policy (optional) - URL of re-use policy of agency or reference source
  • comment (optional) - free field that produces parenthesized comment at end
  • url (optional) - URL of reference
  • article (optional) - the title of the reference
  • author (optional) - author of reference
  • accessdate (optional) - date page last checked

使用

[编辑]
原始碼 使用結果 註解
{{Include-USGov

|agency=United States Department}}

 本条目引用的公有领域材料来自United States Department的网站或文档。 Minimal usage: templates that call this one should pass in optional arguments.
{{Include-USGov

|agency=United States Department
|policy=http://www.agency.gov/policy.html}}

 本条目引用的公有领域材料来自United States Department的网站或文档。 Replace internal wikilink about generic re-use to specific agency policy
{{Include-USGov

|agency=United States Department
|comment=註解可以有[[鏈接|鏈結]]}}

 本条目引用的公有领域材料来自United States Department的网站或文档 (comment can have links)。 comment is a free field that produces a parenthesized comment at end
{{Include-USGov

|agency=United States Department
|url=http://www.agency.gov/}}

 本条目引用的公有领域材料来自United States Department的网站或文档。 Agency name becomes external link
{{Include-USGov

|agency=United States Department
|article=Reference document}}

 本条目引用的公有领域材料来自United States Department的文档 《Reference document》。 With article argument, template refers to specific document
{{Include-USGov

|agency=United States Department
|article=Reference document
|url=http://www.agency.gov/doc.html}}

 本条目引用的公有领域材料来自United States Department的文档《Reference document》 With article argument, url becomes external link to specific document
{{Include-USGov

|agency=United States Department
|article=Reference document
|url=http://www.agency.gov/doc.html
|author=John Q. Public}}

 本条目引用的公有领域材料来自United States Department的文档《Reference document》 作者 John Q. Public。 Author can be added for use in inline citation
{{Include-USGov

|agency=United States Department
|article=Reference document
|url=http://www.agency.gov/doc.html
|accessdate=2008-08-08}}

 本条目引用的公有领域材料来自United States Department的文档《Reference document》 (查询于2008-08-08)。 Accessdate can be added, also
{{Include-USGov

|agency=United States Department
|policy=http://www.agency.gov/policy.html
|article=Reference document
|url=http://www.agency.gov/doc.html
|author=John Q. Public
|accessdate=2008-08-08
|comment=comment can have [[link]]s}}

 本条目引用的公有领域材料来自United States Department的文档《Reference document》 作者 John Q. Public (查询于2008-08-08) (comment can have links)。 All parameters can work together

參見

[编辑]
  • Sandbox for experimental edits
  • Test to see if experiments worked

Templates created using Include-USGov

[编辑]