Template talk:Cnote2

Currently the template system only allows a one directional flow from either the inline template to the footnote, or from the footnote to the inline template. T…

Template talk:Cnote2

Multiple targets

Currently the template system only allows a one directional flow from either the inline template to the footnote, or from the footnote to the inline template. The <reference /> tag allows for the footnote to flow to multiple inline templates. This can be done here as well, with a few more parse functions. I'm planning on adding a second parameter in the {{Cref2}} template to allow the editors to assign a custom "id" to that specific inline note, and a for the {{Cnote2}} template to be able to target multiple inline notes. ChyranandChloe (talk) 05:03, 11 May 2009 (UTC)Reply

 Done ChyranandChloe (talk) 06:21, 13 May 2009 (UTC)Reply

Something wrong when n > 2?

Please take a look at the article Enlargement of the United Nations. When n=3, it gives me 4 back links, and when n=4, the back links don't get displayed. Chanheigeorge (talk) 09:24, 9 September 2009 (UTC)Reply

Discussion copied and paste from [1]


Sorry, was on wikibreak, it should be fixed now.[2] If the changes are not immediately apparent, please remember to purge the page cache. If an error remains, I'm interested. Also, added a new feature, value= to allow you to for example change the sequence of the list. For example, by default it'll go 1, 2, 3, 4, 5. If you apply the value=4 on the third item, it'll then count 1, 2, 4, 5, 6. Thanks for the note. :) ChyranandChloe (talk) 23:38, 19 September 2009 (UTC)Reply
Thanks for your fix! But I notice that every note now becomes "A" at the Notes section. Chanheigeorge (talk) 05:10, 20 September 2009 (UTC)Reply
I'm not sure I understand, 'every note now becomes "A"'? It looks like it works to me. ChyranandChloe (talk) 05:17, 20 September 2009 (UTC)Reply
Every note now becomes "A. ...". Chanheigeorge (talk) 05:22, 20 September 2009 (UTC)Reply
Internet explorer. Shakes head. It's the value attribute, even though it's passing, well... nothing, IE "assumes" I want the value 1, which well starts every list at one or as you can see A (see docs about the value parameter). I use Google Chrome, so I didn't notice it. I'll get it fixed. Thanks. ChyranandChloe (talk) 05:31, 20 September 2009 (UTC)Reply
It should be fixed now.[3] Please remember to refresh the page cache. Sigh. ChyranandChloe (talk) 05:39, 20 September 2009 (UTC)Reply

Is this a typo?

Written in the second example of the Parameters section is the following:

If there are more than one Cref2 that needs to link to the "N" Cnote2, apply the second "occurrence" parameter.

first occurrence{{Cref2|N|1}} second occurrence{{Cref2|N|1|2}}

first occurrence[N] second occurrence[N]

But the second occurrence has a "2" placed in the third parameter; this is confusing me. Shouldn't it read {{Cref2|N|2}}, not {{Cref2|N|1|2}}? – Kerαunoςcopiagalaxies 16:29, 9 February 2010 (UTC)Reply

You're right, should go in second, typo, fixed, thanks! ChyranandChloe (talk) 23:23, 9 February 2010 (UTC)Reply

Liststyles no longer work?

I could've sworn the default liststyle was "upper-alpha." I was just brushing up on this template and I see that all the examples are bulleted, even when the liststyle in {{Cnote2 Begin}} specifies otherwise. Am I missing something? It's been a while since I've used this. – Kerαunoςcopiagalaxies 18:43, 2 May 2010 (UTC)Reply

See [4], TheDJ was trying to make it merge-able with {{refbegin}} and therefore removed the <ol> tag because he thought it would be redundant. It would be if you used {{Cnote2 Begin}} like {{refbegin}}, and used the wikicode * Example instead of the correct {{Cnote2|A|Example}}. It should be fixed now. 198.60.5.253 (talk) 17:40, 26 June 2010 (UTC)Reply

It seems that Cnote2 texts containing links to Google Books like this one don't work. They produce a message "parameter "2", text parameter, is empty". Am I right? Andrew Dalby 18:12, 6 July 2010 (UTC)Reply

It's because of the equal signs and there are two ways to fix this. The first is to place a "2= ..." following the vertical bar separating the first and second parameter, for example do this "{{Cnote2|A|2=http://books.google.fr/books?id=l14GAAAAQAAJ}}" instead of "{{Cnote2|A|http://books.google.fr/books?id=l14GAAAAQAAJ}};" the documentation briefly goes over this. The second is to replace all equal signs with "{{=}}," for example "{{Cnote2|A|http://books.google.fr/books?id{{=}}l14GAAAAQAAJ}}." Give these examples a try in the sandbox. I hope this helps. 67.190.48.91 (talk) 07:39, 10 July 2010 (UTC)Reply
Thanks very much for your answer. I'm glad I didn't experiment before asking, because my guess was that the question mark was the problem, so I'd have wasted my time ... Andrew D[[User:Andrew Dalby/Bibliography|alby]] 09:05, 10 July 2010 (UTC)Reply

references-small

This template uses <div class="references-small">...</div> to set the font to 90%. The references-small class was deleted on 10 December 2010, which means the small font has not been applied for almost five years. We need to either remove the class to keep the normal font or change it to reflist to set it to 90%. -- Gadget850 talk 01:25, 4 May 2015 (UTC)Reply

Text error

Check the page, it has this (^ parameter "2", text parameter, is empty.) at the beginning, the same problem is witnessed for the same article in different languages! MM 9004 (talk) 19:55, 6 August 2017 (UTC)Reply

Merge discussion

I have nominated this for TfD. Adding <noinclude>{{subst:tfm|efn|heading=cnote templates}}</noinclude> would be appreciated.

 Done E to the Pi times i (talk | contribs) 06:17, 31 March 2018 (UTC)Reply

Content Disclaimer

Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.

  1. The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
  2. There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
  3. It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
  4. Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
  5. Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.