Template:Aboutfile: Difference between revisions

From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
No edit summary
No edit summary
Line 1: Line 1:
{| id="aboutfile" class="notice-template" style="font-size:95%;border:1px solid black;border-collapse:collapse;padding:3px;margin:5px auto;width:95%;background:#eee" width="100%" cellpadding="4"
<includeonly>{| id="aboutfile" class="notice-template" style="font-size:95%;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:white;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|}}}|{{!}}id="fileinfotpl_desc" style="width:10em"{{!}}Description{{!}}{{!}}{{{1}}}
{{#if:{{{1|}}}|{{!}}style="width:10em" id="fileinfotpl_desc"{{!}}Description{{!}}{{!}}{{{1}}}
{{!}}-
{{!}}-
}}
}}
{{#if:{{{2|}}}|{{!}}id="fileinfotpl_src" style="width:10em"{{!}}Source{{!}}{{!}}{{{2}}}
{{#if:{{{2|}}}|{{!}}style="width:10em" id="fileinfotpl_src"{{!}}Source{{!}}{{!}}{{{2}}}
{{!}}-
{{!}}-
}}
}}
{{#if:{{{3|}}}|{{!}}id="fileinfotpl_aut" style="width:10em"{{!}}Artist{{!}}{{!}}{{{3}}}
{{#if:{{{3|}}}|{{!}}style="width:10em" id="fileinfotpl_aut"{{!}}Artist{{!}}{{!}}{{{3}}}
{{!}}-
{{!}}-
}}
}}
Line 19: Line 19:
{{!}}-
{{!}}-
}}
}}
|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>
|colspan="2" style="font-size:95%;color:#f6f6f6;text-align:right;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: {{{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]]}}<includeonly>{{#if:{{{1|}}}|{{#seo:description={{{1}}}}}}}</includeonly><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 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 28: Line 28:
*'''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>


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 {{plain link|1=[https://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.
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. Otherwise, it would look like {{plain link|[{{fullurl: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 [https://starwars.fandom.com/wiki/Template:Information Wookieepedia] for the design inspiration.
Credit to [https://starwars.fandom.com/wiki/Template:Information Wookieepedia] for the design inspiration.


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

Revision as of 13:52, April 28, 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. 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.