Jump to content
Toggle menu
  • 3 articles
  • 75 files
  • 7 users
  • 37.9K edits
Neodyland Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Credit line: Difference between revisions

Template page
Add option for 'CC-BY-SA-4.0 & GFDL' per request on talk page
Fix the odd trailing " / " that previously appeared in lots of credit lines, such as in the Stockphoto gadget and in Mediaviewer, due to this template often being used with Author+License, without Other. For example, File:Kormoran am Nordseestrand bei Nebel, Amrum.jpg via User:Frank_Schulenburg/Attribution4
Line 37: Line 37:
-->{{Information field
-->{{Information field
|name=
|name=
|value={{#if:{{{Author|}}}|{{{Author|}}}&nbsp;/&nbsp;}}<!--  
|value={{#if:{{{Author|}}}|{{{Author|}}}}}<!--  
===========================
===========================
=== Other  ===============
=== Other  ===============
Line 43: Line 43:
-->{{#if:{{{Other|}}} |
-->{{#if:{{{Other|}}} |
   {{#switch: {{lc:{{{Other|}}}}}
   {{#switch: {{lc:{{{Other|}}}}}
     |wc|commons|wikimedia commons=[[Main Page|Wikimedia Commons]]
     |wc|commons|wikimedia commons=&nbsp;/&nbsp;[[Main Page|Wikimedia Commons]]
     |wc/title|commons/title|wikimedia commons/title=[[Main Page|Wikimedia Commons]]&nbsp;/&nbsp;<span class="plainlinks noprint">[{{fullurl:{{FULLPAGENAME}}}} "{{#invoke:FileName|removeExtension}}"]</span>
     |wc/title|commons/title|wikimedia commons/title=&nbsp;/&nbsp;[[Main Page|Wikimedia Commons]]<span class="plainlinks noprint">&nbsp;/&nbsp;[{{fullurl:{{FULLPAGENAME}}}} "{{#invoke:FileName|removeExtension}}"]</span>
     |title=<span class="plainlinks noprint">[{{fullurl:{{FULLPAGENAME}}}} "{{#invoke:FileName|removeExtension}}"]</span>
     |title=<span class="plainlinks noprint">&nbsp;/&nbsp;[{{fullurl:{{FULLPAGENAME}}}} "{{#invoke:FileName|removeExtension}}"]</span>
     |#default={{{Other|}}}
     |#default=&nbsp;/&nbsp;{{{Other|}}}
   }}}}
   }}}}
|class=fileinfotpl_credit
|class=fileinfotpl_credit
Cookies help us deliver our services. By using our services, you agree to our use of cookies.