Help:Introduction to referencing with Wiki Markup/2: Difference between revisions

Content deleted Content added
m test
Format fake heading specially to fix confusing layout on Help:Referencing_for_beginners#Inline_citations.
 
(40 intermediate revisions by 15 users not shown)
Line 1:
<noinclude>{{pp-semi|small=yes}}
</noinclude>{{intro to|
{{intro to/sandbox|
 
{{Shortcut|WP:INTREF2}}
[[File:Citing sources tutorial, part 1.ogv|thumb|250px|A screencast that walks through the essentials needed in citing your sources]]
If you've read many Wikipedia articles, then you've seen plenty of inline citations. These are usually small numbered footnotes like this.<ref>{{cite book|last=Wales|first=J|title=What is an inline citation?|year={{CURRENTYEAR}}|publisher=Wikipublisher|pages=6}}</ref> They are generally added either directly following the fact they support, or at the end of the sentence they support, following any punctuation. When clicked, they take the reader to a full source in a reference section of the article.
 
If you've read many Wikipedia articles, then you've seen plenty of inlineInline citations. These are usually small, numbered footnotes like this.<ref>{{cite book |author-last=Wales |author-first=JJimmy |title=What is an inline citation? |yeardate={{CURRENTYEAR}} |publisher=Wikipublisher |pagespage=6}}</ref> They are generally added either directly following the fact that they support, or at the end of the sentence that they support, following any punctuation. When clicked, they take the reader to a full sourcecitation in a reference section near the bottom of the article.
 
WhenWhile editing a page usingthat theuses popularthe (most common) footnotesfootnote style, you will see inline citations are usuallydisplayed between <code><nowiki><ref></nowiki>...<nowiki></ref></nowiki></code> tags. Note the closing slash ("/") in the latter tag.
 
If you are creating a new page, or adding references to a page that didn't previously have any, remember to add a References section like the one below [[Wikipedia:Manual of Style/Layout#Order of article elements|near the end]] of the article:
 
The information within references is displayed together in one place on a page, wherever <code><nowiki><references/></nowiki></code> or, most commonly, the template {{tlx|Reflist}} is present. This will usually be in a section titled "References". If you are creating a brand new page, or adding references to a page that didn't previously have any, don't forget to add a references section like the one below. The Manual of Style describes [[Wikipedia:Manual of Style/Layout#Order of article elements|where to place such a section]].
<pre>
== References ==
{{Reflistreflist}}
</pre>
 
:''Note: This is by far the most popular system for inline citations, but sometimes you will find [[Wikipedia:Inline citations|other styles]] being used in an article, such as references in parentheses. As a general rule, the first major contributor to an article gets toThis [[WP:CITEVAR|chooseis the referencing systemacceptable]], usedand there.you Ifshouldn't anchange articleit usesor amix differentstyles. systemTo thanadd thea onenew you're used toreference, just copy an existing reference when adding any new reference, thenand modify itan appropriately;existing don't mix stylesone.''
When an article has many citations it may be useful to display the references in columns. This can be done by a slight modification to the above code: use <code><nowiki>{{Reflist|30em}}</nowiki></code> instead of just <code><nowiki>{{Reflist}}</nowiki></code>.
 
{{blockquote|
 
{{fake heading|sub=2|References}}
:''Note: This is by far the most popular system for inline citations, but sometimes you will find [[Wikipedia:Inline citations|other styles]] being used in an article, such as references in parentheses. As a general rule, the first major contributor to an article gets to [[WP:CITEVAR|choose the referencing system]] used there. If an article uses a different system than the one you're used to, just copy an existing reference when adding any new reference, then modify it appropriately; don't mix styles.''
 
==References==
{{reflist}}
----
}}
}}