Template:Bookinterior: Difference between revisions

From MediaWiki
Jump to navigationJump to search
mNo edit summary
Tigerpaw28 (talk | contribs)
Automated documentation update
Line 1: Line 1:
<includeonly>{{#if:{{{source|}}} ||{{Unknown_source}}}}</includeonly>
<noinclude>__NOTOC__
<div style="margin:0 1em; padding:.5em; background:#f7f8ff; border:thin solid #aaa">
==Description==
This image is {{{1|a page or illustration}}} from {{{source|a book}}}, the copyright for which is owned by {{{owner|either the publisher or the artist and/or writer who produced this issue}}}. It is believed that low resolution pages or small excerpts may be used on '''{{SITENAME}}''' under the {{w|fair use}} provision of {{w|United States copyright law}}. See [[Transformers Wiki:Copyrights|Copyrights]].{{#if:{{{source|}}} ||<br><br>'''To the uploader:''' Please include the publisher of this issue, the artist, and writer when known.}}
To insert this template into an image description, use the following syntax:
</div>


{{#if:{{{nocategory|}}} ||<includeonly>{{#ifeq:{{{type|}}}|text story|[[Category:Text story interior images]]|{{#ifeq:{{{source|}}}|Transformers Generations|[[Category:Generations book interior images]]|[[Category:Book interior images]]}}}}</includeonly>}}
'''<tt><nowiki>{{bookinterior}}</nowiki></tt>'''
<noinclude>To insert this template into an image description, use the following syntax:


'''<tt><nowiki>{{bookinterior}}</nowiki></tt>'''
Use the following syntax and fill it in like this:


It can accept two optional parameters to identify the source of the image, and the copyright holder. The syntax for this is:
'''<tt><nowiki>{{bookinterior|type=text story}}</nowiki></tt>'''
==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.
* ''owner'' - Who owns the copyright on this image?
* ''type'' - The title of the TPB this image is from.


'''<tt><nowiki>{{bookinterior|source=SOURCENAME|owner=OWNERNAME}}</nowiki></tt>'''
===Code===
<pre>
{{Bookinterior
|source=
|param1
|owner=
|type=
}}
</pre>
==Examples==
===Code===
<pre>
{{bookinterior|source=Forest Rescue Mission}}
</pre>
===Result===
{{bookinterior|source=Forest Rescue Mission}}


A third optional parameter can be set to specify the image as being specifically from a prose story. Use the following syntax and fill it in like this:
[[Category:Basic image templates|B]]
</noinclude>


'''<tt><nowiki>{{bookinterior|type=text story}}</nowiki></tt>'''
<includeonly>
<onlyinclude>{{#if:{{{source|}}} ||{{Unknown_source}}}}
<div style="margin:0 1em; padding:.5em; background:#f7f8ff; border:thin solid #aaa">
This image is {{{1|a page or illustration}}} from {{{source|a book}}}, the copyright for which is owned by {{{owner|either the publisher or the artist and/or writer who produced this issue}}}. It is believed that low resolution pages or small excerpts may be used on '''{{SITENAME}}''' under the {{w|fair use}} provision of {{w|United States copyright law}}. See [[Transformers Wiki:Copyrights|Copyrights]].{{#if:{{{source|}}} ||<br><br>'''To the uploader:''' Please include the publisher of this issue, the artist, and writer when known.}}
</div>


[[Category:Basic image templates|B]]</noinclude>
}}
{{#ifeq: {{NAMESPACE}}|File|[[Category:Text story interior images]]|{{#ifeq:{{{source|}}}|Transformers Generations|[[Category:Generations book interior images]]|[[Category:Book interior images]]}}</onlyinclude>
</includeonly>

Revision as of 01:05, 29 August 2022

Description

To insert this template into an image description, use the following syntax:

{{bookinterior}}

Use the following syntax and fill it in like this:

{{bookinterior|type=text story}}

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.
  • owner - Who owns the copyright on this image?
  • type - The title of the TPB this image is from.

Code

{{Bookinterior
|source=
|param1
|owner=
|type=
}}

Examples

Code

{{bookinterior|source=Forest Rescue Mission}}

Result

This image is a page or illustration from Forest Rescue Mission, the copyright for which is owned by either the publisher or the artist and/or writer who produced this issue. It is believed that low resolution pages or small excerpts may be used on MediaWiki under the fair use provision of United States copyright law. See Copyrights.

}} {{#ifeq: Template|File||