Template:Unsplash: Difference between revisions
Jump to navigation
Jump to search
[checked revision] | [checked revision] |
No edit summary |
|||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly>'''{{external|{{{3|https://unsplash.com/@{{{2}}}}}}|© {{{2|{{FIXME}}}}}|mode=silent}}''' ''({{external|{{#ifeq:{{#sub:{{{1}}}|4}}|http|{{{1}}}|https://unsplash.com/photos/{{{1}}}}}|Source|mode=silent}}; {{external|https://unsplash.com/license|Unsplash License|mode=silent}})''</includeonly><noinclude> | <includeonly>'''{{external|{{{3|https://unsplash.com/@{{{2}}}}}}|© {{{name|{{{2|{{FIXME}}}}}}}}|mode=silent}}''' ''({{external|{{#ifeq:{{#sub:{{{1}}}|4}}|http|{{{1}}}|https://unsplash.com/photos/{{{1}}}}}|Source|mode=silent}}; {{external|https://unsplash.com/license|Unsplash License|mode=silent}})''</includeonly><noinclude> | ||
==Usage== | ==Usage== | ||
Template to display uniform copyright information in case of pictures from {{wiki|unsplash}}. | Template to display uniform copyright information in case of pictures from {{wiki|unsplash}}. | ||
Line 19: | Line 19: | ||
{{unsplash|7o4Du7K6wII|DaYsO}} | {{unsplash|7o4Du7K6wII|DaYsO}} | ||
{{interwiki}} | |||
</noinclude> | </noinclude> |
Latest revision as of 17:38, 29 May 2024
Usage
Template to display uniform copyright information in case of pictures from unsplash ().
As the template is rather complex, it can be included in Template:Licence
Arguments
- 1: Either link to the image source or file id
- 2: Creator's unsplash id
- 3 (optional): Link to creator's page
- name (optional): Creator's displaid name, if different from id
Example
{{unsplash|https://unsplash.com/photos/7o4Du7K6wII|DaYsO}}
delivers:
© DaYsO (Source; Unsplash License)
{{unsplash|7o4Du7K6wII|DaYsO}}
delivers: