MediaWiki:Citethispage-content: Difference between revisions

From NikkiWiki
Jump to navigation Jump to search
No edit summary
Line 45: Line 45:
=== [[wikipedia:BibTeX|BibTeX]] ===
=== [[wikipedia:BibTeX|BibTeX]] ===


<kbd><pre>
<kbd>
@misc{ sharp,
@misc{ sharp,
  author = "Nicole {Sharp}",
  author = "Nicole {Sharp}",
  title = "{{FULLPAGENAME}} --- {{SITENAME}}{,} {{int:sitesubtitle}}",
  title = "{{FULLPAGENAME}} --- {{SITENAME}}{,} {{int:sitesubtitle}}",
  year = "{{CURRENTYEAR}}",
  year = "{{CURRENTYEAR}}",
  url = "{{canonicalurl:{{FULLPAGENAME}}|oldid={{REVISIONID}}}}",
  url = "{{canonicalurl:{{FULLPAGENAME}}|oldid={{REVISIONID}}}}",
  note = "[Online; accessed <citation>{{CURRENTDAY}}-{{CURRENTMONTHNAME}}-{{CURRENTYEAR}}</citation>]"
  note = "[Online; accessed <citation>{{CURRENTDAY}}-{{CURRENTMONTHNAME}}-{{CURRENTYEAR}}</citation>]"
}
  }
</pre></kbd>
</kbd>


When using the [[wikipedia:LaTeX|LaTeX]] package "<code>url</code>" (having "<code>\usepackage{url}</code>" somewhere in the preamble), which tends to give much more nicely formatted webaddresses, the following may be preferred.
When using the [[wikipedia:LaTeX|LaTeX]] package "<code>url</code>" (having "<code>\usepackage{url}</code>" somewhere in the preamble), which tends to give much more nicely formatted webaddresses, the following may be preferred.


<kbd><pre>
<kbd>
@misc{ sharp,
@misc{ sharp,
  author = "Nicole {Sharp}",
  author = "Nicole {Sharp}",
  title = "{{FULLPAGENAME}} --- {{SITENAME}}{,} {{int:sitesubtitle}}",
  title = "{{FULLPAGENAME}} --- {{SITENAME}}{,} {{int:sitesubtitle}}",
  year = "{{CURRENTYEAR}}",
  year = "{{CURRENTYEAR}}",
  url = "\url{{{canonicalurl:{{FULLPAGENAME}}|oldid={{REVISIONID}}}}}",
  url = "\url{{{canonicalurl:{{FULLPAGENAME}}|oldid={{REVISIONID}}}}}",
  note = "[Online; accessed <citation>{{CURRENTDAY}}-{{CURRENTMONTHNAME}}-{{CURRENTYEAR}}</citation>]"
  note = "[Online; accessed <citation>{{CURRENTDAY}}-{{CURRENTMONTHNAME}}-{{CURRENTYEAR}}</citation>]"
}
}
</pre></kbd>
</kbd>


</div>
</div>

Revision as of 2025-01-18T05:22:33


bibliographic details