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
(oop)
(Credit to [https://starwars.fandom.com/wiki/Template:Information Wookieepedia] for the design inspiration and to the Super Mario Wiki for this iteration of the template (see here: https://www.mariowiki.com/Template:Aboutfile))
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;" {{!}} 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;" {{!}} Artist(s)
{{!}} style="padding-right: 1em;" {{!}} {{{3|}}}
}}
}}
{{#if:{{{4|}}}|{{!}}style="width:10em"{{!}}Edited{{!}}{{!}}{{{4}}}
|-
{{#if:{{{4|}}}|
{{!}}-
! style="background-color:{{{bgcolor2|pink}}}; color:{{{txtcolor2|black}}}; text-align: center; font-size: small;" {{!}} Edits
{{!}} style="padding-right: 1em;" {{!}} {{{4|}}}
}}
}}
{{#if:{{{5|}}}|{{!}}style="width:10em"{{!}}Other version(s){{!}}{{!}}{{{5}}}
|-
{{#if:{{{5|}}}|
{{!}}-
! style="background-color:{{{bgcolor2|pink}}}; color:{{{txtcolor2|black}}}; text-align: center; font-size: small;" {{!}} Other versions
{{!}} style="padding-right: 1em;" {{!}} {{{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|Nintendo Wiki:Image use policy|#F6F6F6|Image use policy}}
|}</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 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.
*'''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.
Line 40: Line 32:
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>
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 is automatically shown when [[Special:Upload|uploading]] a file. This template should either be formatted correctly, or removed before uploading.
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:Infobox templates]]</noinclude>
[[Category:File notices]]</noinclude>