Open main menu

Changes

555 bytes removed ,  10:41, 15 May 2013
no edit summary
=== Images ===
 
 
 
 
<nowiki>[[Image:foo.jpg]]</nowiki> produces an image You must first upload the image. You can not embed external images, with the notable exception that you CAN use 1.5 million images available in the commons project.
 
 
 
 
<nowiki>[[Media:foo.pdf]]</nowiki> would produce a link to a pdf document, so
 
 
 
 
<nowiki>[[Media:Ejbdesignpatterns.pdf]]</nowiki> produces a link to http://freephile.com/wiki/images/6/6d/Ejbdesignpatterns.pdf
* [[mw:Help:Images]]
 
== Using External Editors ==
=== Linked Images ===
By default, this system is configured to when you show an image and link in mediawiki, it links to it's description page. Sometimes, you want to use an image to link to a page of your choice. There are Starting in v. 1.14 you can link to an article by using the <code>link=</code> attribute in your image. See [[mw:HelpManual:Linked_images| many ways to make mediawiki link images]], but the most convenient that we settled on here is to use the [[mw:Extension:Icon|Icon extension]]The syntax (described at [[Icons]]) is<pre>{{#icon: Info.png|Info|24|floatright|Special:Help}}</pre> To get your image to float left or right, wrap the    <nowiki>{{#icon}}</nowiki> in a div with the appropriate class like so:    <nowiki><div class="floatright">{{#icon}}</div></nowiki> Although I modified the Icon extension to be able to specify a class in the icon tag itself, the extension now reveals some weaknesses that make me want to change to the LinkedImage extension http://www.mediawiki.org/wiki/Extension:LinkedImage
4,558

edits