User:Peter coxhead/Useful templates

From Wikipedia, the free encyclopedia

Misc[edit]

Date formats[edit]

  • {{Use dmy dates|cs1-dates=ly|date=May 2021}}
  • {{Use dmy dates|date=May 2021}}
  • BSBI List 2007. Botanical Society of Britain and Ireland. Archived from the original (xls) on 2020-09-24. Retrieved 2021-02-19.
  • BSBI List 2007. Botanical Society of Britain and Ireland. Archived from the original (xls) on 24 September 2020. Retrieved 19 February 2021.
  • 2021-02-12: 2021-02-12
  • 2021-02: not YYYY-MM-DD

Citations[edit]

  • Web {{Citation |title=TITLE |work=WORK |url=URL |access-date=ACCESSDATE }} – can use |website= in place of |work= but need one or the other
Example: {{Citation |title=''Lophospermum erubescens'' D.Don |work=The Plant List |url=http://www.theplantlist.org/tpl1.1/record/kew-2498793 |access-date=2014-07-14 }} → "Lophospermum erubescens D.Don", The Plant List, retrieved 2014-07-14
  • 3 level books {{citation |contribution=CONTRIBUTION |title=TITLE |encyclopedia=ENCYCLOPEDIA}} – can use |section= or |chapter= instead of |contribution=
Example: {{citation |contribution=CONTRIBUTION |title=TITLE |encyclopedia=ENCYCLOPEDIA |contribution-url=http://somewebsite.com}} → "CONTRIBUTION", TITLE, ENCYCLOPEDIA
  • 3 level other than book has to be done manually. <ref name=Smit18><span id="CITEREFSmith_2018" class="citation">Smith, A. (2018), "CONTRIBUTION", "TITLE", ''WORK'' '''VOL''', 000–000</span></ref>
Example: <ref name=Trau72><span id="CITEREFTrautvetter_1872" class="citation">Trautvetter, E.R. von (1872), "[https://biodiversitylibrary.org/page/14573166 60. Pyrethrum lavandaefolium Fisch]", "[https://biodiversitylibrary.org/page/14573152 Catalogus Plantarum anno 1870 ab Alexio Lomonossowio in Mongolia orientali lectarum]", ''Trudy Imperatorskago S.-Peterburgskago Botaniceskago Sada'' '''1''' (2): 167–195, retrieved 2020-02-25</span></ref> → [1]
  • {{subst:#tag:ref|{{WCSP |ID |TITLE |access-date = {{subst:CURRENTYEAR}}-{{subst:CURRENTMONTH}}-{{subst:CURRENTDAY2}} |mode=cs2}}|name=WCSP_ID }} [2]

References

  1. ^ Trautvetter, E.R. von (1872), "60. Pyrethrum lavandaefolium Fisch", "Catalogus Plantarum anno 1870 ab Alexio Lomonossowio in Mongolia orientali lectarum", Trudy Imperatorskago S.-Peterburgskago Botaniceskago Sada 1 (2): 167–195, retrieved 2020-02-25
  2. ^ "TITLE", World Checklist of Selected Plant Families (WCSP), Royal Botanic Gardens, Kew, retrieved 2018-03-29

Notes with refs in them[edit]

In the text put <ref group=note name=note1/>[note 1] Then at the end put

{{reflist|group=note|refs=
{{#tag:ref|TEXT.<ref name=Will2004o/>|group=note|name=note1}}
}}

Notes

  1. ^ TEXT.[1]

See Chrysanthemum lavandulifolium for an example note about the ae/i issue.

Manual[edit]

Can create a reference using <ref name=Will2004o><span id="CITEREFWilliams2004_onwards" class="citation">Williams, N. (2004 onwards), "Chapter", in [[#CITEREFSmithBrownWhite2004_onwards|Smith, Brown & White (2004 onwards)]]</span></ref>.[1]

Then use it again in the normal way, i.e. via the ref name as this does.[1]

The advantage of the "CITEREF" bit is that {{sfnp}} then works via {{sfnp|ps=|Williams|2004 onwards}}[2] and {{sfnp|ps=|Smith|Brown|White|2004 onwards}}.[3]

References

  1. ^ a b c Williams, N. (2004 onwards), "Chapter", in Smith, Brown & White (2004 onwards)
  2. ^ Williams & 2004 onwards
  3. ^ Smith et al.

Bibliography[edit]

  • Smith, John; Brown, N. & White, P. (2004 onwards), Some book [source = <span id="CITEREFSmithBrownWhite2004_onwards" class="citation">Smith, John; Brown, N. & White, P. (2004 onwards), <i>Some book</i></span>]

Other templates[edit]

Language templates[edit]

  • [[Ancient Greek|Greek]] {{lang|grc|τρηχαλέος}} → Greek τρηχαλέος
  • [[Ancient Greek|Greek]] {{lang|grc|μίνθα}}, {{transl|grc|míntha}} → Greek μίνθα, míntha
  • {{etymology|grc|''μίνθα,'' míntha}} → from Ancient Greek μίνθα, míntha
  • {{etymology|grc|''δεινός'' (deinos)|terrible, powerful, wondrous|<!--grc-->|''σαῦρος'' (sauros)|lizard}} → from Ancient Greek δεινός (deinos) 'terrible, powerful, wondrous', and σαῦρος (sauros) 'lizard'
  • [[Latin]] ''{{lang|la|coccineus}}'' → Latin coccineus

Others[edit]

  • <ref name=POWO_GENUS>{{Cite web |title=Search for 'GENUS' |website=Plants of the World Online |publisher=Royal Botanic Gardens, Kew |url=https://powo.science.kew.org/results?q=GENUS |access-date=2024-03-17}}</ref>

See below for redirect categorization.

Misc
{{db-g7|rationale=deletion rationale}} to delete my user pages or pages only I have edited
{{subst:proposed deletion|reason=reason}} propose for deletion in 7 days
<noinclude>{{Db-t3|~~~~~ |other template}}</noinclude> propose deletion of duplicate templates (e.g. taxonomy templates at English name)
{{Done|Optional message}}  Optional message
{{diff|PAGETITLE|next|OLDID|LINKEDTEXT}} Creates a link for a diff between OLDID version of an article and the next version.
{{oldid|PAGETITLE|OLDID|LINKEDTEXT}} Creates a link to an old version of an article
{{refn|group=note|name=OPTIONAL|FOOTNOTE_TEXT}} Footnote which allows a reference to be included in it
{{under construction |placedby=Peter coxhead |section=yes |notready=yes }} message at top of article/section
{{lang|la|Latin text}} – {{lang|grc|Ancient Greek text}} Mark Latin and Ancient Greek text

{{multiple image|caption_align=center|header_align=center
|align=right |total_width=600
|width1=W1 |height1=H1 |image1=IMAGE1
|caption1=CAPTION1 |alt1=
|width2=W2 |height2=H2 |image2=IMAGE2
|caption2=CAPTION2 |alt2=
|width3=W3 |height3=H3 |image3=IMAGE3
|caption3=CAPTION3 |alt3=
|footer=
}}

auto height images
English varieties
{{American English}} message at top of talk page; add |form=editnotice for an edit notice
{{British English}} message at top of talk page; add |form=editnotice for an edit notice
{{British English Oxford spelling}} and {{Use British (Oxford) English|date=DATE}} message at top of talk page; add |form=editnotice for an edit notice
Referencing, improvements needed
{{Unreferenced}}, {{Unreferenced|section}} article/section has no sources/references/citations given at all
{{Refimprove}}, {{Refimprove|section}} article/section has weak or incomplete sources/references/citations
{{No footnotes}}, {{No footnotes|section}} This article includes a list of references, related reading or external links, but its sources remain unclear because it lacks inline citations. Please improve this article by introducing more precise citations.
{{More footnotes}}, {{More footnotes|section}} This article includes a list of references, but its sources remain unclear because it has insufficient inline citations. Please help to improve this article by introducing more precise citations.
{{howto|section|date=DATE}} This section contains instructions, advice, or how-to content. The purpose of Wikipedia is to present facts, not to train. Please help improve this article either by rewriting the how-to content or by moving it to Wikiversity or Wikibooks. (DATE)
GST
{{subst:User:Peter coxhead/GST|TERM}} generates wikilink for TERM in Glossary of spider terms
{{subst:User:Peter coxhead/GST|TERM|TEXT}} same but shows TEXT rather than TERM
GCDsp
{{subst:#invoke:Sandbox/Peter coxhead/Refgen|GCDsp| SPECIES | AUTH | ID }}
{{subst:#invoke:Sandbox/Peter coxhead/Refgen|GCDsp| SPECIES | AUTH | ID |cs2}}
generates ref for species in the Global Compositae Database
IFPNI
{{subst:User:Peter coxhead/IFPNI |taxon=TAXON |id=ID}}
{{subst:User:Peter coxhead/IFPNI |taxon=TAXON |id=ID |rank=RANK |mode=cs2}}
generates ref for taxon in IFPNI
IPNI
{{subst:#invoke:Sandbox/Peter coxhead/Refgen|IPNI| TAXON | AUTH | ID }}
{{subst:#invoke:Sandbox/Peter coxhead/Refgen|IPNI| TAXON | AUTH | ID |cs2}}
uses {{IPNI}} to generate ref for genus or species in IPNI
IPNI & IPNI1
{{subst:User:Peter coxhead/IPNI|genus=GENUS|species=SPECIES|style=comma}} generates ref for a search for a species name in IPNI
{{subst:User:Peter coxhead/IPNI|genus=GENUS|style=comma}} generates ref for a search for a genus (or higher taxon) name in IPNI
{{subst:User:Peter coxhead/IPNI1|taxon=TAXON|auth=AUTH|id=ID|style=comma}} generates ref for a single taxon in IPNI based on its ID
{{subst:User:Peter coxhead/IPNI1|taxon=TAXON|id=ID|style=comma}} generates ref for a single taxon in IPNI based on its ID; AUTH omitted
<ref name=IPNI_ID>{{IPNI |mode=cs1 |taxon=TAXON |authority=AUTH |id=ID |access-date=2024-05-04}}</ref> uses {{IPNI}}
GRIN
<ref name=GRIN_ID>{{GRIN |mode=cs1 |name=''TAXON'' AUTH |id=ID |access-date=2024-05-04}}</ref> uses {{GRIN}}
GRINgen
{{subst:User:Peter coxhead/GRINgen |taxon=GENUS |auth=AUTH |id=ID }}
{{subst:User:Peter coxhead/GRINgen |taxon=GENUS |auth=AUTH |id=ID |mode=cs2}}
generates ref for genus in GRIN Taxonomy
POWO
{{subst:#invoke:Sandbox/Peter coxhead/Refgen|POWO| TAXON | AUTH | ID }}
{{subst:#invoke:Sandbox/Peter coxhead/Refgen|POWO| TAXON | AUTH | ID |cs2}}
uses {{Cite POWO}} to generate ref for genus or species in PoWO
POWO
{{subst:User:Peter coxhead/POWO|taxon=TAXON|auth=AUTH|id=ID|style=comma}} generates ref for a single taxon in Plants of the World Online
World Ferns
{{subst:User:Peter coxhead/World Ferns|taxon=TAXON}}
{{subst:User:Peter coxhead/World Ferns|taxon=TAXON|mode=cs1|access-date=2024-05-04}}
generates ref for a taxon in CFLW at present
APweb
{{subst:User:Peter coxhead/APweb|title=TITLE|url=URL|style=comma}}
{{subst:User:Peter coxhead/APweb|title=TITLE|url=URL|access-date=2024-05-04|style=comma}}
generates ref for a page in APweb
Flora of North America
{{subst:User:Peter coxhead/FNA|first1=FIRST1|last1=LAST1|taxon=TAXON|id=ID|style=comma}}
{{subst:User:Peter coxhead/FNA|first1=FIRST1|last1=LAST1|first2=FIRST2|last2=LAST2|taxon=TAXON|id=ID|style=comma}}
{{subst:User:Peter coxhead/FNA|first1=FIRST1|last1=LAST1|first2=FIRST2|last2=LAST2|first3=FIRST3|last3=LAST3|taxon=TAXON|id=ID|style=comma}}
generates ref for taxon in the Flora of North America
Flora of China
{{subst:User:Peter coxhead/FoC|first1=FIRST1|last1=LAST1|taxon=TAXON|id=ID|style=comma}}
{{subst:User:Peter coxhead/FoC|first1=FIRST1|last1=LAST1|first2=FIRST2|last2=LAST2|taxon=TAXON|id=ID|style=comma}}
{{subst:User:Peter coxhead/FoC|first1=FIRST1|last1=LAST1|first2=FIRST2|last2=LAST2|first3=FIRST3|last3=LAST3|taxon=TAXON|id=ID|style=comma}}
generates ref for taxon in the Flora of China
{{Cite WoRMS}}
<ref>{{cite WoRMS |mode=cs1 |title= |year= |id= |access-date=2024-05-04 }}</ref> generates ref for taxon in WoRMS
{{Tropicos}}
<ref name=Tropicos_ID>{{Tropicos|mode=cs1|ID|TAXON|AUTH|access-date=2024-05-04 }}</ref> generates ref for taxon in Tropicos
  Redirect to:
English name Scientific name
Redirect from: English name various depending on reason:
{{R from modification}} for variant punctuation, etc.
{{R from alternative name}}
{{R to scientific name|plant}}
Scientific name {{R from scientific name|plant}} {{R from alternative scientific name|plant}}

Commons[edit]