User talk:Pego

Explain xkcd: It's 'cause you're dumb.
Jump to: navigation, search

As you now have a User Talk: page...[edit]

Hi there. I thought you'd appreciate a quick guide to (wiki)linking.

Note the edit I made here, regarding your link. In brief:

  • Use [<url> link text] to link to a URL. There's a space between the URL and the text it will appear as. As there is never a space in a (properly formatted) URL, this is all that is required to delimit it. (Your use of the URL ending with the pipe/"|" probably made it error out, if followed, but I didn't check this.)
    • Using just [<url>] is also possible, but leaves you with a link like [1], which is mostly just unfriendly to readers.
  • Wikimedia links are within [[]]s, which can involve a link to "wikipedia:something", but see below.
    • As the URL-equivalent, like Barrel Boy ([[Barrel Boy]]), can have spaces, if you want to give it different link text then you need a pipe-symbol. For example ([[Barrel Boy|For example]]).
  • But we also have a handy template link for Wikipedia pages, using {{w}}. It shortcuts (and slightly reformats) a wikimedia link to wikipedia. Use it either as {{w|Page title}} or {{w|Page title|link text}}. Note the '|'s between the 'w' and the (hopefully valid) wikipedia page title. And also, if you wish to use it, the title and the linking text.
    • It accepts a variety of versions of the page title, for example: to get to the URL https://en.wikipedia.org/wiki/Quis_custodiet_ipsos_custodes%3F (here just given literally, no []s at all)...
    • You could fall back on using Who will guard the guards themselves? ([https://en.wikipedia.org/wiki/Quis_custodiet_ipsos_custodes%3F Who will guard the guards themselves?]). But note the padlock icon (looks ugly, IMO, and unnecessary).
    • You can use just the post "/wiki/" bit of the text in a w-template, Who will guard the guards themselves? ({{w|Quis_custodiet_ipsos_custodes%3F|Who will guard the guards themselves?}}). Note the encoded spaces (underlines) and question-mark (%3F), which make the source look a bit funny when editing.
    • My preference is to take the actual page title text (copy/paste the title as it appears), Who will guard the guards themselves? ({{w|Quis custodiet ipsos custodes?|Who will guard the guards themselves?}}). Isn't that better looking as markup? (Though is the same link.)
    • It definitely helps to do that if you aren't giving alternate link-text, though. Compare "Quis_custodiet_ipsos_custodes%3F" vs "Quis custodiet ipsos custodes?"...
    • And you can link to sub-sections. One link and another link that do the same thing (but compare {{w|Quis_custodiet_ipsos_custodes%3F#In_popular_culture|One link}} and {{w|Quis custodiet ipsos custodes?#In popular culture|another link}} for how I entered them into the editor.

At this point, we have reached the more advanced theory, and there are always other little hints and tips to be picked up. But, as a new editor, I thought you'd appreciate a quick(ish) crash course in wikilinking 101. Remember, also, the Preview button is your friend. Don't be afraid to look at your editing (and that of others) and try different things without ever having to save anything potentially 'wrong'. There's also the Sandbox pages, of course, but for this level of investigation you don't need to have the website remember all your trials and errors so publically! Anyway, welcome, and I trust that you will continue to edit responsibly. 172.68.186.114 20:40, 9 October 2024 (UTC)

thanks i really apreciate the tips:)--Pego (talk) 15:59, 10 October 2024 (UTC)