Iftags
Table of Contents
Inline Iftags
Inline Iftags sometimes work, …
This page has been tagged with the [[iftags +_syntax]]_syntax[[/iftags]] tag.
gives:
This page has been tagged with the _syntax tag.
… sometimes not:
[[iftags +_syntax]][[note]]This page has been tagged with _syntax[[/note]][[/iftags]]
gives:
[[note]]This page has been tagged with _syntax[[/note]]
On their own line Iftags
When [[note]] or [[include]] is used, Iftags must be on their own lines
[[iftags +_syntax]]
[[note]]
This page has been tagged with _syntax
[[/note]]
[[/iftags]]
gives:
This page has been tagged with _syntax
Iftags in tables
test2:
[[iftags +_syntax]][[image http://sparksheet.com/wp-content/themes/SPARK03/images/icons/twitter.png]][[/iftags]]
|| [[iftags +_syntax]][[image http://sparksheet.com/wp-content/themes/SPARK03/images/icons/twitter.png]][[/iftags]] ||
|| _
[[iftags +_syntax]][[image http://sparksheet.com/wp-content/themes/SPARK03/images/icons/twitter.png]][[/iftags]] _
||
ListPages + simple tables:
"This does not work!"
[[module ListPages category="helpon" tags="_syntax" perPage="22" order="dateCreatedDesc" prependLine="||~ TAG ||~ Title ||~ POSTED ||" separate="false"]]
|| _
[[iftags +_syntax]][[image http://sparksheet.com/wp-content/themes/SPARK03/images/icons/twitter.png]][[/iftags]] _
|| [[size 80%]]%%title_linked%%[[/size]] ||[[size 80%]]%%date|%e %b %Y|agohover%%[[/size]] ||
[[/module]]
TAG | Title | POSTED |
---|---|---|
HTML blocks | 03 Mar 2010 17:43 | |
Button | 31 Dec 2009 13:07 | |
Embedaudio | 30 Dec 2009 07:40 | |
Embedvideo | 30 Dec 2009 07:38 | |
External links | 27 Dec 2009 13:20 | |
Span | 27 Dec 2009 11:29 | |
ForumNewThread | 27 Dec 2009 09:17 | |
Mailto: | 27 Dec 2009 09:03 | |
Tabview | 26 Dec 2009 22:31 | |
Social bookmarking | 26 Dec 2009 22:29 | |
File | 26 Dec 2009 22:26 | |
Date wizard | 26 Dec 2009 22:15 | |
Date | 26 Dec 2009 22:13 | |
Bibliography | 26 Dec 2009 22:11 | |
Footnote | 26 Dec 2009 21:48 | |
Math | 26 Dec 2009 21:45 | |
Div | 26 Dec 2009 21:11 | |
Alignment | 26 Dec 2009 21:09 | |
Tables (advanced) | 26 Dec 2009 21:06 | |
Tables | 26 Dec 2009 21:04 | |
Code | 26 Dec 2009 21:02 | |
Note | 26 Dec 2009 20:57 |
ListPages + simple tables (Take 2):
"This does not work, at least partially!" (%%tags%% and %%tags_linked%% are displayed, however)
[[module ListPages category="helpon" tags="_syntax" perPage="22" order="dateCreatedDesc" prependLine="||~ TAG ||~ ##red|Tags## ||~ Title ||~ POSTED ||" separate="false"]]
|| _
[[iftags +_syntax]][[image http://sparksheet.com/wp-content/themes/SPARK03/images/icons/twitter.png]][[/iftags]] _
|| [[size 80%]]%%tags_linked%%[[/size]] || [[size 80%]]%%title_linked%%[[/size]] ||[[size 80%]]%%date|%e %b %Y|agohover%%[[/size]] ||
[[/module]]
TAG | Tags | Title | POSTED |
---|---|---|---|
HTML blocks | 03 Mar 2010 17:43 | ||
Button | 31 Dec 2009 13:07 | ||
Embedaudio | 30 Dec 2009 07:40 | ||
Embedvideo | 30 Dec 2009 07:38 | ||
External links | 27 Dec 2009 13:20 | ||
Span | 27 Dec 2009 11:29 | ||
ForumNewThread | 27 Dec 2009 09:17 | ||
Mailto: | 27 Dec 2009 09:03 | ||
Tabview | 26 Dec 2009 22:31 | ||
Social bookmarking | 26 Dec 2009 22:29 | ||
File | 26 Dec 2009 22:26 | ||
date | Date wizard | 26 Dec 2009 22:15 | |
Date | 26 Dec 2009 22:13 | ||
Bibliography | 26 Dec 2009 22:11 | ||
Footnote | 26 Dec 2009 21:48 | ||
Math | 26 Dec 2009 21:45 | ||
Div | 26 Dec 2009 21:11 | ||
Alignment | 26 Dec 2009 21:09 | ||
Tables (advanced) | 26 Dec 2009 21:06 | ||
Tables | 26 Dec 2009 21:04 | ||
Code | 26 Dec 2009 21:02 | ||
Note | 26 Dec 2009 20:57 |
Please have a look at:
Peter-ZA
I like to use iftags to display icons within a table to quickly identify the items in the list as "open", "closed", etc…
However I have found that I cannot get iftags to work to display images when using the list module and simple tables. Normal tables ([[table]]) seem to work though.
For example, this WILL work:
This will NOT work:
Life would be nicer if I could use iftags within the list modules and simple tables.
Can you try this:
( the blank+underscore before and after the iftags lines )
test:
I inserted a test2 on the page!
This does not work :( ( have alook at the bottom of the page…
Service is my success. My webtips:www.blender.org (Open source), Wikidot-Handbook.
Sie können fragen und mitwirken in der deutschsprachigen » User-Gemeinschaft für WikidotNutzer oder
im deutschen » Wikidot Handbuch ?
I setup a bug message : http://feedback.wikidot.com/bug:328 - interesting what will happen…
Service is my success. My webtips:www.blender.org (Open source), Wikidot-Handbook.
Sie können fragen und mitwirken in der deutschsprachigen » User-Gemeinschaft für WikidotNutzer oder
im deutschen » Wikidot Handbuch ?
This is due to the separate="false" attribute in the second example.
There are some page-based functions that are handled differently depending on the separate attribute. If separate="yes" then they act on the page being listed. However if separate="no" then they act on the current page.
See http://sandbox.wikidot.com/rurwin:listpages-context
This behaviour has been described by some Wikidot developer or other in the community forum. It would be very useful if it was described in detail in the ListPages documentation.
i got the clarification on the bug message:
Service is my success. My webtips:www.blender.org (Open source), Wikidot-Handbook.
Sie können fragen und mitwirken in der deutschsprachigen » User-Gemeinschaft für WikidotNutzer oder
im deutschen » Wikidot Handbuch ?