MediaWiki talk:Citethispage-content: Difference between revisions
Appearance
Dat Hack3r (talk | contribs) m →New content for this page: Forgot to sign. |
Dat Hack3r (talk | contribs) m Improved BibTeX whitespace formatting. |
||
| Line 50: | Line 50: | ||
{{#tag:syntaxhighlight| | {{#tag:syntaxhighlight| | ||
@misc{owotwiki:{{REVISIONID}}, | |||
author = "{{(}}{{SITENAME}} contributors{{)}}", | |||
title = "{{FULLPAGENAME}} --- {{(}}{{SITENAME}}{{)}}{{#ifexist:MediaWiki:Sitesubtitle|{,} {{MediaWiki:Sitesubtitle}}}}", | |||
year = "{{CURRENTYEAR}}", | |||
url = "{{canonicalurl:{{FULLPAGENAME}}|oldid={{REVISIONID}}}}", | |||
note = "[Online; accessed <citation>{{#time:j-F-Y}}</citation>]" | |||
} | |||
|lang=bibtex}} | |lang=bibtex}} | ||
When using the {{wp|LaTeX}} package <code>url</code> (<code>\usepackage{url}</code> somewhere in the preamble), which tends to give much more nicely formatted web addresses, the following may be preferred: | When using the {{wp|LaTeX}} package <code>url</code> (<code>\usepackage{url}</code> somewhere in the preamble), which tends to give much more nicely formatted web addresses, the following may be preferred: | ||
{{#tag:syntaxhighlight| | {{#tag:syntaxhighlight| | ||
@misc{owotwiki:{{REVISIONID}}, | |||
author = "{{(}}{{SITENAME}} contributors{{)}}", | |||
title = "{{FULLPAGENAME}} --- {{(}}{{SITENAME}}{{)}}{{#ifexist:MediaWiki:Sitesubtitle|{,} {{MediaWiki:Sitesubtitle}}}}", | |||
year = "{{CURRENTYEAR}}", | |||
howpublished = "\url{{(}}{{canonicalurl:{{FULLPAGENAME}}|oldid={{REVISIONID}}}}{{)}}", | |||
note = "[Online; accessed <citation>{{#time:j-F-Y}}</citation>]" | |||
} | |||
|lang=bibtex}} | |lang=bibtex}} | ||