Difference between revisions of "Template:PageCredit"

From Wikispooks
Jump to navigation Jump to search
(Fix text to allow multiple invocations on the same page.)
 
(10 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<noinclude>Template to place a credit on pages originally scraped from other sites - especially wiki sites like Wikipedia. There are 3 parameters: Date, Site Name and url. Syntax is:  
+
<noinclude>Template to place a credit on pages originally scraped from other sites - most notably [[Wikipedia]]. It is a footer template.
PageCredit
+
The syntax is:  
|site=  
+
<pre>
|date=
+
{{PageCredit
|url=  
+
|site=
</noinclude>
+
|date=
*The first version of this page was imported from {{{site}}} on {{{date}}}. Original page source [{{{url}}} here]
+
|url=
 +
}}
 +
</pre>[[Category:Banner_Templates]]
 +
</noinclude><includeonly><div style="background: #eeeeff; color: black; vertical-align: middle; text-align:center">[[Source credit::{{{site|}}}|  ]]{{#ifexist: Image:{{{site}}}.png| [[image:{{{site}}}.png|link={{{site}}}|x40px]]|[Upload logo to [[{{{site}}}.png]]]}} This page imported content from {{LinkIfPageExists|{{{site}}}}} on {{{date}}}.<br/>''{{{site}}} is <u>not</u> affiliated with [[Wikispooks]].'' &nbsp; Original page source [{{{url}}} here]</div>
 +
</includeonly>

Latest revision as of 17:41, 8 June 2018

Template to place a credit on pages originally scraped from other sites - most notably Wikipedia. It is a footer template. The syntax is:

{{PageCredit
|site=
|date=
|url=
}}