Wikipedia:Help desk/Archives/2025 March 13#Linking citations with url as well wikipedia article

{{#ifeq:{{PAGENAME}}|Special:Undelete| |{{#if:|

}} {{#ifeq:{{NAMESPACE}}|Wikipedia|{{#switch:{{NAMESPACE}}|= |
}}|{{error:not substituted|Archive header}}
}}}} {{#if:|
}}
style="width:100%;"
colspan="3" style="text-align:center;" | Help desk
style="width:20%; text-align:left;" | < Wikipedia:Help desk/Archives/2025 March 12

! style="width:25%; text-align:center;"|<< Feb | March | Apr >>

! style="width:20%; text-align:right;" |{{#ifexist:Wikipedia:Help desk/Archives/2025 March 14|March 14|Current help desk}} >

|}

style="width:95%; text-align:center;background: #FFFFFF; border: 1px solid #003EBA; border-spacing:0;"
style="background: #5D7CBA; text-align: center; font-family:Arial; color:#FFFFFF; padding:8px;" | Welcome to the Wikipedia Help Desk Archives
style="padding:8px;"| The page you are currently viewing is an archive page. While you can leave answers for any questions shown below, please ask new questions on one of the current Help Desk pages.

__NOEDITSECTION__ __ARCHIVEDTALK__ __TOC__ __EXPECTED_UNCONNECTED_PAGE__

= March 13 =

Linking citations with url as well wikipedia article

Morning Folks!! Is possible to have cite book entry that links to the book url in the internet archive and at the same time link to the Wikipedia article about it. For example, on the George MacDonald article, in the fantasy section, there is cite book entry and there is also the Fantasy section entries. In the first entry there is a Phantastes: A faerie romance for men and women which links to the internet archive but there is also the Phantastes article. Is it possible to link these two somehow in an effective way. I tend to mention the book in the prose but it would be nice to see linked in here somehow. Thanks. scope_creepTalk 11:33, 13 March 2025 (UTC)

:@Scope creep You can use the parameter |title-link in the {{t|cite book}} but it will conflict with the URL and give an error. The help at Help:CS1_errors#URL–wikilink_conflict suggests you would need to place the URL at the end of the citation (outside the curly brackets at the end, for example) to separately provide the link, say as "[https://archive.org/details/phantastesfaerie00macd/page/4/mode/2up Here at archive]". Mike Turnbull (talk) 12:36, 13 March 2025 (UTC)

:Wikipedia should generally not be cited as a source. I would put the internet archive link in its parameter, which I know is in the website entry but I am not sure if it is in the book entry. PhoenixCaelestisTalkContribs) 12:45, 13 March 2025 (UTC)

::They are not used as sources thankfully, just sitting in the publications list. I don't think its in the cite book entry. I would have assumed there was a simple way of doing it. They must have came across this problem before? I think putting the archive link at the end of the cite and using title-link seems the best way of doing it. scope_creepTalk 12:50, 13 March 2025 (UTC)

:{{re|scope_creep}} the general advice here is excellent: you can add stuff that is not inside the template at all. However, in the specific case of Phantastes, it is not clear that the Internet archive copy is the best of the many excellent internet copies of the book listed in the "external links" section of the book's article. If I decide to read the book (which I may, now that you made me aware of it) I will probably read the Wikisource transcription. -Arch dude (talk) 15:50, 13 March 2025 (UTC)

::Hi {{ping|Arch dude}} I'm not keen on those transcribed versions as they often miss important information e.g. the illustrations and/or many times they have branding on them that is entirely unsuitable, which seems to be becoming more and more prominent. The one I've linked to for this is the first edition, although do they have the date wrong on the internet archive and its the scan of the entire book including covers with no branding, in its whole originality. I never thought of using the wikisource. I will need to think about the pro's and con's of it. Its certainly free of branding and will remain so, which is a good thing. scope_creepTalk 07:41, 14 March 2025 (UTC)

:::{{ping|Arch dude}} Try the The Night Land Novel by William Hope Hodgson 1912 which may be up your street if you like the Phantastes stuff. scope_creepTalk 07:46, 14 March 2025 (UTC)

How do I insert numbered inline citations in an article

Please can someone help me? I have looked at Wikipedia: Inline citations, to try to work out how to place inline citations in an article. I have done experiments in my sandbox using (YTKJ (talk) 21:55, 13 March 2025 (UTC)

:it should be <ref> SOURCE </ref> —Tamfang (talk) 22:02, 13 March 2025 (UTC)

:@YTKJ, I recommend for your first references (sources):

:*Author, Title, Web address if there is one, Publisher, Date, Pages.

:*With Visual Editor use Cite->Manual->Basic form, and the editor will add the part for you.

:For other ways see Help:Referencing for beginners and the reference sections at Help:Introduction. StarryGrandma (talk) 22:23, 13 March 2025 (UTC)

User: StarryGrandma, I have tried that on the sandbox of my userpage, but it has not resulted in the numbered code. Would you care to tell me where I have gone wrong? YTKJ (talk) 07:38, 14 March 2025 (UTC)

::Hi {{ping|YTKJ}} What exactly do you mean. The software automatically numbers the references when you put in inline citations, in the order you put them in. I'll take a look at what your doing. scope_creepTalk

::I see what happened. It should have been Brown, 1998 I updated this reference Brown, 1995. It should have a opening ref and close ref to tell it that is the ref. You also missed the template that goes near the bottom of the article.

==References==


{{Reflist}}

that is placed near the bottom of the article. The Reflist tag tells the software where to render them all into a block in the article and numbers them for you. I've used the nowiki tags around here to stop the system rendering them on this talk page, which we don't want. You were very close to get the getting the cigar but this should help. If you need help contact me and I will give you a hand. Lastly on top of the editor window which opens when not using the visual editor is a cite button which has a set of 4 drop down templates which are the most common references types like cite book and cite web and so on. When you click on it, it opens a dialog with fields that can be filled in. Fill these in and it will create the reference for you. Hope that helps. scope_creepTalk 08:02, 14 March 2025 (UTC)

:@YTKJ Looking at your sandbox: you've been trying to put the reference inside a sort of tag (which doesn't exist) instead of between an opening one and a closing one. Also there's a stray tag which shouldn't be there—it's used in examples to stop code working as code and display what it looks like instead, and isn't part of what to type. Musiconeologist (talk) 08:15, 14 March 2025 (UTC)

:@YTKJ Suggestion: Try starting with something very short so you can see what you're doing—maybe just copy this—then when that's working, replace the word this with the actual text you need. That way, you can focus on one step at once.{{pb}}Or even begin with just then start typing between the >< in the middle. That's usually the best way to avoid typos with tags that come in pairs. Musiconeologist (talk) 08:44, 14 March 2025 (UTC)