Template:Unsplash: Difference between revisions

From railML 3 Wiki
Jump to navigation Jump to search
[checked revision][checked revision]
No edit summary
Line 7: Line 7:
==Arguments==
==Arguments==
*1: Either link to the image source or file id
*1: Either link to the image source or file id
*2: Creator
*2: Creator's unsplash id
*3 (optional): Link to creator's page
*3 (optional): Link to creator's page
*name (optional): Creator's displaid name, if different from id


==Example==
==Example==

Revision as of 11:12, 13 May 2024

Usage

Template to display uniform copyright information in case of pictures from unsplash (Wiki banner.png).

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:

© DaYsO (Source; Unsplash License)