Template:Aboutfile: Difference between revisions

From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
No edit summary
mNo edit summary
 
(19 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{|class="notice-template" style="font-size:95%;border:1px solid black;border-collapse:collapse;padding:3px;margin:0 auto;width:95%;background:#eee" width=100% cellpadding=4
<includeonly>{| id="aboutfile" class="notice-template" style="background:#eee;border:1px solid #000;border-collapse:collapse" cellpadding="4"
|colspan=2 style="background:#B73143;color:white;font-size:11pt;border-bottom:1px solid #A73143"|'''File information for {{PAGENAME}}'''
| colspan="2" style="font-size:125%;color:#fff;background:#B73143;border-bottom:1px solid #A73143" | '''File information for {{PAGENAME}}'''
|-
|-
|colspan=2 style="color:#f6f6f6;font-size:9pt;border-bottom:1px solid #B55163;background:#C55163"|'''Info'''
| colspan="2" style="color:#f6f6f6;background:#C55163;border-bottom:1px solid #B55163" | '''Info'''
|-
|-
{{#if:{{{1|}}}|{{!}}style=width:10em{{!}}Description{{!}}{{!}}{{{1}}}
{{#if:{{{1|}}}|{{!}} id="fileinfotpl_desc" style="width:10em;vertical-align:top" {{!}} Description {{!}}{{!}} {{{1}}}}}
{{!}}-
|-
}}
{{#if:{{{2|}}}|{{!}} id="fileinfotpl_src" style="width:10em;vertical-align:top" {{!}} Source {{!}}{{!}} {{{2}}}}}
{{#if:{{{2|}}}|{{!}}style=width:10em{{!}}Source{{!}}{{!}}{{{2}}}
|-
{{!}}-
{{#if:{{{3|}}}|{{!}} id="fileinfotpl_aut" style="width:10em;vertical-align:top" {{!}} Artist {{!}}{{!}} {{{3}}}}}
}}
|-
{{#if:{{{3|}}}|{{!}}style=width:10em{{!}}Artist{{!}}{{!}}{{{3}}}
{{#if:{{{4|}}}|{{!}} style="width:10em;vertical-align:top" {{!}} Edited {{!}}{{!}} {{{4}}}}}
{{!}}-
|-
}}
{{#if:{{{5|}}}|{{!}} style="width:10em;vertical-align:top" {{!}} Other version(s) {{!}}{{!}} {{{5}}}}}
{{#if:{{{4|}}}|{{!}}style=width:10em{{!}}Edited{{!}}{{!}}{{{4}}}
|-
{{!}}-
| colspan="2" style="font-size:95%;text-align:right;color:#f6f6f6;background:#C55163;border-top:1px solid #B55163" | [[Help:Image|<span style="color:#f6f6f6">Help:Image</span>]] • [[MarioWiki:Image use policy|<span style="color:#f6f6f6">Image use policy</span>]]
}}
|} {{#ifeq:{{NAMESPACE}}|File|{{#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]]}} {{#if:{{{1|}}}|{{#seo:description={{{1}}}}}|[[Category:Files with missing Aboutfile description]]}}}}</includeonly><noinclude>{{/doc}}</noinclude>
{{#if:{{{5|}}}|{{!}}style=width:10em{{!}}Other Version(s){{!}}{{!}}{{{5}}}
{{!}}-
}}
|colspan=2 style="border-top:1px solid #B55163;text-align:right;background:#C55163"|<small><sub>[[Help:Image|<font color=#f6f6f6>Help:Image</font>]] <font color=#f6f6f6></font> [[MarioWiki:Image use policy|<font color=#f6f6f6>Image use policy</font>]]</sub></small>
|}{{#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>
This template has five variables:
*'''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 <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>
<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>
 
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 {{Plainlink|1=[http://www.mariowiki.com/index.php?title=File:MALSS_SMB_Qblock.gif&oldid=1257973#Summary this]}}. 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 the design inspiration.[[Category:Image Notices|{{PAGENAME}}]]</noinclude>

Latest revision as of 11:39, March 21, 2024

About

This template is used to document basic information about files uploaded to the wiki. While its usage is optional for personal and project images, an effort should be made to use it for all files included in articles and galleries. The preloaded syntax automatically appears when uploading a new file.

The template should either be formatted correctly or removed before uploading. Otherwise, it will look like this. If a user repeatedly uploads files without correctly formatting the template, a {{reminder}} or {{aboutfile-reminder}} should be issued.

Credit to Wookieepedia for the design inspiration.

Parameters

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 version(s). 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 the parameters, the syntax should look something like this:

{{aboutfile
|1=[[Beezo|Shy Away]]
|2=[[Super Mario RPG: Legend of the Seven Stars]]
|5=Similar artwork: [[:File:SMRPG NS Shy Away.png|Updated variant]]
}}

The first two parameters are the most commonly used ones. A description should always be included, even if it's just a couple words. Files that need a description added can be found in this maintenance category.