Template:Credit line: Difference between revisions
Template page
More actions
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|}}} | |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= / [[Main Page|Wikimedia Commons]] | ||
|wc/title|commons/title|wikimedia commons/title=[[Main Page|Wikimedia Commons]] | |wc/title|commons/title|wikimedia commons/title= / [[Main Page|Wikimedia Commons]]<span class="plainlinks noprint"> / [{{fullurl:{{FULLPAGENAME}}}} "{{#invoke:FileName|removeExtension}}"]</span> | ||
|title=<span class="plainlinks noprint">[{{fullurl:{{FULLPAGENAME}}}} "{{#invoke:FileName|removeExtension}}"]</span> | |title=<span class="plainlinks noprint"> / [{{fullurl:{{FULLPAGENAME}}}} "{{#invoke:FileName|removeExtension}}"]</span> | ||
|#default={{{Other|}}} | |#default= / {{{Other|}}} | ||
}}}} | }}}} | ||
|class=fileinfotpl_credit | |class=fileinfotpl_credit | ||