Difference between revisions of "Template:PageCredit"

From Wikispooks
Jump to navigation Jump to search
(Site credit in metadata)
(Fix text to allow multiple invocations on the same page.)
 
(3 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>
{{{{{PAGENAME}}}
+
{{PageCredit
 
|site=
 
|site=
 
|date=
 
|date=
 
|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=
}}