Show Changes Show Changes
Edit Edit
Print Print
Recent Changes Recent Changes
Subscriptions Subscriptions
Lost and Found Lost and Found
Find References Find References
Rename Rename
Administration Page Administration Page
Search

History

3/11/2008 8:37:09 PM
-76.30.20.161
7/6/2005 4:41:25 PM
-66.69.151.148
7/6/2005 4:38:54 PM
-66.69.151.148
7/5/2005 10:08:34 PM
-139.130.39.86
7/5/2005 10:07:03 PM
-139.130.39.86
List all versions List all versions

RSS feed for the FlexWiki namespace

Topic Property Table
.

I don't like the standard way FlexWiki displays TopicProperties. It takes up too much valuable screen space. So I made a tabular version.

First, define your properties using the hidden property syntax.

:Owner:JamesRoeSmith
:Age:35
:EyeColour:Blue

Then include a call to the TopicPropertyTable WikiTalk method.

 @@TopicPropertyTable(topic,["Owner","Age","EyeColour"])@@
Property Value
Topic TopicPropertyTable
Owner JamesRoeSmith
Age 35
EyeColour Blue

The TopicPropertyTable WikiTalk method is as follows:

:TopicPropertyTable:{ thistopic, listofproperties |
        [
                "||{!}*Property*||{!}*Value*||", Newline,
                "||{!}%purple%*Topic*%%||", "[", thistopic.Name, "]", "||", Newline,
                listofproperties.Collect { thisproperty |
                        [
                                "||{!}*", thisproperty, "*||", thistopic.GetProperty(thisproperty), "||", Newline,
                        ]
                }
        ]
}

Not logged in. Log in

Welcome to the home of FlexWiki, a collaboration tool, based on WikiWiki, implemented using Microsoft .NET technologies

This is FlexWiki, an open source wiki engine.

This site supports the new NoFollow anti-spam initiative.
Change Style

Recent Topics