No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
+ | <includeonly><div style="background-color: #fefefe; border-collapse: collapse; border-color: #d6d6d6; border-radius: 3px; border-style: solid; border-left-width: 8px; border-bottom-width: 1px; border-right-width: 1px; border-top-width: 1px; color: #333; display: flex; margin: 0 auto 5px auto; min-height: 32px; padding: 0.25em 0.5em; {{{style|}}}" class="plainlinks {{{class|}}}"> |
||
− | ;Description |
||
+ | {{#if:{{{image|}}} | <span style="padding: 2px 0px 2px 0.5em; text-align: center; width: 60px;">[[File:{{{image}}}{{!}}48px{!}}alt{{=}}]]</span>}} |
||
− | This template creates a direct link to upload a given file. |
||
+ | {{{text|''Your license text is not specified''}}} |
||
− | |||
+ | </div></includeonly><noinclude> |
||
− | ;Syntax |
||
+ | {{documentation}}</noinclude> |
||
− | <nowiki>{{uploadlink|file}}</nowiki> |
||
− | <nowiki>{{uploadlink|file|link text}}</nowiki> |
||
− | <nowiki>{{uploadlink|file|reupload=yes}}</nowiki> |
||
− | <nowiki>{{uploadlink|file|link text|reupload=yes}}</nowiki> |
||
− | |||
− | Setting <code>reupload</code> to <code>yes</code> indicates there is a file there and this link should be for uploading a new version. You should verify the file exists before using this form. |
||
− | |||
− | <includeonly>[[Category:General wiki templates]]</includeonly><noinclude>[[Category:Template documentation]]</noinclude> |
Latest revision as of 23:11, 17 November 2020
Template documentation
|
---|
Note: portions of the template sample may not be visible without values provided. |
View or edit this documentation. (About template documentation) |
Editors can experiment in this template's sandbox and test case pages. |
- Description
- This template is used to create the box used by the various image license templates. The default styling is currently geared to a light-themed wiki. If your wiki has a dark theme and this template is too bright relative to the other elements on your wiki, simply change the following style parameters:
background-color:
This is the color of the background and is currently set to:#fefefe
border-color:
This is the color of the borders and is currently set to:#d6d6d6
color:
This is the color of the text and is currently set to:#333
- Syntax
- Type
{{LicenseBox|<text=License text>}}
on the image information page.