Difference between revisions of "Template:PageCredit"

From Wikispooks
Jump to navigation Jump to search
(better handling of missing logo)
(Fix text to allow multiple invocations on the same page.)
 
Line 8: Line 8:
 
}}
 
}}
 
</pre>[[Category:Banner_Templates]]
 
</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]]]}} 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=
}}