Difference between revisions of "Template:DisplaySource"

From Wikispooks
Jump to navigation Jump to search
m (Text replacement - "|SourceURL" to "|sourceURL")
m (Text replacement - "SourceDetail" to "source_details")
Line 3: Line 3:
 
<br/>
 
<br/>
 
Usage:<br/>
 
Usage:<br/>
:{{t|<nowiki>{{DisplaySource|sourceURL|SourceName|SourceDetail}}</nowiki>}}
+
:{{t|<nowiki>{{DisplaySource|sourceURL|SourceName|source_details}}</nowiki>}}
 
</noinclude><includeonly>{{#if: {{{1|}}}|{{#if: {{{2|}}}| [[sourced from::{{{2|}}}]] ([{{{1|}}} Link])| [{{{1|}}} Link]}} {{#if: {{{3|}}}|({{{3}}})|}}|{{#if: {{{2|}}}| [[sourced from::{{{2|}}}]] {{#if: {{{3|}}}|({{{3}}})|}}|{{RED|Unknown}}[[Category:Unsourced Documents]]}}}}</includeonly>
 
</noinclude><includeonly>{{#if: {{{1|}}}|{{#if: {{{2|}}}| [[sourced from::{{{2|}}}]] ([{{{1|}}} Link])| [{{{1|}}} Link]}} {{#if: {{{3|}}}|({{{3}}})|}}|{{#if: {{{2|}}}| [[sourced from::{{{2|}}}]] {{#if: {{{3|}}}|({{{3}}})|}}|{{RED|Unknown}}[[Category:Unsourced Documents]]}}}}</includeonly>

Revision as of 05:04, 7 July 2014

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|source_details}}