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
 
(2 intermediate revisions by the same user not shown)
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]
{{#set:  
  archive link={{{archive link}}}
}}
}}
}}


[[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 35:
{{Clear float}}  
{{Clear float}}  
{{GoogleAd-wide}}
{{GoogleAd-wide}}
{{#set:
web link={{{web link}}}
}}
<noinclude>==Usage==
<noinclude>==Usage==
Include the following text to use the template:
Include the following text to use the template:

Latest revision as of 14:25, 10 May 2018

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


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


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



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