Difference between revisions of "Template:File Info"
From Nookipedia, the Animal Crossing wiki
AlexBot2004 (talk | contribs) (Template for file information; adapted from Super Mario Wiki, redesigned appearance by sunmarsh) |
PanchamBro (talk | contribs) (adding hidden category to be used by Template:LicenseBox) |
||
(14 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
+ | <includeonly>{{#if: {{{source|}}} | | {{Missing Source}}}}{{#seo:|description={{#invoke:Plain text|main|{{{description}}}}}}}</includeonly> | ||
{| class="notice-template" style="width:100%; font-size:95%; border:1px solid #999; padding:3px; margin:5px auto; background:#eee; {{Roundy|18px}}" cellpadding="4" | {| class="notice-template" style="width:100%; font-size:95%; border:1px solid #999; padding:3px; margin:5px auto; background:#eee; {{Roundy|18px}}" cellpadding="4" | ||
| colspan="2" style="font-size:11pt; border-bottom: 1px solid #CCC;"|<big><span style="font-family:Coustard">File information - {{PAGENAME}}</span></big> | | colspan="2" style="font-size:11pt; border-bottom: 1px solid #CCC;"|<big><span style="font-family:Coustard">File information - {{PAGENAME}}</span></big> | ||
|- | |- | ||
− | {{#if:{{{ | + | {{#if:{{{description|}}}|{{!}}style="width:10em"{{!}}{{Colorshow|5b5b5b|Description}}{{!}}{{!}}{{{description}}} |
− | {{!}}-|[[Category:Files without a description]] | + | {{!}}-|<includeonly>[[Category:Files without a description]]</includeonly> |
}} | }} | ||
− | {{#if:{{{ | + | {{#if:{{{source|}}}|{{!}}style="width:10em"{{!}}{{Colorshow|5b5b5b|Source}}{{!}}{{!}}{{{source}}} |
− | {{!}}-| | + | {{!}}-| |
}} | }} | ||
− | {{#if:{{{ | + | {{#if:{{{edits|}}}|{{!}}style="width:10em"{{!}}{{Colorshow|5b5b5b|Edit(s)}}{{!}}{{!}}{{{edits}}} |
{{!}}- | {{!}}- | ||
}} | }} | ||
− | {{#if:{{{ | + | {{#if:{{{other-versions|}}}|{{!}}style="width:10em"{{!}}{{Colorshow|5b5b5b|Other version(s)}}{{!}}{{!}}{{{other-versions}}} |
{{!}}- | {{!}}- | ||
}} | }} | ||
− | {{#if:{{{ | + | {{#if:{{{source-file-name|}}}|{{!}}style="width:10em"{{!}}{{Colorshow|5b5b5b|Source file name}}{{!}}{{!}}<tt>{{{source-file-name}}}</tt> |
{{!}}- | {{!}}- | ||
}} | }} | ||
− | |colspan="2" style="line-height:16px; text-align:right; border-top: 1px solid #CCC; padding: | + | |colspan="2" style="line-height:16px; text-align:right; border-top: 1px solid #CCC; padding:3px 8px 4px 0;"|<small>[[Help:Images|{{Colorshow|333|Help:Images}}]] • [[Nookipedia:Upload policy|{{Colorshow|333|Upload policy}}]]</small> |
− | |}<noinclude>[[Category:Templates]]{{Documentation}}</noinclude> | + | |}<includeonly>[[Category:Files using File Info]]</includeonly><noinclude>[[Category:Templates]]{{Documentation}}</noinclude> |
Latest revision as of 06:32, May 31, 2022
File information - File Info | |
Help:Images • Upload policy |
Template documentation (view)
This template is complex or is transcluded on a large number of pages.
Due to the sensitive nature of this template, it has been fully protected to prevent large-scale disruption from untested changes. Any changes made by staff should first be tested in a sandbox. Please consider discussing planned changes on the talk page or with staff members before implementing them.
This template is complex or is transcluded on a large number of pages.
Due to the sensitive nature of this template, it has been fully protected to prevent large-scale disruption from untested changes. Any changes made by staff should first be tested in a sandbox. Please consider discussing planned changes on the talk page or with staff members before implementing them.
Usage
{{File Info |description = |source = |edits = |other-versions = |source-file-name = }}
This template is to be used on file pages to describe the file in question. It has six variables:
- description — Can be a descriptive sentence or two about what's in the image, or even a mere link to the subject that's pictured. All files should have a description and ones that do not are automatically added to Category:Files without a description.
- source — The source of the file, 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, put what program/capture card you used to get the image. If your used a game/console's built-in screenshot function, put the console as the source (e.g. Nintendo Switch native capture). If it is from a website, link to the page it was displayed on or the file page itself. All files should have a source and ones that do not are automatically added to Category:Files without a source.
- edits — If the image has been altered from the original in any way (including cropping or optimizing), describe the modifications.
- other-versions — If there is another image on the same subject (e.g. multiple angles of the same artwork or a storage icon/sprite and an inventory icon), link to it using
[[:File:Filename.ext]]
. - source-file-name — The file's original name if it comes from an official Nintendo-owned source (e.g. nintendo.com, animal-crossing.com, press kits, ripped directly from a game, but not third-party sites), the original filename (including extension) should be noted. Note that files ripped directly from a game usually use non-standard file types, so if a ripped file is a PNG, it has likely been converted. If this is the case and you do not know the original file extension, simply leave the extension out.
All parameters are optional, although every file should have a description and source. The first two variables are the most commonly used ones, and they can simply be entered like this:
{{File Info|description = |source = }}