Difference between revisions of "Template talk:Clickpic"

From AdCiv
Jump to: navigation, search
 
Line 7: Line 7:
 
Example:
 
Example:
  
  <nowiki>{{clickpic|Open collaborative design|thumb/e/e1/Printer.jpg/25px-Printer.jpg}}</nowiki>
+
  <nowiki>{{clickpic|Main Page/print|thumb/e/e1/Printer.jpg/25px-Printer.jpg}}</nowiki>
 +
 
 +
Which gives:
 +
 
 +
{{clickpic|Main Page/print|thumb/e/e1/Printer.jpg/25px-Printer.jpg}}
  
 
The image path starts at 'thumb' because as all image paths start with <nowiki>http://www.adciv.org/upload</nowiki> I can ignore this part to help make the parameter passed to this template shorter.
 
The image path starts at 'thumb' because as all image paths start with <nowiki>http://www.adciv.org/upload</nowiki> I can ignore this part to help make the parameter passed to this template shorter.
  
 
For more info see [http://meta.wikimedia.org/wiki/User:CharlesC/Template_for_navigational_images_on_Mediawiki_websites here]
 
For more info see [http://meta.wikimedia.org/wiki/User:CharlesC/Template_for_navigational_images_on_Mediawiki_websites here]

Latest revision as of 17:07, 12 February 2007

This template allows for images to be clicked on and point to a specified page

Format for this template:

{{clickpic|page name|image}}

Example:

{{clickpic|Main Page/print|thumb/e/e1/Printer.jpg/25px-Printer.jpg}}

Which gives:

25px-Printer.jpg

The image path starts at 'thumb' because as all image paths start with http://www.adciv.org/upload I can ignore this part to help make the parameter passed to this template shorter.

For more info see here