Jump to content

Template:IsLocal: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
m fix
Addbot (talk | contribs)
m Bot: Migrating interwiki links, now provided by Wikidata on d:q14447082
 
(3 intermediate revisions by one other user not shown)
Line 1: Line 1:
{{#ifeq: {{ParmPart|5|{{filepath:{{{1}}}}}}}|commons||{{#ifexist:File:{{{1}}}|{{#switch: {{uc:{{{Mode|IMAGE}}}}}
{{#ifeq: {{ParmPart|5|{{Str left|{{filepath:{{{1}}}}}|40}}}}|commons||{{#ifexist:File:{{{1}}}
| TEXT = [[:File:{{{1}}}|{{{1}}}]]
| File:{{{1}}}{{!}}[[:File:{{{1}}}|{{{1}}}]]
| GALLERY = File:{{{1}}}{{!}}[[:File:{{{1}}}]]
| {{#ifexist:Media:{{{1}}}||invalid name{{!}}[[:File:{{{1}}}]]}}}}
}}<noinclude>
| BILD

| #default = [[File:{{{1}}}|100x100px]]
;Helper template:Local images appear in the gallery, images on Commons disappear
}}|{{#ifexist:Media:{{{1}}}||{{#switch: {{uc:{{{Mode|IMAGE}}}}}
| GALLERY = invalid name{{!}}[[:File:{{{1}}}]]
| #default = ''[[:File:{{{1}}}|invalid name: {{{1}}}]]''
}}}}}}}}<noinclude>


[[Category:Link templates|Islocal]]
[[Category:Link templates|Islocal]]

</noinclude>
</noinclude>

Latest revision as of 01:25, 5 August 2013

invalid name|[[:File:{{{1}}}]]

Helper template
Local images appear in the gallery, images on Commons disappear