DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:imagereference

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
plugin:imagereference [2015-01-21 01:07] – [Usage] make the example more obvious KaiMartinplugin:imagereference [2023-09-28 17:05] (current) Klap-in
Line 1: Line 1:
-====== Imagereference plugin ======+====== Imagereference Plugin ======
  
 ---- plugin ---- ---- plugin ----
Line 6: Line 6:
 email      : klapinklapin@gmail.com email      : klapinklapin@gmail.com
 type       : syntax type       : syntax
-lastupdate : 2014-06-18 +lastupdate : 2023-09-28 
-compatible : Angua, Adora Belle, Weatherwax, Binky,Ponder Stibbons,Hrun+compatible : Angua, Adora Belle, Weatherwax, Binky,Ponder Stibbons,Hrun,Detritus,Elenor Of Tsort,Frusterick Manners, greebo, Hogfather, Igor, Jack Jackrum
 depends    :  depends    : 
 conflicts  :  #please report also the issue to explain what is broken conflicts  :  #please report also the issue to explain what is broken
Line 17: Line 17:
 sourcerepo : https://github.com/Klap-in/dokuwiki-plugin-imagereference sourcerepo : https://github.com/Klap-in/dokuwiki-plugin-imagereference
 donationurl:  donationurl: 
 +
 +screenshot_img : :plugin:imagereference_plugin_caption.png
 ---- ----
  
Line 25: Line 27:
  
 ===== Usage ===== ===== Usage =====
 +Example syntax of caption and reference:
 +
   <imgcaption label|John Doe>{{:wiki:dokuwiki-128.png}}</imgcaption>   <imgcaption label|John Doe>{{:wiki:dokuwiki-128.png}}</imgcaption>
      
   The Dokuwiki image can be seen in <imgref label>.   The Dokuwiki image can be seen in <imgref label>.
      
-{{http://santec.tudor.lu/_media/team/heinemann/imgref_plugin.png?w=&h=&cache=cache}} +Are displayed as:\\ 
- +{{:plugin:imagereference_plugin_caption.png|Example of a caption and a reference}}
  
  
Line 38: Line 41:
 An image or table caption An image or table caption
   <imgcaption mynewimg| This is my little caption>{{:my_image.png}}</imgcaption>   <imgcaption mynewimg| This is my little caption>{{:my_image.png}}</imgcaption>
 +
 +  <imgcaption mynewimg2>{{:my_image.png|Title of the image is set in the caption if not set in caption yet}}</imgcaption>
  
   <tabcaption tablelabel| This is my other caption>   <tabcaption tablelabel| This is my other caption>
Line 74: Line 79:
  
 ===Custom classes=== ===Custom classes===
-Beside the alignment classes (left,right and center) of this plugin, you can also add your own classes, which you can use in your own CSS customisations.+Beside the alignment classes (left, right and center) of this plugin, you can also add your own classes, which you can use in your own CSS customisations.
   <imgcaption image1 specialcaptionclass |Special layout>...</imgcaption>   <imgcaption image1 specialcaptionclass |Special layout>...</imgcaption>
   <tabcaption image1 left otherclass     |Nice>...</tabcaption>   <tabcaption image1 left otherclass     |Nice>...</tabcaption>
Line 81: Line 86:
  
  
-Copy link from download button above and use plugin manager in your wiki to install. Or to install the plugin manually, download the source to your plugin folder, ''lib/plugins'' and extract its contents in a folder named //imagereference// +Search and install the plugin using the [[plugin:extension|Extension Manager]]. Refer to [[:Plugins]] on how to install plugins manually.
  
  
plugin/imagereference.1421798845.txt.gz · Last modified: 2015-01-21 01:07 by KaiMartin

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki