WikiPartner (talk | contribs) Creating Template:File information |
WikiPartner (talk | contribs) No edit summary |
||
| Line 1: | Line 1: | ||
<includeonly><div class="wp-file-information"> | <includeonly>{{#wikipartnerfilemeta: | ||
|description={{{description|}}} | |||
|date={{{date|}}} | |||
|source={{{source|}}} | |||
|creator={{{creator|}}} | |||
|creator_type={{{creator_type|}}} | |||
|credit={{{credit|}}} | |||
|copyright={{{copyright|}}} | |||
|license={{{license|}}} | |||
|license_url={{{license_url|}}} | |||
|acquire_license_page={{{acquire_license_page|}}} | |||
}}<div class="wp-file-information"> | |||
<div class="wp-file-information-title">File information</div> | <div class="wp-file-information-title">File information</div> | ||
| Line 49: | Line 60: | ||
<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 88: | ||
| 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. | ||
Revision as of 08:55, 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.