Difference between revisions of "Template:DisplaySource"
Jump to navigation
Jump to search
(Remove |Source) |
(Add "sourced from" property) |
||
Line 1: | Line 1: | ||
− | <noinclude>'''Used to show the source of a document.'''<br/> | + | <noinclude>'''Used to show the source of a document.''' If {{t|SourceName}} is present, it adds a [[property:sourced from]] statement.<br/> |
The parameters are as described in the parent template [[template:DocProv]].<br/> | The parameters are as described in the parent template [[template:DocProv]].<br/> | ||
<br/> | <br/> | ||
Usage:<br/> | Usage:<br/> | ||
:{{t|<nowiki>{{DisplaySource|SourceURL|SourceName|SourceDetail}}</nowiki>}} | :{{t|<nowiki>{{DisplaySource|SourceURL|SourceName|SourceDetail}}</nowiki>}} | ||
− | </noinclude><includeonly>{{#if: {{{1|}}}|{{#if: {{{2|}}}| [{{{1}}} {{{2|}}}]| [{{{1|}}} {{{1|}}}]}} {{#if: {{{3|}}}|({{{3}}})|}}|{{#if: {{{2|}}}| {{{2}}} {{#if: {{{3|}}}|({{{3}}})|}}|{{RED|Unknown}}[[Category:Unsourced Documents]]}}}}</includeonly> | + | </noinclude><includeonly>{{#if: {{{1|}}}|{{#if: {{{2|}}}| [[sourced from::[{{{1}}} {{{2|}}}]]]| [{{{1|}}} {{{1|}}}]}} {{#if: {{{3|}}}|({{{3}}})|}}|{{#if: {{{2|}}}| {{{2}}} {{#if: {{{3|}}}|({{{3}}})|}}|{{RED|Unknown}}[[Category:Unsourced Documents]]}}}}</includeonly> |
Revision as of 17:21, 16 December 2013
Used to show the source of a document. If SourceName is present, it adds a property:sourced from statement.
The parameters are as described in the parent template template:DocProv.
Usage:
- {{DisplaySource|SourceURL|SourceName|SourceDetail}}