Difference between revisions of "Template:PageCredit"

From Wikispooks
Jump to navigation Jump to search
(larger image)
(Site credit in metadata)
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]]. The syntax is:  
 
<pre>
 
<pre>
{{Test/pagecredit2
+
{{{{{PAGENAME}}}
|site=  
+
|site=
 
|date=
 
|date=
|url=  
+
|url=
 
}}
 
}}
 
</pre>
 
</pre>
</noinclude><includeonly><div style="background: #eeeeff; color: black; vertical-align: middle; text-align:center">{{#ifexist: Image:{{{site}}}.png| [[image:{{{site}}}.png|link={{{site}}}|80px]]|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]]|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>
 
</includeonly>
 
</includeonly>

Revision as of 04:48, 16 July 2015

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

{{{{{PAGENAME}}}
|site=
|date=
|url=
}}