模板:DGRG/doc
![]() | 此页面是Template:DGRG的模板文档。 此页面可能包含了模板的使用说明、分类和其他内容。 |
用法
编辑This template indicates that an article incorporates text from the third edition Dictionary of Greek and Roman Geography, which is now in the public domain.
摘要
编辑The template can be placed in different locations and depending on the what it is required the parameters can be mixed and matched:
格式 | 样例 | 注释 |
---|---|---|
{{DGRG|wstitle=DGRG article name}} | ![]() |
如果该文章存在于维基文库,则使用wstitle=文章篇名,否则请使用title=文章篇名 |
{{DGRG|title=|url=|first=|last=|pages=}} | ![]() |
当使用title而非wstitle时,可用url参数链接到文章的外部页面,first、last分别为文章作者的名和姓,volume和page [number]s分别是卷目和页码。 |
Detailed notes
编辑This template is wrapper around {{cite DGRG}}. In its default mode it attributes text to an article from the third edition of the Dictionary of Greek and Roman Geography.
This template calls {{cite DGRG}} that automatically sets some of the parameters passed for example "publisher = John Murray". Over and above the standard parameter passed into {{cite DGRG}} there are some additional parameters and those are listed below in a separate table from the table of parameters passed into {{cite encyclopedia}}.
Minimum is:{{DGRG|title=DGRG article name}} or {{DGRG|wstitle=DGRG article name}}.
Full set is:{{DGRG |wstitle= |inline=| noicon= |no-prescript= |author= |last= |first= |authorlink= |coauthors= |title= |url= |accessdate= |volume= |page= |pages=}}
Parameter | Note |
---|---|
wstitle=维基文库中的文章名称 | 如果填写该参数,则会链接到英文维基文库《Dictionary of Greek and Roman Geography》(希腊罗马地理学辞典)的同名篇目,title和url参数亦会失效 |
inline=1 | 将“本条目有内容出自公有领域”改为"上文中一或多个句子有内容出自公有领域" |
noicon=1 | 隐去起始处的图标 |
no-prescript=1 | 隐去起始处的引用公有领域文字声明 |
Parameter | Set to | Notes |
---|---|---|
last= | author= or last= | If author= and last= are set the value of last= is used. |
first= | first= | Set to the value of first= or not set |
authorlink= | authorlink= | Set to the value of authorlink= or not set |
coauthors= | coauthors= | Unlikely to be needed but can be set |
editor-first= | William | Automatically set within the template |
editor-last= | Smith | Automatically set within the template |
editor-link= | William Smith (lexicographer) | Automatically set within the template |
encyclopedia= | Dictionary of Greek and Roman Geography | Automatically set within the template |
title= | wstitle= or title= | Set to wstitle= if set, if not to title= if set, if not set then left blank. |
url= | url= | Set to the value of url= unless wstitle= is set in which case it is not set. |
accessdate= | accessdate= | Set to the value of accessdate= or not set |
language= | Not set | |
edition= | third | Automatically set within the template |
date= | Not set (see year) | |
year= | 1911 | Automatically set within the template |
month= | Not set | |
publisher= | John Murray | Automatically set within the template |
volume= | volume= | Set to the value of volume= or not set |
location= | London | Automatically set within the template |
id= | Not set | |
isbn= | Not set | |
oclc= | Not set | |
doi= | Not set | |
page= | page= | Set to the value of page= or not set |
pages= | pages= | Set to the value of pages= or not set |
quote= | Not set | |
ref= | harv | Automatically set within the template. It means that {{sfn}} and {{harvnb}} link to this template. (If you need to ask don't worry about it) |
Hidden categories
编辑This template adds the category Category:Wikipedia articles incorporating text from the DGRG to the articles it is used in.
The template calls {{Cite DGRG}} and depending on the parameters used it also adds the following hidden categories:
- Category:Wikipedia articles incorporating a citation from the DGRG with no article parameter
- Category:Wikipedia articles incorporating a citation from the DGRG without Wikisource reference
- Category:Wikipedia articles incorporating a citation from the DGRG with Wikisource reference
For an overview group category of the above see:Category:Wikipedia articles incorporating a citation from the DGRG
See also
编辑- {{Cite DGRG}}—called by template.
Notes
编辑