Template talk:Cite WoRMS
![]() | This template does not require a rating on Wikipedia's content assessment scale. It is of interest to the following WikiProjects: | |||||||
|
![]() | This template is a Citation Style 1 specific-source template based on {{Cite web}}. For centralised Citation Style 1 discussions, see Help talk:Citation Style 1. |
2011
[edit]Thank you for creating this template! I will start using it beginning today. bondolo (talk) 17:29, 8 December 2011 (UTC)
AlgaeBase
[edit]The template did say ask. :P So I'm requesting AlgaeBase to be included. Thanks!-- OBSIDIAN†SOUL 14:34, 6 February 2012 (UTC)
CS1-style parameters
[edit]If the authors are to be included (and looking at some current entries on WoRMS I'm not actually sure they ought to be—most seem to just cite "WoRMS" as the "author") should we not be using {{{firstn}}} and {{{lastn}}} properly, so as to generate proper COinS data? —Phil | Talk 10:58, 30 April 2014 (UTC)
Usage
[edit]What does this statement mean?
To use as an external link, omit the accessdate= field.
KaiKemmann (talk) 01:57, 29 March 2018 (UTC)
- @KaiKemmann: leaving out
|accessdate=
makes the template generate an acceptable #External links entry. The only difference is that it doesn't display the access date, which isn't necessary for an external link as no information is being cited.- Bailly, Nicolas (2017). Bailly N (ed.). "Teleostei". FishBase. World Register of Marine Species. Retrieved 31 March 2018.
- And without:
- Bailly, Nicolas (2017). Bailly N (ed.). "Teleostei". FishBase. World Register of Marine Species.
- I'm not really sure the authors/editors are necessary though for an external link… I prefer to write it as "Teleostei at the World Register of Marine Species" or something similar. Rhinopias (talk) 21:07, 31 March 2018 (UTC)
- Thank you for your examples, Rhinopias.
- Although now I have to ask what you mean by "generate an acceptable #External links entry".
- In your examples "Teleostei" is obviously displayed as an external link by the template. But to me this links appears exactly the same way in all three of your examples.
- Also the "accessdate=" seems to make sense mostly only when used together with an external link.
- Since printed sources do not change over time as references on the web often do, they should not really need to be accompanied by the accessdate statement.
- best regards, KaiKemmann (talk) 00:38, 1 April 2018 (UTC)
- My use and the template doc's use of "external link" is referring to the section for external links in articles—WP:ELCITE—and not saying that the link to the WoRMS page being cited is an external link. (It is, of course, but this: Fish#External links.) Rhinopias (talk) 22:09, 1 April 2018 (UTC)
- Ah, thanks for clarifying.
- I changed the description of the template in order to help others understand the context.
- best regards, KaiKemmann (talk) 23:57, 15 April 2018 (UTC)
- My use and the template doc's use of "external link" is referring to the section for external links in articles—WP:ELCITE—and not saying that the link to the WoRMS page being cited is an external link. (It is, of course, but this: Fish#External links.) Rhinopias (talk) 22:09, 1 April 2018 (UTC)
sandbox
[edit]Because someone wrote this template:
{{cite WoRMS |author=R.W.M. van Soest et al. |year=2018 |title=Amphilectus Vosmaer, 1880|id=131933|accessdate=2018-10-17|db=}}
which improperly includes an explicit 'et al.' in |author=
, I removed the explicit 'et al.' and added |display-authors=etal
. That did not work. I came to this template to see how that should be fixed. The simple solution would have been to just add:
|display-authors={{{display-authors|}}}
Instead, in the sandbox I rewrote the template to use Module:template wrapper so that any and all {{cite web}}
parameters may be used with {{cite WoRMS}}
. As part of that, I removed the case-sensitive switch test-values from the |work=
and |veditors=
parameters by forcing the switches to use lowercase versions of the value assigned to |db=
.
Compare these live and sandbox versions of the rewritten example template above to which I have added |display-authors=etal
, |display-editors=0
, and |db=Porifera
:
{{cite WoRMS |author=R.W.M. van Soest |display-authors=etal |year=2018 |title=Amphilectus Vosmaer, 1880|id=131933|accessdate=2018-10-17|db=Porifera |display-editors=0}}
- R.W.M. van Soest, et al. (2018). "Amphilectus Vosmaer, 1880". World Porifera database. World Register of Marine Species. Retrieved 2018-10-17.
{{cite WoRMS/sandbox |author=R.W.M. van Soest |display-authors=etal |year=2018 |title=Amphilectus Vosmaer, 1880|id=131933|accessdate=2018-10-17|db=Porifera |display-editors=0}}
- R.W.M. van Soest, et al. (2018). "Amphilectus Vosmaer, 1880". World Porifera database. World Register of Marine Species. Retrieved 2018-10-17.
If there are no objections, I shall update the live template to use the code in the sandbox.
—Trappist the monk (talk) 12:03, 10 February 2019 (UTC)
There having been no objection, the live template is updated.
—Trappist the monk (talk) 11:39, 17 February 2019 (UTC)
- I played around with the sandbox a bit, but I don't know of an elegant way to fix the 100 or so templates that are using
|author1=
. The brute force method would be to edit all of those templates to change author1= to author=, and that is probably the best thing to do, but if Trappist the monk has a cleverer way, I'm open to it. – Jonesey95 (talk) 10:58, 20 February 2019 (UTC)- Does this do what you want?
|{{#if:{{{author|}}}{{{author1|}}}|author={{{author|{{{author1|}}}}}}|author=WoRMS}}
- There is also an issue with
{{Taxonomy/Rhombosoleinae}}
(there may be others) where that template uses|editor=
but{{cite WoRMS}}
sets|veditors=
according to|db=
. This can be 'fixed' by adding 'editor' to|_exclude=
though perhaps the better fix is to fix{{Taxonomy/Rhombosoleinae}}
so that it doesn't use|editor=
. - —Trappist the monk (talk) 11:48, 20 February 2019 (UTC)
- Thanks, that new code appears to work fine. As for the editors, the template sets the editor based on
|db=
, so I removed the redundant editor parameter from a few dozen Taxonomy template. All cleaned up now, as far as I can tell. – Jonesey95 (talk) 20:54, 25 February 2019 (UTC)
- Thanks, that new code appears to work fine. As for the editors, the template sets the editor based on
- Does this do what you want?
did not updated correctly for multiple authors on Iais pubescens
[edit]see reference 1 on Iais pubescens, it contains more than one author. instead of creating multiple authors, it created single entry, resulting in cs1 error. ideally i would prefer seperate entry for authors, editors, contributors, etc.. Leela52452 (talk) 03:39, 10 February 2020 (UTC)
- For more than one author, use
|author2=
,|author3=
, etc. – Jonesey95 (talk) 05:01, 10 February 2020 (UTC)
Template-protected edit request on 15 May 2022
[edit]![]() | This edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
Please use SSL (i.e. change http:// to https://). Using HTTP automatically redirects to HTTPS, so we should bypass the redirect and keep the outbound traffic secure. Logan Talk Contributions 21:56, 15 May 2022 (UTC)
Done – Jonesey95 (talk) 03:04, 16 May 2022 (UTC)
Add DecaNet to the list of databases
[edit]Per the title, can DecaNet: World List of Decapoda be added to the database list? Thank you, —Carter (Tcr25) (talk) 12:49, 21 June 2023 (UTC)
db add request
[edit]@Jonesey95: Please add Ascothoracida as a db value for World Ascothoracida database. Thanks! - UtherSRG (talk) 18:19, 25 October 2023 (UTC)
- The template also provides editor information automatically. Can you please link to a sample page so that I can add editor information? – Jonesey95 (talk) 18:29, 25 October 2023 (UTC)
- Dendrogaster antarctica is the article where I wrapped a ref in {{cite WoRMS}}. Good enough? - UtherSRG (talk) 18:32, 25 October 2023 (UTC)
- @Jonesey95: Sorry, I should have pinged you when I replied. - UtherSRG (talk) 21:02, 25 October 2023 (UTC)
- I think I've got it set up. Does it look right to you in that article? – Jonesey95 (talk) 21:35, 25 October 2023 (UTC)
- Perfect! Thanks! - UtherSRG (talk) 00:47, 26 October 2023 (UTC)
- I think I've got it set up. Does it look right to you in that article? – Jonesey95 (talk) 21:35, 25 October 2023 (UTC)
- @Jonesey95: Sorry, I should have pinged you when I replied. - UtherSRG (talk) 21:02, 25 October 2023 (UTC)
- Dendrogaster antarctica is the article where I wrapped a ref in {{cite WoRMS}}. Good enough? - UtherSRG (talk) 18:32, 25 October 2023 (UTC)