Difference between revisions of "Template:Cite"

MyWikiBiz, Author Your Legacy — Thursday November 21, 2024
Jump to navigationJump to search
 
(Undo revision 89363 by Haihui (Talk))
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
<span id="{{{ref}}}" name="{{{ref}}}" class="citation">{{{author}}},  ''{{{title}}}'',  [[{{{publisher}}}]],  [[{{{date}}}]].</span><noinclude>
 
<span id="{{{ref}}}" name="{{{ref}}}" class="citation">{{{author}}},  ''{{{title}}}'',  [[{{{publisher}}}]],  [[{{{date}}}]].</span><noinclude>
<!-- TEMPLATE END. The below text has been <noinclude>'d and will not appear in the template when used on pages -->
+
{{documentation}}<!-- Add cats and interwikis to the /doc subpage, not here! --></noinclude>
<!-- This <div> tag is used to avoid the 'float'-ing shortcut text from wrapping oddly with the rest of the text -->
 
<div style="clear: both;"></div>
 
----
 
This template is for [[Centiare:Citing sources|citing sources]]. <br>
 
 
 
The use of citation templates is '''not required'''. See [[Centiare:Citing sources]] for the relevant guideline.
 
 
 
Please consider using specific citation templates before this general template. For a list of citation templates, see [[:Category:Citation templates]].
 
 
 
'''Example:'''<br>
 
<nowiki>Code: {{cite|author=Fred Bloggs|title=A book|publisher=A Publisher|date=2004-07-31}}</nowiki><br>
 
Result: {{cite|author=Fred Bloggs|title=A book|publisher=A Publisher|date=2004-07-31}}<br>
 
'''Note''': As "the date" is a single parameter in the code, using something like ''date=July 31, 2004'' doesn't work. Hence the ISO date format is used in the example.
 
 
 
 
 
[[Category:Citation templates|{{PAGENAME}}]]
 
 
 
</noinclude>
 

Latest revision as of 19:01, 8 July 2009

{{{author}}}, {{{title}}}, [[{{{publisher}}}]], [[{{{date}}}]].

<templatestyles src="Module:Documentation/styles.css"></templatestyles>

50px Template documentation[create]