This shows you the differences between two versions of the page.
Previous revisionNext revision | |||
— | samana:johann:makrosolu [2019/01/07 17:33] – old revision restored (2019/01/07 11:35) michaelsy | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ~~Title: Makrosolution ~~ | ||
+ | ====== Linking Image A ⇒ Image B ====== | ||
+ | |||
+ | ===== Solution via Textinsert Plugin (Makro) ===== | ||
+ | (Proof of concept) | ||
+ | |||
+ | ===== The Task ===== | ||
+ | |||
+ | Linking of two // | ||
+ | |||
+ | ===== The Demonstration ===== | ||
+ | |||
+ | Please klick on the small picture. | ||
+ | |||
+ | ---- | ||
+ | |||
+ | # | ||
+ | |||
+ | ---- | ||
+ | |||
+ | ===== The wiki code ===== | ||
+ | < | ||
+ | # | ||
+ | </ | ||
+ | |||
+ | ===== The makro definition ===== | ||
+ | |||
+ | | \_\_%%li2i_HTML%%\_\_ | %%<a href="/ | ||
+ | |||
+ | The name of the makro '' | ||
+ | |||
+ | |||
+ | ===== Limitations ===== | ||
+ | |||
+ | * This macro links only two images that belong to the current namespace. (References //beneath// the current namespace should also be possible. But not tested yet.) | ||
+ | * There are no formatting options. (You can do this by CSS or by changing the makro code.) | ||
+ | * Maybe it works only with JPG-images (I have seen that PNG-files are linked by DokuWiki in another way.) | ||
+ | |||
+ | ===== Links ===== | ||
+ | |||
+ | **The Textinsert plugin:** [[doku> | ||
+ | **Backlinks: | ||
+ | **Furthermore: |