跳至內容

模板: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

[編輯]