टेम्पलेट:Refref: रिवीजन सभ के बीचा में अंतर

Content deleted Content added
छो Looks much better centered
Move main content to Template:Refref/core
लाइन 3:
|titlestyle = background: LightSteelBlue; text-align: center;
}}
{{Refref/core}}
{| class="wikitable" style="margin-left: auto; margin-right: auto; border: none;"
|+ Formatting references using inline citations
|- style="vertical-align: top;"
| colspan=2 | <small>All information in Wikipedia articles should be [[Wikipedia:Verification|verified]] by [[Wikipedia:Citing sources|citations]] to [[Wikipedia:Reliable sources|reliable sources]]. Our preferred method of citation is using the <span class="plainlinks">"[http://www.mediawiki.org/wiki/Extension:Cite/Cite.php cite.php]"</span> form of inline citations, using the <nowiki><ref></ref></nowiki> elements. Using this method, each time a particular source is mined for information (''don't copy word-for-word''!), a footnote is placed in the text ("inline"), that takes one to the detail of the source when clicked, set forth in a references [[Help:Section|section]] after the text of the article.<p>
In brief, anywhere you want a footnote to appear in a piece of text, you place an opening <nowiki><ref></nowiki> tag followed by the text of the citation which you want to appear at the bottom of the article, and close with a <nowiki></ref></nowiki> tag. Note the closing slash ("/"). For multiple use of a single reference, the opening ref tag is given a name, like so: <nowiki><ref name="name"></nowiki> followed by the citation text and a closing <nowiki></ref></nowiki> tag. Each time you want to use that footnote again, you simply use the first element with a slash, like so: <nowiki><ref name="name" /></nowiki>.<p>In order for these references to appear, you must tell the software where to display them, using either the code <nowiki><references/></nowiki> or, most commonly, the template, {{tl|Reflist}} which can be modified to display the references in columns using <nowiki>{{Reflist|colwidth=30em}}</nowiki>. Per our [[Wikipedia:Manual of Style|style guidelines]], the references should be displayed in a separate section denominated "References" located after the body of the article.</small>
|- style="vertical-align: top; text-align: center;"
| <small>'''''[[Wikipedia:Footnotes|Inline citation]] code; what you type in 'edit mode''''''</small>
| <small>'''''What it produces when you save'''''</small>
|- style="vertical-align: top;"
| style="width: 400px;"|Two separate citations.<span style="color: #002BB8;"><nowiki><ref></nowiki></span><kbd>{{xt|Citation text.}}</kbd><span style="color: #002BB8;"><nowiki></ref><ref></nowiki></span><kbd>{{xt|Citation text2.}}</kbd><span style="color: #002BB8;"><nowiki></ref></nowiki></span><p><br />Multiple<span style="color: #002BB8;"><nowiki><ref name="multiple"></nowiki></span><kbd>{{Xt|Citation text3.}}</kbd><span style="color: #002BB8;"><nowiki></ref></nowiki></span> citation<span style="color: #002BB8;"><nowiki><ref name="multiple" /></nowiki></span> use.<span style="color: #002BB8;"><nowiki><ref name="multiple" /></nowiki></span><p><br />== References ==<p><nowiki>{{Reflist}}</nowiki>
| style="width: 400px;"|Two separate citations.<ref>Citation text.</ref><ref>Citation text2.</ref><p><br /><br /> Multiple<ref name="multiple">Citation text3.</ref> citation<ref name="multiple" /> use.<ref name="multiple" /><p><u style="font-size: larger;"><br /><br /><br />'''References'''_________________</u><p>{{Reflist}}
|-
| style="text-align: center;" colspan="2" | <small>Templates that can be used between <kbd><nowiki><ref>...</ref></nowiki></kbd> tags to format references</small><p>{{tl|Citation}} • {{tl|Cite web}} • {{tl|Cite book}} • {{tl|Cite news}} • {{tl|Cite journal}} • [[:Category:Citation templates|Others]] • [[Wikipedia:Citation templates|Examples]]
|-
|}{{Z3}}<!-- Template:Refref -->
{{Hidden end}}<noinclude>
{| style="text-align: center;"