Template:Web citation: Difference between revisions

From The WMD Library
Jump to navigation Jump to search
(Added new properties web link and archive link)
No edit summary
Line 5: Line 5:
</div>
</div>
{{ #if: {{{archive link|}}}|
{{ #if: {{{archive link|}}}|
Archive.org Link: [[[archive link::{{{archive link}}}]] saved]
Archive.org Link: [{{{archive link}}} saved]
}}
}}


[[auto category::8| ]]
[[auto category::8| ]]
<div class="wmd-cite"><span class="wmd-cite-sechead">Web:</span>[[[web link::{{{web link}}}]] {{{title}}} - {{{date}}} - {{{web link}}}]</div>
<div class="wmd-cite"><span class="wmd-cite-sechead">Web:</span>[{{{web link}}} {{{title}}} - {{{date}}} - {{{web link}}}]</div>
{{ #if: {{{wmdsays|}}}|{{The Law says|{{{wmdsays}}}}}}}
{{ #if: {{{wmdsays|}}}|{{The Law says|{{{wmdsays}}}}}}}
{{ #if: {{{extract|}}}|<div class="wmd-cite"><span class="wmd-cite-sechead">Extract:</span>{{{extract}}}</div>}}
{{ #if: {{{extract|}}}|<div class="wmd-cite"><span class="wmd-cite-sechead">Extract:</span>{{{extract}}}</div>}}
Line 32: Line 32:
{{Clear float}}  
{{Clear float}}  
{{GoogleAd-wide}}
{{GoogleAd-wide}}
[[web link::{{{web link}}}]]
[[archive link::{{{archive link}}}]]
<noinclude>==Usage==
<noinclude>==Usage==
Include the following text to use the template:
Include the following text to use the template:

Revision as of 14:16, 10 May 2018

[[{{{title}}} - {{{date}}} |{{{title}}}]] - {{{date}}} - {{{source}}}


Web:[{{{web link}}} {{{title}}} - {{{date}}} - {{{web link}}}]


Internal Link: {{{title}}} - {{{date}}}

{{{web link}}} {{{archive link}}}

Usage

Include the following text to use the template:

{{Web citation
|web link=
|title=
|author=
|other authors=
|date=Month dd, YYYY
|source=
|wmdsays=
|extract=
|unique=
|alt pagename=
}}
<no include>{{Web citation cat}}</no include>

The Category: Web Citation will only appear if the page calling the template has the correct page name as defined by the SMW property Web Title