Template:Aboutfile: Difference between revisions

From Mariopedia, a wiki on Mario, Yoshi, Wario, Donkey Kong, Super Smash Bros., and more!
Jump to navigationJump to search
Content added Content deleted
(includeonly)
(sinuglar)
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{| style="background:#eee;border:1px solid #000;border-collapse: collapse;font-size:95%;width: 90%;margin: 5px auto" cellpadding="4"
<includeonly>
|colspan="2" style="font-size:125%;color:#fff;background:#B73143;border-bottom:1px solid #A73143"|'''File information for {{PAGENAME}}'''
{| class="toccolours" style="float:center; margin:0 0 0.5em 1em; width:95%;font-size:95%"
|-
|-
! colspan="2" style="background-color:{{{bgcolor|red}}}; color:{{{txtcolor|white}}}; text-align: center; font-size: 125%;padding:4px" | '''File information for {{PAGENAME}}'''
|colspan="2" style="background:#C55163;color:#F6F6F6;border-bottom:1px solid #B55163"|'''Info'''
|-
|-
{{#if:{{{1|}}}|{{!}}style="width:10em" id="fileinfotpl_desc"{{!}}Description{{!}}{{!}}{{{1}}}
{{#if:{{{1|}}}|
{{!}}-
! style="background-color:{{{bgcolor2|pink}}}; color:{{{txtcolor2|black}}}; text-align: center; font-size: small; width:180px" {{!}} Description
{{!}} style="padding-right: 1em;" {{!}} {{{1|}}}
}}
}}
{{#if:{{{2|}}}|{{!}}style="width:10em" id="fileinfotpl_src"{{!}}Source{{!}}{{!}}{{{2}}}
|-
{{#if:{{{2|}}}|
{{!}}-
! style="background-color:{{{bgcolor2|pink}}}; color:{{{txtcolor2|black}}}; text-align: center; font-size: small;" {{!}} Image Source
{{!}} style="padding-right: 1em;" {{!}} {{{2|}}}
}}
}}
{{#if:{{{3|}}}|{{!}}style="width:10em" id="fileinfotpl_aut"{{!}}Artist{{!}}{{!}}{{{3}}}
|-
{{#if:{{{3|}}}|
{{!}}-
}}
! style="background-color:{{{bgcolor2|pink}}}; color:{{{txtcolor2|black}}}; text-align: center; font-size: small;" {{!}} Edits
{{!}} style="padding-right: 1em;" {{!}} {{{3|}}}
{{#if:{{{4|}}}|{{!}}style="width:10em"{{!}}Edited{{!}}{{!}}{{{4}}}
{{!}}-
}}
{{#if:{{{5|}}}|{{!}}style="width:10em"{{!}}Other version(s){{!}}{{!}}{{{5}}}
{{!}}-
}}
}}
|colspan="2" style="font-size:95%;text-align:right;background:#C55163;color:#F6F6F6;border-top:1px solid #B55163"|{{color-link|Help:Image|#F6F6F6}} • {{color-link|Mariopedia:Image use policy|#F6F6F6|Image use policy}}
|}</includeonly><noinclude>This template displays information about an image, and is intended for file pages only. [[Category:Infobox Templates]]</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]]}} {{#if:{{{1|}}}|{{#seo:description={{{1}}}}}}}</includeonly><noinclude>
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 <nowiki>[[:File:Filename.ext]]</nowiki>.

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>

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>

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. If a user repeatedly uploads files without correctly formatting aboutfile, a {{t|reminder}} or an {{t|aboutfile-reminder}} should be issued.

[[Category:File notices]]</noinclude>

Latest revision as of 23:12, September 6, 2022

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. If a user repeatedly uploads files without correctly formatting aboutfile, a reminder or an aboutfile-reminder should be issued.