Template:File: Difference between revisions

From Deep Sea Knowledge
Jump to navigation Jump to search
(Added switch parser for source param with text from/based on wikirby.com/wiki/Template:Aboutfile)
m (Swapped switch function for ifeq function)
 
Line 12: Line 12:
! scope="row" | Source
! scope="row" | Source
|  
|  
{{#if:{{{Source|{{{source|}}}}}}
{{#if:{{{source|{{{source|}}}}}}
| {{#switch: {{{source|}}} | {{{source|}}} | {{{source}}} = Media extracted or captured by the uploader. | self}}
| {{#ifeq: {{{source}}} | self | Media extracted or captured by the uploader | {{{source|}}} }}
| {{#ifeq:{{NAMESPACE}}|File|<includeonly>[[Category:Files without a source]]</includeonly>}} ''This file is missing a source.''
| {{#ifeq:{{NAMESPACE}}|File|<includeonly>[[Category:Files without a source]]</includeonly>}} ''This file is missing a source.''
}}
}}
|}
|}

Latest revision as of 22:35, 28 May 2024

File information
Description

This file is missing a description.

Source

This file is missing a source.