Anonymous user
Template:Cite web/doc: Difference between revisions
no edit summary
imported>Xxglennxx m (→See also: add cy) |
imported>VanishedUser sdu9aya9fasdsopa No edit summary |
||
Line 382:
|quote=... Lord Balfour came forward with a unique concern: 'Supposing some unfortunate lady was confined with twins ...'
}}</span>
==Using cite web on other Mediawiki installations==
If you want to use 'cite web' on another Mediawiki site, for example at wikia.com or at referata.com, you probably want to edit your <nowiki>http://yoursite.whatever.org/wiki/Mediawiki:common.css</nowiki> file to match the cite styles at http://en.wikipedia.org/wiki/Mediawiki:common.css . Easiest is to just copy the whole file. But if you don't want that, you probably want to add the following:
<blockquote>
<tt>
<pre>
/* Styling for citations */
span.citation, cite {
font-style: normal;
word-wrap: break-word;
}
/* For linked citation numbers and document IDs, where
the number need not be shown on a screen or a handheld,
but should be included in the printed version
*/
@media screen, handheld {
span.citation *.printonly {
display: none;
}
}
</pre>
</tt>
</blockquote>
The reason? If you don't, every URL will show up twice in your <references> or {{reflist}} section, because it think's it is printing on paper, and when it prints on paper, it prints out the entire URL.
==See also==
|