Difference between revisions of "Template:Cite"
From LGPedia
Line 1: | Line 1: | ||
− | <span id="{{{ref}}}" name="{{{ref}}}" class="citation">{{{author}}}, ''{{{title}}}'', [[{{{publisher}}}]], | + | <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 --> | <!-- TEMPLATE END. The below text has been <noinclude>'d and will not appear in the template when used on pages --> | ||
<!-- This <div> tag is used to avoid the 'float'-ing shortcut text from wrapping oddly with the rest of the text --> | <!-- This <div> tag is used to avoid the 'float'-ing shortcut text from wrapping oddly with the rest of the text --> |
Latest revision as of 21:49, 13 December 2006
{{{author}}}, {{{title}}}, [[{{{publisher}}}]], {{{date}}}.
This template is for citing sources.
The use of citation templates is not required.
Please consider using specific citation templates before this general template. For a list of citation templates, see Category:Citation templates.
Example:
Code: {{cite|author=Fred Bloggs|title=A book|publisher=A Publisher|date=2004-07-31}}
Result: Fred Bloggs, A book, A Publisher, 2004-07-31.
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.