The SpongeBob Wiki has a guideline regarding the use of image galleries — collections of episode screenshots are no longer allowed on galleries due to potential fair use violations.

Difference between revisions of "Template:Aboutfile"

From the SpongeBob Wiki, the SpongeBob encyclopedia
Jump to navigationJump to search
(html5)
(file)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
{| class="notice-template" style="background:#FFF; width:50%; border: 1px solid black"
<includeonly>{| class="notice-template" style="background:#FFF; width:75%; border: 1px solid black"
|-
|-
! colspan=2 style="background:#F8E972" | File information
! colspan=2 style="background:#F8E972" | File information
Line 18: Line 18:
{{!}}-
{{!}}-
}}
}}
|}{{#ifeq: {{{1}}}|Subject of the image|[[Category:Files with broken Aboutfile template]]}}{{#ifeq: {{{2}}}|Where you found the image|[[Category:Files with broken Aboutfile template]]}}{{#ifeq: {{{3}}}|Artist|[[Category:Files with broken Aboutfile template]]}}{{#ifeq: {{{4}}}|Describe edits, if any|[[Category:Files with broken Aboutfile template]]}}{{#ifeq: {{{5}}}|Other versions (use file link)|[[Category:Files with broken Aboutfile template]]}}<noinclude>
|}{{#ifeq:{{{1}}}|Subject of the image|[[Category:Files with broken Aboutfile template]]}} {{#ifeq:{{{2}}}|Where you found the image|[[Category:Files with broken Aboutfile template]]}} {{#ifeq:{{{3}}}|Artist|[[Category:Files with broken Aboutfile template]]}} {{#ifeq:{{{4}}}|Describe edits, if any|[[Category:Files with broken Aboutfile template]]}} {{#ifeq:{{{5}}}|Other versions (use file link)|[[Category:Files with broken Aboutfile template]]}} {{#if:{{{1|}}}{{{2|}}}{{{3|}}}{{{4|}}}{{{5|}}}||[[Category:Files with broken Aboutfile template]]}}</includeonly><noinclude>
{{br}}
{{br}}
This template has five variables:
This template has five parameters:
*'''1''' is the description of the subject. It can be a descriptive sentence or two about what's in the image, or even a mere link to the subject that's pictured.
*'''1''' is the description of the subject. It can be a descriptive sentence or two about what's in the image, or even a mere link to the subject that's pictured.
*'''2''' is the source, such as an external link to where you originally found the image. If you generated the image yourself, i.e. with a capture card or scanner, you can put the game (or manual, film, etc.) itself as the source. Otherwise, the name of the game should be in the description, rather than the source.
*'''2''' is the source, such as an external link to where you originally found the image. If you generated the image yourself, i.e. with a capture card or scanner, you can put the game (or manual, film, etc.) itself as the source. Otherwise, the name of the game should be in the description, rather than the source.
Line 27: Line 27:
*'''5''' is "other versions". If there is another image on the same subject, try to link to it using <nowiki>[[:File:Filename.ext]]</nowiki>.
*'''5''' is "other versions". If there is another image on the same subject, try to link to it using <nowiki>[[:File:Filename.ext]]</nowiki>.


To use some but not all of these variables, use, for example, something like this:<br>&nbsp; &nbsp;<code><nowiki>{{aboutfile|2=external link|3=[[User:Artist|Artist]]|5=[[:File:Otherone.png]]}}</nowiki></code>
To use some but not all of these parameters, use, for example, something like this:<br>&nbsp; &nbsp;<code><nowiki>{{aboutfile|2=external link|3=[[User:Artist|Artist]]|5=[[:File:Otherone.png]]}}</nowiki></code>
<br>The first two variables are the most commonly used ones, however, and they can simply be entered like this:<br>&nbsp; &nbsp;<code><nowiki>{{aboutfile|summary|external link}}</nowiki></code>


Credit to [[mariowiki:Template:Aboutfile|Super Mario Wiki]].
The first two parameters are the most commonly used ones, however, and they can simply be entered like this:<br>&nbsp; &nbsp;<code><nowiki>{{aboutfile|summary|external link}}</nowiki></code>


[[Category:Templates]]</noinclude>
While use of this template is ''optional'' for image summaries, it is recommended. The preloaded coding now automatically appears when [[Special:Upload|uploading]] a file. It should either be formatted correctly, or removed before uploading.
 
Credit to [[mariowiki:Template:Aboutfile|Super Mario Wiki]] for the original template.
 
[[Category:File notices]]</noinclude>

Latest revision as of 15:26, June 9, 2021

This template has five parameters:

  • 1 is the description of the subject. It can be a descriptive sentence or two about what's in the image, or even a mere link to the subject that's pictured.
  • 2 is the source, such as an external link to where you originally found the image. If you generated the image yourself, i.e. with a capture card or scanner, you can put the game (or manual, film, etc.) itself as the source. Otherwise, the name of the game should be in the description, rather than the source.
  • 3 is the artist, if you know who made it (maybe yourself).
  • 4 is "edited". If the image has been altered from the original, describe the modifications.
  • 5 is "other versions". If there is another image on the same subject, try to link to it using [[:File:Filename.ext]].

To use some but not all of these parameters, use, for example, something like this:
   {{aboutfile|2=external link|3=[[User:Artist|Artist]]|5=[[:File:Otherone.png]]}}

The first two parameters are the most commonly used ones, however, and they can simply be entered like this:
   {{aboutfile|summary|external link}}

While use of this template is optional for image summaries, it is recommended. The preloaded coding now automatically appears when uploading a file. It should either be formatted correctly, or removed before uploading.

Credit to Super Mario Wiki for the original template.