Template:Aboutfile: Difference between revisions

From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
mNo edit summary
mNo edit summary
 
(46 intermediate revisions by 10 users not shown)
Line 1: Line 1:
{| style="background:#eee; font-size:95%; color:black; text-align:left; border: 1px solid black; border-collapse:collapse; -moz-border-radius:1em" width=100% align=center cellspacing=0 border=0 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" | &nbsp;'''{{PAGENAME}}'''
| colspan="2" style="font-size:125%;color:#fff;background:#B73143;border-bottom:1px solid #A73143" | '''File information for {{PAGENAME}}'''
|-
|-
! colspan=2 style="background:#C55163;color:#f6f6f6;font-size:9pt;border-bottom:1px solid #B55163" | &nbsp;'''Info'''
| colspan="2" style="color:#f6f6f6;background:#C55163;border-bottom:1px solid #B55163" | '''Info'''
|- style="border:0px solid #eee"
|-
{{#if:{{{1|}}}|{{!}} style="width:10em" {{!}} Subject {{!}}{{!}} {{{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}}}
{{!}}-
}}
<noinclude>|-</noinclude>
| colspan=2 style="background:#C55163;border-top:1px solid #B55163;text-align:right" | <small><sub>[[Template:Aboutfile|<span style="color:#f6f6f6">Template</span>]]</sub></small>
|}
<noinclude>
This template has 5 variables:
*1 is the subject, included in the old version. Basically the description, can be a link to what it is, or a sentence or two.
*2 is the source, sometimes an external link
*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>[[:Image:File.ext]]</nowiki>.
 
To use some but not all of these, use, e.g, something like this: <br><code><nowiki>{{aboutfile|2=external link|3=[[User:Artist|Artist]]|5=[[:Image:Otherone.png]]}}</nowiki></code>
 
Template:License redirects here. So, using license at the start also works, though this truly is not a license. This template is ''optional'' for image summaries, but works very well as an image summary and is encouraged to be used, even in part.
 
Credit to [[Wikia:c:starwars:Template:Information|Wookieepedia]] for design inspiration.
 
[[Category:Notice Templates|{{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.