Contents

Template:File information: Difference between revisions

Creating Template:File information
 
No edit summary
 
(One intermediate revision by the same user not shown)
Line 49: Line 49:
<div class="wp-file-information-label">License</div>
<div class="wp-file-information-label">License</div>
<div class="wp-file-information-value">{{{license}}}</div>
<div class="wp-file-information-value">{{{license}}}</div>
</div>
}}
{{#if:{{{license_url|}}}|
<div class="wp-file-information-row">
<div class="wp-file-information-label">License page</div>
<div class="wp-file-information-value">[{{{license_url}}} View license]</div>
</div>
}}
{{#if:{{{acquire_license_page|}}}|
<div class="wp-file-information-row">
<div class="wp-file-information-label">Licensing</div>
<div class="wp-file-information-value">[{{{acquire_license_page}}} Licensing information]</div>
</div>
</div>
}}
}}
Line 63: Line 77:
| source =
| source =
| creator =
| creator =
| creator_type =
| credit =
| credit =
| copyright =
| copyright =
| license =
| license =
| license_url =
| acquire_license_page =
}}
}}
</pre>
</pre>
'''creator_type''' may be either <code>Person</code> or <code>Organization</code> when known.
'''license_url''' must be the URL of the page describing the image's license.
'''acquire_license_page''' is used only when there is a page explaining how someone can obtain or use the image under a license.


Only include information that is known and verifiable. Do not guess copyright, creator, source, or licensing details.
Only include information that is known and verifiable. Do not guess copyright, creator, source, or licensing details.

Latest revision as of 09:42, 2 September 2026

Displays structured information about a file uploaded to WikiPartner.

Usage

{{File information
| description =
| date =
| source =
| creator =
| creator_type =
| credit =
| copyright =
| license =
| license_url =
| acquire_license_page =
}}

creator_type may be either Person or Organization when known.

license_url must be the URL of the page describing the image's license.

acquire_license_page is used only when there is a page explaining how someone can obtain or use the image under a license.

Only include information that is known and verifiable. Do not guess copyright, creator, source, or licensing details.