Difference between revisions of "Template:PageCredit"

From Wikispooks
Jump to navigation Jump to search
(fix description)
(Fix text to allow multiple invocations on the same page.)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>Template to place a credit on pages originally scraped from other sites - most notably [[Wikipedia]]. The syntax is:  
+
<noinclude>Template to place a credit on pages originally scraped from other sites - most notably [[Wikipedia]]. It is a footer template.
 +
The syntax is:  
 
<pre>
 
<pre>
 
{{PageCredit
 
{{PageCredit
Line 6: Line 7:
 
|url=
 
|url=
 
}}
 
}}
</pre>
+
</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]]|x}} The first version of this page was imported from {{LinkIfPageExists|{{{site}}}}} on {{{date}}}.<br/>''{{{site}}} is <u>not</u> affiliated with [[Wikispooks]].'' &nbsp; Original page source [{{{url}}} here]</div>
+
</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>
 
</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=
}}