Difference between revisions of "Template:Web citation"

From The WMD Library
Jump to: navigation, search
(Added new properties web link and archive link)
Line 5: Line 5:
 
</div>
 
</div>
 
{{ #if: {{{archive link|}}}|
 
{{ #if: {{{archive link|}}}|
Archive.org Link: [{{{archive link}}} saved]
+
Archive.org Link: [[[archive link::{{{archive link}}}]] saved]
 
}}
 
}}
  
 
[[auto category::8| ]]
 
[[auto category::8| ]]
<div class="wmd-cite"><span class="wmd-cite-sechead">Web:</span>[{{{web link}}} {{{title}}} - {{{date}}} - {{{web link}}}]</div>
+
<div class="wmd-cite"><span class="wmd-cite-sechead">Web:</span>[[[web link::{{{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>}}

Revision as of 14:14, 10 May 2018

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


Web: {{{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