Difference between revisions of "Template:PageCredit"

From Wikispooks
Jump to navigation Jump to search
(Box and icon)
(Fix text to allow multiple invocations on the same page.)
 
(6 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 - 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.
 +
The syntax is:  
 
<pre>
 
<pre>
{{Test/pagecredit2
+
{{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">{{#ifexist: Image:Powerbase.png| [[image:{{{site}}}.png|link={{{site}}}|36px]]|x}} The first version of this page was imported from {{LinkIfPageExists|{{{site}}}}} on {{{date}}}.<br/>''This 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=
}}