Template:Aboutfile: Difference between revisions

m
no edit summary
No edit summary
mNo edit summary
 
(32 intermediate revisions by 7 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>[[MarioWiki:Image Use Policy|<font color=#f6f6f6>need help?</font>]]</sub></small>
|}
<noinclude>
This template has five variables:
*'''1''' is 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.
*'''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 <span class="plainlinks">[http://www.mariowiki.com/index.php?title=File:MALSS_SMB_Qblock.gif&oldid=1257973#Summary this]</span class>. 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>