Template:IsLocal: Difference between revisions
Appearance
Content deleted Content added
m fix |
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 |
{{#ifeq: {{ParmPart|5|{{Str left|{{filepath:{{{1}}}}}|40}}}}|commons||{{#ifexist:File:{{{1}}} |
||
| |
| File:{{{1}}}{{!}}[[:File:{{{1}}}|{{{1}}}]] |
||
| |
| {{#ifexist:Media:{{{1}}}||invalid name{{!}}[[:File:{{{1}}}]]}}}} |
||
⚫ | |||
| 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}}}]]'' |
|||
⚫ | |||
[[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