Template:Bookcover: Difference between revisions
From MediaWiki
Jump to navigationJump to search
Cyberlink420 (talk | contribs) mNo edit summary |
Tigerpaw28 (talk | contribs) Automated documentation update |
||
| Line 1: | Line 1: | ||
< | <noinclude>__NOTOC__ | ||
==Description== | |||
To insert this template into an image description, use the following syntax: | |||
'''<tt><nowiki>{{bookcover}}</nowiki></tt>''' | '''<tt><nowiki>{{bookcover}}</nowiki></tt>''' | ||
The syntax for this is: | |||
'''<tt><nowiki>{{bookcover|source=SOURCENAME|owner=OWNERNAME|excerpt=yes|cover=2007 edition}}</nowiki></tt>''' | '''<tt><nowiki>{{bookcover|source=SOURCENAME|owner=OWNERNAME|excerpt=yes|cover=2007 edition}}</nowiki></tt>''' | ||
[[Category:Basic image templates|B]]</noinclude> | ==Usage== | ||
===Parameters=== | |||
====Required==== | |||
This template takes one required anonymous parameter. | |||
* ''source'' - The publisher and art credits for the cover. If not provided, a note will be shown reminding the uploaded to add them when they are known. | |||
* ''excerpt/extract'' - If set to true, the description text will specify the image is only an excerpt/extract. | |||
* ''cover'' - Specific details about which cover variant this image is of. | |||
* ''owner'' - Who owns the copyright on this image? | |||
===Code=== | |||
<pre> | |||
{{Bookcover | |||
|source= | |||
|excerpt= | |||
|extract= | |||
|cover= | |||
|param1 | |||
|owner= | |||
}} | |||
</pre> | |||
==Examples== | |||
===Code=== | |||
<pre> | |||
{{bookcover|source=ibooks' ''Transformers Legends''|excerpt=y}} | |||
</pre> | |||
===Result=== | |||
{{bookcover|source=ibooks' ''Transformers Legends''|excerpt=y}} | |||
[[Category:Basic image templates|B]] | |||
</noinclude> | |||
<includeonly> | |||
<onlyinclude>{{#if:{{{source|}}} ||{{Unknown_source}}}} | |||
<div style="margin:0 1em; padding:.5em; background:#f7f8ff; border:thin solid #aaa"> | |||
This image is {{#if:{{{excerpt|{{{extract|}}}}}}|an excerpt from}} {{{cover|the cover}}} of {{{source|{{{1|a single (non-comic) book}}}}}}, the copyright for which is owned by {{{owner|either Hasbro/TakaraTomy, or the publisher or artist who produced this cover}}}. It is believed that book covers may be used on '''{{SITENAME}}''' under the {{w|fair use}} provision of {{w|United States copyright law}}. See [[Project:Copyrights|Copyrights]].{{#if:{{{source|}}} ||<br><br>'''To the uploader:''' Please include both the publisher of this issue, and the cover artist, when known.}} | |||
</div> | |||
{{#ifeq: {{NAMESPACE}}|File|[[Category:Book covers]]}}</onlyinclude> | |||
</includeonly> | |||
Revision as of 01:05, 29 August 2022
Description
To insert this template into an image description, use the following syntax:
{{bookcover}}
The syntax for this is:
{{bookcover|source=SOURCENAME|owner=OWNERNAME|excerpt=yes|cover=2007 edition}}
Usage
Parameters
Required
This template takes one required anonymous parameter.
- source - The publisher and art credits for the cover. If not provided, a note will be shown reminding the uploaded to add them when they are known.
- excerpt/extract - If set to true, the description text will specify the image is only an excerpt/extract.
- cover - Specific details about which cover variant this image is of.
- owner - Who owns the copyright on this image?
Code
{{Bookcover
|source=
|excerpt=
|extract=
|cover=
|param1
|owner=
}}
Examples
Code
{{bookcover|source=ibooks' ''Transformers Legends''|excerpt=y}}
Result
This image is an excerpt from the cover of ibooks' Transformers Legends, the copyright for which is owned by either Hasbro/TakaraTomy, or the publisher or artist who produced this cover. It is believed that book covers may be used on MediaWiki under the fair use provision of United States copyright law. See Copyrights.

