All The Tropes:Style Guide: Difference between revisions

→‎Internal Links (Wicks): again, added a short para at the top about the markup.
(→‎External Links: added little note about markup)
(→‎Internal Links (Wicks): again, added a short para at the top about the markup.)
Line 103:
 
== Internal Links (Wicks) ==
Again, for those unfamiliar with MediaWiki, some notes on markup. Most importantly MediaWiki does not use [[CamelCase]]. MediaWiki links allow spaces, almost all punctuation, and non-English characters -- there's no need to mangle a potential page name to turn it into a link, just put it as-is in double square brackets (<code><nowiki>[[</nowiki></code> and <code><nowiki>]]</nowiki></code>) when using the source editor. If you want to add a pothole or link text, you separate it from the link itself with a vertical bar ("|"). So, for instance, a link to the classic British comedy series ''[['Allo 'Allo!]]'' would be coded <code><nowiki>[['Allo 'Allo!]]</nowiki></code>. But if you wanted to pothole it to the text "that classic British series", you would code it like so: <code><nowiki>[['Allo 'Allo!|that classic British series]]</nowiki></code>, which produces "[['Allo 'Allo!|that classic British series]]".
When it comes to links to other pages on the wiki, the guidelines are a little different -- and for the most part, looser, mainly because you can't make an internal link quite as confusing or unintelligible as an external link can be without really ''working'' at it.<ref>No, that is not a challenge.</ref>
 
WhenThat said, when it comes to links to other pages on the wiki, the guidelines are a little different -- and for the most part, looser, mainly because you can't make an internal link quite as confusing or unintelligible as an external link can be without really ''working'' at it.<ref>No, that is not a challenge.</ref>
 
The only real style requirements exist for work names. Wherever possible, a work name should also be a link. This requires that you use the name of a work as it appears on the work page, matching punctuation and capitalization exactly. That's usually not to hard to determine -- if you don't already know it off the top of your head, you can use the wiki's search function to find it. (However, always click through a search result. You may have found a disambiguation or franchise page or a redirect and not the actual work page; clicking through will make sure you get to the right name, eventually.)
 
Once you have the right name, insert it into your edit with the appropriate markup. Right off the bat, of course, it should be in link markup, (<code><nowiki>[[</nowiki></code>as anddescribed <code><nowiki>]]</nowiki></code>)above. Of course, we don't have a page for every existing work on the wiki. But even if there isn't a page for it here, we still want the work name to be a link -- it might inspire another troper to write that page. So even if you can't find a page, mark up the work name as a link anyway.
Of course, we don't have a page for every existing work on the wiki. But even if there isn't a page for it here, we still want the work name to be a link -- it might inspire another troper to write that page. So if you can't find a page, mark up the work name as a link anyway.
 
Most work names should then be put italics markup (two single quotes/apostrophes before and after the link markup). There are exceptions to this -- short stories, individual songs, and other short-format works get double quotes instead of italics -- but in general italics are a safe choice.