User talk:Skullcinema

From Wikipedia, the free encyclopedia

Welcome!

Hello, Skullcinema, and welcome to Wikipedia! Thank you for your contributions. I hope you like the place and decide to stay. Here are a few links to pages you might find helpful:

You may also want to complete the Wikipedia Adventure, an interactive tour that will help you learn the basics of editing Wikipedia. You can visit the Teahouse to ask questions or seek help.

Please remember to sign your messages on talk pages by typing four tildes (~~~~); this will automatically insert your username and the date. If you need help, check out Wikipedia:Questions, ask me on my talk page, or ask for help on your talk page, and a volunteer should respond shortly. Again, welcome! Moonraker (talk) 12:05, 22 June 2019 (UTC)

Ref anchors

Please help me with understanding the different types of anchors referenced in Wikipedia:Citation_templates_and_reference_anchors#Types_of_anchors, specifically the Reference- anchor. Thanks, Skullcinema (talk) 15:29, 7 August 2019 (UTC)

Maybe you can clarify what exactly you are interested in? These types are different ways how the various citation templates name the anchors they create; the page explains which citation template creates which type(s) of anchor. For example, when you set the |id= parameter in the {{wikicite}} template, you get a "Reference- custom anchor" - that is, an anchor named "Reference-Whatever_you_set_as_id_parameter". If you instead use the |reference= parameter in the same template, you get a "plain custom anchor", that is, an anchor named "Whatever_you_set_as_reference_parameter", without the "Reference-" prefix. I hope that clears things up. Huon (talk) 17:28, 7 August 2019 (UTC)

Cite OED template ref tag

Let's define two references, the first using the Cite OED template, which should use {{harvid}} to set a ref tag |ref=Reference-OED-term,


"ref": {
        "label": "ref",
        "description": "Anchor ID",
        "example": "OEDacronym",
        "default": "{{harvid|Reference-OED-{{{term|{{{1|}}}}}}",
        "type": "string"
         }

The second will be defined using the Cite book template. The {{Cite_book}} template does not automatically include the ref tag


"ref": {
        "label": "Ref",
        "description": "An anchor identifier; can be made the target of wikilinks to full references; special value 'harv'
         generates an anchor suitable for the harv and sfn templates",
        "type": "string"
        }

So will set ref=harv. This defines an anchor CITEREFauthordate, or CITEREFElk1972 in this case.

Blah, blah, blah.[1]

{{Cite OED|nonsense}}

More blah, blah, blah.[2]

{{cite book |ref=harv |last=Elk |first=Anne |title=[[Anne Elk's Theory on Brontosauruses]] |date=November 16, 1972}}.

So far so good, both references are present in the References section at the bottom of the page.

CITEREF

Now let's try using the OED anchor #CITEREFReference-OED-nonsense generated by the Cite OED template to link to the citation in the Reference section.

And now let's try using the ref anchor #CITEREFElk1972generated by the Cite book template to do the same.


Result: Both links are working.

Reference- anchors

Let's set up another couple of references using the shortened footnotes style (the references are at the bottom of this page).

Blah, blah, blah.[3]

{{Cite OED|tripe}}

More blah, blah, blah.[4]

{{{cite book |ref=Mouse |last=Mouse |first=Albert |title=Albert Mouse's Theory on Nematodes |date=November 16, 1972}}

Again, both references are present in the References section at the bottom of the page and selecting them follows the link down to the reference list.


Now let's try using the anchor #Reference-OED-tripegenerated by the Cite OED template to link to the full citation in the Reference section.

And now let's try using the anchor #Mouse defined using the Cite book template to do the same. Only the Cite book anchor works (move the reference section off the bottom of the page if nothing happens and the page should jump down to the reference).


Result: Cite book links work, Cite OED links do not.

Forcing the Cite OED template by adding the term ref=Reference-OED-tripe to give {{Cite OED|tripe |ref-Reference-OED-tripe}} corrects the functionality.


Conclusion: ?CITEREF functionality is preserved from Cite book template but Ref functionality is broken in Cite OED template.

References

Thanks for cite patent fixes

Trademarks

Brief note

Anna Bilińska

Reverted Cite patent change

Related Articles

Wikiwand AI