模板:Cascite/doc
此页面是Template:Cascite的模板文档。 此页面可能包含了模板的使用说明、分类和其他内容。 |
此模板文档被引用于约11,000个页面。 为了避免造成大规模的影响,所有对此模板文档的编辑应先于沙盒、测试样例或您的沙盒上测试。 测试后无误的版本可以一次性地加入此模板文档中,但是修改前请务必于讨论页发起讨论。 模板引用数量会自动更新。 |
使用方法
[编辑]用于{{Chembox Identifiers}}的引用模板。
By {{Chembox}} and {{Drugbox}} settings, a bot checks articles for parameter validation. The bot then adds and sets templates like {{cascite}} to the article. Depending on the template settings, articles are categorized for maintenance.
- Usage
Depending on the earlier data checks, the template will be marked "correct" or "changed" (i.e., to be checked). 'changed' articles are categorized.
For example, when parameter |CASNo=
is changed in the article, the bot sets |CASNo_Ref={{cascite|changed|??}}
initially. See WP:WikiProject Chemicals/Chembox validation.
template | Verified fields (parameter) | Category 'changed' | default source |
{{Chembox}} conforms |
{{Drugbox}} conforms |
---|---|---|---|---|---|
{{cascite}} | |CASNo= |CAS_number= |
changed CAS number | CAS | ||
{{ebicite}} | |ChEBI= , |ChEMBL= |
changed EBI identifier | EBI | ||
{{chemspidercite}} | |ChemSpiderID= |
changed ChemSpider identifier | ChemSpider | ||
{{drugbankcite}} | |DrugBank= |
changed DrugBank identifier | DrugBank | ||
{{keggcite}} | |KEGG= |
changed KEGG identifier | KEGG | ||
{{stdinchicite}} | |StdInChI= , |StdInChIKey= ,|InChIKey= , |InChI= |
changed InChI identifier | ChemSpider | ||
{{fdacite}} | |UNII= |
changed FDA identifier | FDA | ||
{{chemboximage}} | |ImageFile[L/R]= |
changed Chembox image file | (none) | N/A | |
{{drugboximage}} | not existing, not used | (none) | N/A |
- Added by the bot (
_Ref=cite
templates)
The bot-template is added as input for a purpose-added parameter:
|CASNo=1234-56-7
(editors input)|CASNo_Ref={{cascite|...|...}}
(bot parameter added + template set)
Initially the parameters are set {{cascite|changed|??}}
The primary parameter can have an index (see its documentation):
|CASNo3=1234-56-7
|CASNo3_Ref={{cascite|...|...}}
Indexed parameters like |CASNo1=
and |CASNo2=
are verified too, and are treated independently. So an article can have: |CASNo={{cascite|correct|CAS}}
and |CASNo3={{cascite|changed}}
.
- Data 'correct' or 'changed' (parameter #1)
The first parameter is either correct
or changed
always: {{cascite|correct|CAS}}
. Cross-marked articles are categorized as 'changed'. With any other text like monkey
, again the cross is shown and the article is categorized, now sorted under "?".
- Correct by source (parameter #2)
Initially, the bot sets this to |??
(='source unknown').
Parameter #2 has the source that confirms the statement. By confirmation, the parameter can mention the confirming source. When that source is not the standard (as listed above), the input source is mentioned in a superscript linked:
|CASNo_Ref={{cascite|correct|CDC85}}
→ 1234-56-7 [CDC85]
This source name is case-insensitive: CAS=cas.
- Known issues (February 2015)
- {{chemboximage}} is applied by the bot, but not read by the template (article won't show up in the category).
- See also
- {{Chembox}}