Changes

Jump to navigation Jump to search
179 bytes added ,  12:25, 7 November 2008
→‎Linked Images: correct link
and the [http://meta.wikipedia.org/wiki/MediaWiki_User%27s_Guide User's Guide] for usage and configuration help.
What's Wikipedia?
# [[mw:Wikipedia:Ten_things_you_may_not_know_about_Wikipedia|Ten things you may not know about Wikipedia]]
# [[mw:Wikipedia:Ten_things_you_may_not_know_about_images_on_Wikipedia|Ten things you may not know about images on Wikipedia]]
=== Linked Images ===
By default, this system is configured to show an image and link to it's description page. Sometimes, you want to use an image to link to a page of your choice. There are [[mw:Help:Linked_images| many ways to make mediawiki link images]], ( and [[mw:Wikipedia:10 things you did not know about images on Wikipedia]]) 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>
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
Also,
 
<nowiki>[[Media:foo.pdf]]</nowiki> would produce a link to a pdf document, so
 
4,558

edits

Navigation menu