Difference between revisions of "Help:Templates/Cite"

MuseWiki, wiki for the band Muse
Jump to navigation Jump to search
(Wrapped example in pre, removed manual line-breaks, auth→pub, added space, moved to template help cat from help cat)
(+Space within usage example, re-worded, updated usage slightly)
Line 1: Line 1:
Okay, very very simple citation template. The main point being, we can now write references without having to re-write them when we decide there are better layouts or ways to do things.
A simple citation template. With it, there is no need to re-write references when we decide that there are better layouts, or ways to do things.


If a particular citation is used for ~10 pages or more, please write a template of that citation and use that template for pages instead. This makes it easier to update and also makes pages less messy.
If a particular citation is used for ~5 pages or more, please write a template for that citation and use that template in pages instead. This makes it easier to update and also makes pages less messy.


=== Usage ===
=== Usage ===
Line 8: Line 8:
<ref name="mc20041213">
<ref name="mc20041213">
{{cite
{{cite
| title=Los Angeles gig - review
| title = Los Angeles gig - review
| desc=MicroCuts news item
| desc = MicroCuts news item
| date=2004-12-13
| date = 2004-12-13
| fetch=2010-12-13
| fetch = 2010-12-13
| pub=MicroCuts/Yahoo
| pub = MicroCuts/Yahoo
| url=http://microcuts.net/uk/news/archives/12132004-los_angeles_gig_review.php
| url = http://microcuts.net/uk/news/archives/12132004-los_angeles_gig_review.php
| dom=microcuts.net
| dom = microcuts.net
| type=ext
| type = ext
}}</ref></pre>
}}
</ref>
</pre>


Where:
Where:
* title is the title of the information cited
* title is the title of the information cited.
* desc is a description (by you)
* desc is a description (by you).
* date is the date the information was posted
* date is the date the information was posted.
* fetch is the date you found the source.
* fetch is the date you found the source.
* auth is the author
* auth is the author.
* pub is the publication. The website name, the magazine name, etc.
* pub is the publication. The website name, the magazine name, etc.
* doc is the pagename on MuseWiki.
* doc is the page name on MuseWiki.
* url is the full url to the information
* url is the full url to the information.
* dom is the second and top level domains and third level domain (if it's not www).
* dom is the second and top level domains and third level domain.  i.e., everything between :// and the next : in a link.
* arc is for the archived snapshot of a webpage. This will most likely by from the WayBackMachine.
* arc is for the archived snapshot of a web page. This will most likely by from the WayBackMachine.
* med is the medium, e.g. magazine, newspaper, radio etc.
* med is the medium, e.g. magazine, newspaper, radio etc.
* type is '''very''' important. If it's part of the MuseWiki media archive, then type should be int. If it's a webpage, then it should be ext.
* type is '''very''' important. If it's part of the MuseWiki media archive, then type should be int. If it's a web page, then it should be ext.


If there's a title, then the description isn't used (for now). That doesn't mean a description shouldn't be added if a title is given, it definitely should be included. If there's no title, then description is printed instead.
When there is a title, the description shall not be used (for now). That does not mean a description should not be added when a title is included, a description definitely should be included. When there is no title, description will be printed instead.


The style in which one should be written, as the case is on here usually, is otherwise de facto.
The style in which one should be written, as the case is on here usually, is otherwise de facto.


== See also ==
== See also ==
* [[Template:Cite | Citation template]]
* [[Template:Cite]]


{{Backto | Help:Templates | template help}}
{{Backto | Help:Templates | template help}}


[[Category:Template help]]
[[Category:Template help]]

Revision as of 00:33, 2 September 2011

A simple citation template. With it, there is no need to re-write references when we decide that there are better layouts, or ways to do things.

If a particular citation is used for ~5 pages or more, please write a template for that citation and use that template in pages instead. This makes it easier to update and also makes pages less messy.

Usage

Taking the example of

<ref name="mc20041213">
{{cite
| title = Los Angeles gig - review
| desc = MicroCuts news item
| date = 2004-12-13
| fetch = 2010-12-13
| pub = MicroCuts/Yahoo
| url = http://microcuts.net/uk/news/archives/12132004-los_angeles_gig_review.php
| dom = microcuts.net
| type = ext
}}
</ref>

Where:

  • title is the title of the information cited.
  • desc is a description (by you).
  • date is the date the information was posted.
  • fetch is the date you found the source.
  • auth is the author.
  • pub is the publication. The website name, the magazine name, etc.
  • doc is the page name on MuseWiki.
  • url is the full url to the information.
  • dom is the second and top level domains and third level domain. i.e., everything between :// and the next : in a link.
  • arc is for the archived snapshot of a web page. This will most likely by from the WayBackMachine.
  • med is the medium, e.g. magazine, newspaper, radio etc.
  • type is very important. If it's part of the MuseWiki media archive, then type should be int. If it's a web page, then it should be ext.

When there is a title, the description shall not be used (for now). That does not mean a description should not be added when a title is included, a description definitely should be included. When there is no title, description will be printed instead.

The style in which one should be written, as the case is on here usually, is otherwise de facto.

See also


Go back to template help