Template:Aboutfile: Difference between revisions
(No more "License" template; rewriting other parts; adding a simpler way to code (don't always need "1=", "2=").) |
(Some minor changes, and adding info about how the code automatically appears when uploading files.) |
||
Line 23: | Line 23: | ||
<noinclude> | <noinclude> | ||
This template has five variables: | This template has five variables: | ||
*1 is 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 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. | *'''2''' is the source, such as an external link to where you originally found the image. | ||
*3 is the artist, if you know who made it (maybe yourself). | *'''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. | *'''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 <nowiki>[[:File: | *'''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, use, | To use some but not all of these variables, use, for example, something like this:<br> <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> <code><nowiki>{{aboutfile|summary|external link}}</nowiki></code> | <br>The first two variables are the most commonly used ones, however, and they can simply be entered like this:<br> <code><nowiki>{{aboutfile|summary|external link}}</nowiki></code> | ||
While this template is ''optional'' for image summaries, it | 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. Otherwise, it would look like <span class="plainlinks">[http://www.mariowiki.com/index.php?title=File:MALSS_SMB_Qblock.gif&oldid=1257973#Summary this]</span class>. If a user repeatedly uploads files without correctly formatting aboutfile, a {{tem|reminder}} or {{tem|aboutfile-reminder}} should be issued. | ||
Credit to [[wikia:c:starwars:Template:Information|Wookieepedia]] for design inspiration. | Credit to [[wikia:c:starwars:Template:Information|Wookieepedia]] for the design inspiration. | ||
[[Category:Notice Templates|{{PAGENAME}}]]</noinclude> | [[Category:Notice Templates|{{PAGENAME}}]]</noinclude> |
Revision as of 05:39, May 16, 2012
Aboutfile | |
Info | |
Template |
This template has five variables:
- 1 is 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.
- 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 variables, use, for example, something like this:
{{aboutfile|2=external link|3=[[User:Artist|Artist]]|5=[[:File:Otherone.png]]}}
The first two variables 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. Otherwise, it would look like this. If a user repeatedly uploads files without correctly formatting aboutfile, a {{reminder}} or {{aboutfile-reminder}} should be issued.
Credit to Wookieepedia for the design inspiration.