Wikisage, the free encyclopedia of the second generation, is digital heritage

Template:Attribution:en.wp: Difference between revisions

From Wikisage
Jump to navigation Jump to search
No edit summary
(add documentation)
Line 1: Line 1:
{{{heading|'''Attribution'''
<br>{{{heading|'''Attribution'''
}}}
}}}
This article incorporates text from the following revision of the English Wikipedia article "{{{name}}}": {{#tag:nowiki|{{{link}}}}}.
This article incorporates text from the following revision of the English Wikipedia article "{{{name}}}": {{#tag:nowiki|{{{link}}}}}.<noinclude>
==Documentation==
This template can be used to provide attribution when a Wikisage article incorporates text from an English Wikipedia article. There are two required parameters and one optional parameter.
{| class="wikitable"
|-
! Parameter !! Value !! Required?
|-
| <code>name=</code> || The name of the Wikipedia article. || Yes
|-
| <code>link=</code> || A [[wikipedia:Help:Permanent link|permanent link]] to the revision of the Wikipedia article being copied. || Yes
|-
| <code>heading=</code> || The text saying "Attribution" can be hidden by including this parameter without a value. This is useful when multiple Wikipedia articles are being attributed in the one Wikisage article; use the template as normal for the first Wikipedia article, then include an empty heading parameter for each further usage. || No
|}
 
===Examples===
''Standard usage:''
 
<code><nowiki>{{Attribution:en.wp |name=Earth |link=https://en.wikipedia.org/w/index.php?title=Earth&oldid=904233110 }}</nowiki></code>
{{Attribution:en.wp |name=Earth |link=https://en.wikipedia.org/w/index.php?title=Earth&oldid=904233110 }}
<hr>
''Hiding "Attribution":''
 
<code><nowiki>{{Attribution:en.wp |name=Earth |link=https://en.wikipedia.org/w/index.php?title=Earth&oldid=904233110 |heading= }}</nowiki></code>
{{Attribution:en.wp |name=Earth |link=https://en.wikipedia.org/w/index.php?title=Earth&oldid=904233110 |heading= }}
[[Category:Wikisage:Template]]

Revision as of 22:59, 30 June 2019


Attribution

This article incorporates text from the following revision of the English Wikipedia article "{{{name}}}": {{{link}}}.

Documentation

This template can be used to provide attribution when a Wikisage article incorporates text from an English Wikipedia article. There are two required parameters and one optional parameter.

Parameter Value Required?
name= The name of the Wikipedia article. Yes
link= A permanent link to the revision of the Wikipedia article being copied. Yes
heading= The text saying "Attribution" can be hidden by including this parameter without a value. This is useful when multiple Wikipedia articles are being attributed in the one Wikisage article; use the template as normal for the first Wikipedia article, then include an empty heading parameter for each further usage. No

Examples

Standard usage:

{{Attribution:en.wp |name=Earth |link=https://en.wikipedia.org/w/index.php?title=Earth&oldid=904233110 }}
Attribution

This article incorporates text from the following revision of the English Wikipedia article "Earth": https://en.wikipedia.org/w/index.php?title=Earth&oldid=904233110.


Hiding "Attribution":

{{Attribution:en.wp |name=Earth |link=https://en.wikipedia.org/w/index.php?title=Earth&oldid=904233110 |heading= }}
This article incorporates text from the following revision of the English Wikipedia article "Earth": https://en.wikipedia.org/w/index.php?title=Earth&oldid=904233110.