Difference between revisions of "Template:DisplaySource"

From Wikispooks
Jump to navigation Jump to search
(Fix)
Line 4: Line 4:
 
Usage:<br/>
 
Usage:<br/>
 
:{{t|<nowiki>{{DisplaySource|Source|SourceURL|SourceName|SourceDetail}}</nowiki>}}
 
:{{t|<nowiki>{{DisplaySource|Source|SourceURL|SourceName|SourceDetail}}</nowiki>}}
</noinclude><includeonly>{{#if: {{{2|}}}|{{#if: {{{2|}}}| [{{{2}}} {{{3|}}}]|{{{3|}}}|}} ({{{4|}}})|{{#if: {{{1|}}}|{{{1|}}}|{{#if: {{{3|}}}| {{{3}}} ({{{4|}}})|{{RED|Unknown}}[[Category:Unsourced Documents]]}}}}}}</includeonly>
+
</noinclude><includeonly>{{#if: {{{2|}}}|{{#if: {{{2|}}}| [{{{2}}} {{{3|}}}]|{{{3|}}}|}} {{#if: {{{4|}}}|({{{4}}})|}}|{{#if: {{{1|}}}|{{{1|}}}|{{#if: {{{3|}}}| {{{3}}} {{#if: {{{4|}}}|({{{4}}})|}}|{{RED|Unknown}}[[Category:Unsourced Documents]]}}}}}}</includeonly>

Revision as of 07:47, 3 December 2013

Used to show the source of a document.
The parameters are as described in the parent template template:DocProv.

Usage:

{{DisplaySource|Source|SourceURL|SourceName|SourceDetail}}