Mw: Making References

From Kb_JMY(晉明夷)

Jump to: navigation, search

Mediawiki: Making References


Example: Making a Reference

  • Ref:
  1. en.wikipedia.org -- 2007_Formula_One_season
  2. en.wikipedia.org -- Template:Reflist
  3. en.wikipedia.org -- Template:Cite_web
  4. en.wikipedia.org -- Citation_templates List
  5. en.wikipedia.org -- Template_namespace -> creating a template
  6. mediawiki.org -- Creating & using templates


  • Example codes in the content:
<ref name="Crash 4 December">
{{cite news 
| url = http://www.crash.net/news_view.asp?cid=1&id=140988 
| title = FIA unveils 2007 entry list. 
| publisher = Crash.net
| date = 2006-12-04 
| accessdate = 2006-12-08 }}
</ref>


  • Example codes to List the reference with 2 columns:
==References==
{{reflist|2}}
  • How it looks in the reference list:
==References==
20 ^ "FIA unveils 2007 entry list.", Crash.net, 2006-12-04. Retrieved on 2006-12-08. 

Example: Repeated References

  • Example Codes in the content paragraph:
* [[Fernando Alonso]] qualified in pole position but was demoted 5 places 
due to blocking [[Lewis Hamilton]] in the pit 
lane.<ref name="hamiltonInherits">
{{cite web 
|url = http://www.formula1.com/news/headlines/2007/8/6594.html 
|title = Hamilton inherits pole as Alonso and McLaren penalized}}
</ref>
* [[Team McLaren|McLaren]] were not awarded a trophy on the podium.
* [[Team McLaren|McLaren]] were not awarded constructors points 
or a trophy on the podium.<ref name="hamiltonInherits"/>
  • How it is displayed in the content:
  • Fernando Alonso qualified in pole position but was demoted 5 places due to blocking Lewis Hamilton in the pit lane.[46]
  • McLaren were not awarded a trophy on the podium.
  • McLaren were not awarded constructors points or a trophy on the podium.[46]


  • How it is displayed in the Reference List:
Repeated References is displayed using "a", "b",...
==References==

46. ^ a b Hamilton inherits pole as Alonso and McLaren penalized.


Example: A more detailed reference code list

  • Example Codes in the content:
<ref>
{{cite news 
| first = | last = | author = | coauthors =
| url = http://f1.gpupdate.net/en/news/2007/03/15/etihad_airways_becomes_spyker_f1_title_sponsor 
| title =Etihad Airways becomes Spyker F1 title sponsor 
| work = 
| publisher = GPUpdate.net 
| pages = | page = 
| date = 2007-03-15 
| accessdate =2007-03-15
| language = }}
</ref>
  • How it is displayed in the Reference List:
==References==

34 ^ "Etihad Airways becomes Spyker F1 title sponsor", GPUpdate.net, 2007-03-15. Retrieved on 2007-03-15.




Personal tools