Bản mẫu này sử dụng Lua: |
Bản mẫu này được sử dụng ở khoảng 5.100 trang, vì thế những thay đổi đến nó sẽ hiện ra rõ ràng. Vui lòng thử nghiệm các thay đổi ở trang con /sandbox, /testcases của bản mẫu, hoặc ở không gian người dùng của bạn. Cân nhắc thảo luận các thay đổi tại trang thảo luận trước khi áp dụng sửa đổi. |
Bản mẫu dùng để chú thích Sách đỏ IUCN.
This template uses {{cite journal}}
to render IUCN Red List citations. It will accept all parameters that are available to {{cite journal}}
though only a few are needed because this template will automatically provide a standardized set of parameters. Data for the parameters that editors need to provide can be found on the appropriate Red List page. The parameters that editors need to provide are:
|title=
; in the form e.T<digits>A<digits>
where <digits>
is one or more of the 0–9
digits{{cite journal}}
see Template:Cite_journal § Authors(errata version published in year)
(amended version of year assessment)
A handy tool for creating these templates is {{make cite iucn}}
.
This template emits a variety of error and maintenance messages.
|doi=
identifier|page=
identifier
|page=
and |doi=
the identifier portion of these parameter values has the form: T<digits>A<digits>
where <digits>
is one or more of the 0–9
digits. The template emits these error messages when the identifier portions of the parameter values do not match the expected form.{{cite journal}}
for rendering. cs1|2 templates are designed to cite single sources. Because IUCN identifiers in |doi=
and |page=
point to individual pages in the IUCN database, all of the identifiers should match. The template emits these errors when the identifiers in a {{Chú thích IUCN}}
template do not match. Caveat lector: regardless of the value assigned to |doi=
(or urls that link to IUCN through the dx.doi.org resolver), doi links are redirected to the most recent assessment, not to the assessment specified in the |doi=
parameter's value. For example, this template taken from Springbok at the time of this writing:
{{Chú thích IUCN |publisher=[[IUCN]] |title=''Antidorcas marsupialis'' |author=IUCN SSC Antelope Specialist Group |year=2016 |volume=2016 |page=e.T1676A115056763 |doi=10.2305/IUCN.UK.2016-3.RLTS.T1676A50181753.en |url=https://www.iucnredlist.org/species/1676/115056763}}
|page=
and |url=
have the same identifiers (to the current version of the assessment) but |doi=
has a different (older identifier) yet clicking the doi-link takes the reader to the current assessment. Rewriting the url value to use the identifier from |doi=
gives working link to the older assessment:
Maintenance messages emitted by this template are normally hidden. To make these maintenance messages visible, include the following text in your common CSS page (common.css) or your specific skin's CSS page (skin.css):
.citation-comment {display: inline !important;} /* display cite iucn maintenance messages (also shows cs1|2 maint messages) */
{{Chú thích IUCN}}
validates the volume information in |volume=
against the volume information in |doi=
and compares these values with the content of |date=
or |year=
. These values should all be the same.{{Chú thích IUCN}}
modifies these old-form urls into a new-form url using identifier data from |page=
or |doi=
, in that order if available. If an identifier is not available, the template will switch from the http
scheme to the https
scheme which will sometimes make a 'dead' old-form url work. When either of these changes is made, the template emits this message. Templates cannot save changes like this to the wiki-text so editors should evaluate the results of these url changes and modify the template's wiki text to remove the url and add |page=
(preferred) and/or |doi=
.{{Chú thích IUCN}}
emits this message when |url=
holds a new-form url. This form of url is acceptable but, for consistency, should be removed so that the template may create the url from |page=
(preferred) and/or |doi=
.|url=
is not recognized as old-, original-, or new-form, the template emits this message. Commonly, such urls are doi links (https://doi.org/10.2305/IUCN...
or https://dx.doi.org/10.2305/IUCN...
). When |url=
holds a doi link, the parameter should be changed to |doi=10.2305/IUCN...
|url=
, |page=
, and |doi=
are all empty or omitted, {{Chú thích IUCN}}
cannot construct a url. To resolve this issue add |page=
(preferred) and/or |doi=
.|title=
has either of these annotations:
(errata version published in year)
– remove this text and add |errata=year
(amended version of year assessment)
– remove this text and add |amends=year
Dữ liệu bản mẫu cho Chú thích IUCN
TemplateData
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Formats a citation of the IUCN Red List of Threatened Species
|