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

Content deleted Content added
fix
HTML5 compliance. (may have missed some... Will come back if needed.)
लाइन 1:
{{hidden begin
|title = Visual inline citation guide
|titlestyle = background: LightSteelBlue; text-align: center;
}}
{| class="wikitable"
|+ Formatting references using inline citations
|- valignstyle="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;"
|- valign="top"
| <center><small>'''''[[Wikipedia:Footnotes|Inline citation]] code; what you type in 'edit mode''''''</small>
|<center> <small>'''''What it produces when you save'''''</small>
|- valignstyle="vertical-align: top;"
| widthstyle="300width: 300px;"|Two separate citations.<fontspan colorstyle="color: #002BB8;"><nowiki><ref></nowiki><code/span></fontcode>{{xt|Citation text.}}</code><fontspan colorstyle="color: #002BB8;"><nowiki></ref><ref></nowiki></fontspan><code>{{xt|Citation text2.}}</code><fontspan colorstyle="color: #002BB8;"><nowiki></ref></nowiki></fontspan><p><br />Multiple<fontspan colorstyle="color: #002BB8;"><nowiki><ref name="multiple"></nowiki></fontspan><code>{{xtXt|Citation text3.}}</code><fontspan colorstyle="color: #002BB8;"><nowiki></ref></nowiki></fontspan>citation<fontspan colorstyle="color: #002BB8;"><nowiki><ref name="multiple" /></nowiki></fontspan> use.<fontspan colorstyle="color: #002BB8;"><nowiki><ref name="multiple" /></nowiki></fontspan><p><br />== References ==<p><nowiki>{{Reflist}}</nowiki>
| widthstyle="300width: 300px;"|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><big style="font-size: larger;"><br /><br /><br />'''References'''_________________</big></u><p>{{Reflist}}
|-
| style="text-align: center;" colspan="2" | <center><small>Templates that can be used between <nowiki><ref></ref></nowiki> 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]]</center>
|-
|}{{z3Z3}}<!-- Template:Refref -->
{{hiddenHidden end}}<noinclude>
{|align style="text-align: center;"
|{{helpHelp desk templates}}
|}
{{Documentation}}