All The Tropes:Style Guide: Difference between revisions

(→‎Numbers and Numerals: explicitly added an exception that we have implicitly supported for years)
Line 108:
Sometimes you might think it's necessary (or more attractive) to use a pothole with a work name. For instance, the ''[[Harry Potter]]'' novels are all described on subpages under [[Harry Potter]], like ''[[Harry Potter/Harry Potter and The Philosopher's Stone]]''; potholing that link to ''[[Harry Potter/Harry Potter and The Philosopher's Stone|Harry Potter and The Philosopher's Stone]]'' just looks better. Go ahead and do that. Just be careful not to misspell or otherwise mangle the work name in the pothole. And if you're not sure how to code a pothole, the markup is <code><nowiki>[[link|pothole text]]</nowiki></code> -- the link, a vertical bar, and then the text you want to have go to that link.
 
Again, [[Pothole]]s are good, while [[sinkhole]]s are bad. Potholes and Sinkholes where different parts of ''the same word'' link to different pages are horrid - there's no way for a casual reader to know (or even suspect) that there's more than one link in the word. Unless you happen to take advantage of the wiki's color-coded internal links, but then it looks [[It Gets Worse|rid]][[From Bad to Worse|icul]][[It Got Worse|ous.]] It's also an [http://blogaccessibility.com/sin-2-of-inaccessible-blogs-using-consecutive-one-worded-links/ accessibility sin].
 
In short, your work links should generally look like
Line 114:
<code><nowiki>''[[The Amazing Adventures of Wiki-Man!]]''</nowiki></code>
 
when you're typing them into the source editor.
 
== Section Headers ==