Difference between revisions of "Template:Createdwith"

From blackwiki
Jump to navigation Jump to search
imported>Ahecht
(strip out "File:" if present)
imported>Ahecht
(rm #titleparts)
Line 1: Line 1:
 
{{imbox
 
{{imbox
 
| type      = notice
 
| type      = notice
| image    = {{#if:{{{logo|{{{image|}}}}}}|[[File:{{#titleparts:{{PAGENAME:{{{logo|{{{image}}}}}}}}}}|40px]]|}}
+
| image    = {{#if:{{{logo|{{{image|}}}}}}|[[File:{{PAGENAME:{{{logo|{{{image}}}}}}}}|40px]]|}}
 
| text      = This image was created with [[{{{1|}}}]].
 
| text      = This image was created with [[{{{1|}}}]].
}}<noinclude>{{Documentation}}</noinclude>
+
}}<noinclude>
 +
{{Documentation}}
 +
</noinclude>

Revision as of 20:58, 29 April 2016

Template documentation[view] [edit] [history] [purge]

Usage

To use add
{{Createdwith|Name of tool}}
to an image description page. For example, {{Createdwith|Inkscape}} produces the following result:


To add a custom image, use |image= or |logo=. For example, {{Createdwith|Inkscape|logo=Inkscape Logo.svg}} produces: