User:IM3847/Photo credit box 2019
Jump to navigation
Jump to search
About[edit]
This is a personal credit box template created to use with my (own) photographs.
Hints about the implementation[edit]
- Around the main table, I put (like in the code for the original {{Information}} template) this division:
<div class="hproduct commons-file-information-table"> ... </div>
. Using these classes allows merging with the main Information box, just as e.g. the {{Location}} templates use it. - Seems that for the
<table>
the singleclass="toccolours"
is sufficient. The {{Information}} template<table>
element usesclass="fileinfotpl-type-information toccolours vevent"
. - The other
style=*
attributes for the table<table>
element have been taken from the {{Information}} template. - The localization for the ‘Attribution’ field uses the same sub-templates as the {{Credit line}} template; so look out if any of them is updated/changed, because this may force us to update this template, too: {{Int:wm-license-cc-attribution}} and {{I18n/Credit line}}.
Template preview[edit]
Colour space | This image file uses the sRGB colour space. |
Attribution (required by the license) | © iMahesh / Wikimedia Commons / CC BY-SA 4.0 |
Using this image |
|
Editing this image | "Please do not overwrite the author's version with a modified image without discussing with the author.The author would like to make corrections only from the uncompressed RAW file. This ensures that changes are preserved and are based on the best possible source to achieve a high quality. If you think that changes are required, please, get in touch with the author. Otherwise, you can upload a new image with a different name without overwriting this one. Use {{Derived from}} or {{Extracted from}} for this purpose. |