Template:Packinmaterial: Difference between revisions

From MediaWiki
Jump to navigationJump to search
mNo edit summary
Tigerpaw28 (talk | contribs)
m Clean up for description and parameter listing, and adding an example
Line 1: Line 1:
<noinclude>__NOTOC__
<noinclude>__NOTOC__
==Description==
==Description==
To insert this template into an image description, use the following syntax:
This template is used on images of various materials, printed or otherwise, that have been packaged with ''Transformers'' toys.


'''<tt><nowiki>{{Packinmaterial}}</nowiki></tt>'''
The syntax for this is:
'''<tt><nowiki>{{Packinmaterial|a piece of [[pack-in material]] source=SOURCENAME|owner=OWNERNAME}}</nowiki></tt>'''
==Usage==
==Usage==
===Parameters===
===Parameters===
====Required====
====Optional====
This template takes one required anonymous parameter.
* ''source'' - The toy or toy(s) that the pack-in material came with. Defaults to "a Transformers toy". If not provided, a note will be shown reminding the uploader to add them when they are known.
* ''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?
* ''owner'' - Who owns the copyright on this image?
This template also takes one anonymous parameter that can be used to replace the text "<nowiki>a piece of [[pack-in material]]</nowiki>".


===Code===
===Code===
Line 26: Line 22:
===Code===
===Code===
<pre>
<pre>
{{Packinmaterial
{{Packinmaterial}}
|param1
</pre>
|source=
===Result===
|owner=
{{Packinmaterial}}
}}
 
===Code===
<pre>
{{Packinmaterial|a catalog|source=''[[Transformers: Armada (toyline)|Transformers: Armada]]'' [[Optimus Prime (Armada)|Optimus Prime]]}}
</pre>
</pre>
===Result===
===Result===
{{Packinmaterial
{{Packinmaterial|a catalog|source=''[[Transformers: Armada (toyline)|Transformers: Armada]]'' [[Optimus Prime (Armada)|Optimus Prime]]}}
|param1
|source=
|owner=
}}


[[Category:Basic image templates|Packinmaterial]]
[[Category:Basic image templates|Packinmaterial]]

Revision as of 03:14, 30 August 2024

Description

This template is used on images of various materials, printed or otherwise, that have been packaged with Transformers toys.

Usage

Parameters

Optional

  • source - The toy or toy(s) that the pack-in material came with. Defaults to "a Transformers toy". If not provided, a note will be shown reminding the uploader to add them when they are known.
  • owner - Who owns the copyright on this image?

This template also takes one anonymous parameter that can be used to replace the text "a piece of [[pack-in material]]".

Code

{{Packinmaterial
|param1
|source=
|owner=
}}

Examples

Code

{{Packinmaterial}}

Result

This image is a piece of pack-in material included with a Transformers toy, the copyright for which is owned by Hasbro and/or TakaraTomy. 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.


Code

{{Packinmaterial|a catalog|source=''[[Transformers: Armada (toyline)|Transformers: Armada]]'' [[Optimus Prime (Armada)|Optimus Prime]]}}

Result

This image is a catalog included with Transformers: Armada Optimus Prime, the copyright for which is owned by Hasbro and/or TakaraTomy. 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.