Difference between revisions of "Help:Templates/Cite"

MuseWiki, wiki for the band Muse
Jump to navigation Jump to search
m (moved Help:Templates/cite to Help:Templates/Cite: Accommodating Helpbox template)
(Wrapped example in pre, removed manual line-breaks, auth→pub, added space, moved to template help cat from help cat)
Line 3: Line 3:
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 ~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.


===Usage===
=== Usage ===
Taking the example of<br/>
Taking the example of
<nowiki>
<pre>
<ref name="mc20041213"></nowiki><br/>
<ref name="mc20041213">
<nowiki>{{cite</nowiki><br/>
{{cite
|title=Los Angeles gig - review<br/>
| title=Los Angeles gig - review
|desc=MicroCuts news item<br/>
| desc=MicroCuts news item
|date=2004-12-13<br/>
| date=2004-12-13
|fetch=2010-12-13<br/>
| fetch=2010-12-13
|auth=MicroCuts/Yahoo<br/>
| pub=MicroCuts/Yahoo
|url=http://microcuts.net/uk/news/archives/12132004-los_angeles_gig_review.php<br/>
| url=http://microcuts.net/uk/news/archives/12132004-los_angeles_gig_review.php
|dom=microcuts.net<br/>
| dom=microcuts.net
|type=ext
| type=ext
}}<nowiki></ref></nowiki>
}}</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 pagename 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 (if it's not www).
*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 webpage. 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 webpage, 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.
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.
Line 40: Line 41:
{{Backto | Help:Templates | template help}}
{{Backto | Help:Templates | template help}}


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

Revision as of 21:17, 5 February 2011

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.

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.

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 pagename on MuseWiki.
  • 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).
  • arc is for the archived snapshot of a webpage. 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 webpage, 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.

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