Wiki's Latest News
This page contains some sample sidenote styles.
%define=sidenote rframe width=150px font-size=smaller% %sidenote% The quick brown fox jumped over the lazy dog. [[<<]] >>sidenote<< Pm's to do list: # Sleep # PmWiki 2.0 # Eat >><< |
The quick brown fox jumped over the lazy dog.
Pm's to do list:
|
%define=postitnote sidenote bgcolor=yellow% >>postitnote<< Here is a post-it note! >><< [[<<]] %postitnote bgcolor=#e0e0ff% Here's a blue post-it note! |
Here is a post-it note!
Here's a blue post-it note! |
One can of course import things from other pages:
>>rframe width=200px font-size=smaller<< (:include Test.LatestNews:) >><< |
I see what you mean, but I still think that simpler markup would be easier on the authors. e.g. if we replace the last option with:
(:includepostit Test.LatestNews:)
And let the admin decide the details as width, left/right, colors, etc. Radu
I do like Radu's idea above - which is, I think what inote in extendedmarkups does, or can do with a little more work. In the meantime I'll try this out. I probably would take the %define and make it into a CustomWikiStyle?. Title here though is the title of this page - not the title of the LatestNews page...
%define=latestNews rframe width=200px font-size=smaller bgcolor=pink% (:if lastmodified Test.LatestNews 10:) >>latestNews<< !!!!{$Title} Last Modified {$LastModified} (:include Test.LatestNews:) {$Title} >><< (:ifend:) |
Wiki's Latest News Last Modified September 10, 2011, at 05:03 PMLatest News PmWiki continues to move towards 2.0.0. Pm's birthday is this Saturday. The O'Reilly Open Source Convention in Portland, Oregon was really cool. In fact it rained the whole time. so sorry PKHG edit news Wiki's Latest News |
--Kab August 12, 2005, at 04:58 AM
Testing postitnotes with headers
%define=sidenote rframe width=150px font-size=smaller bgcolor=#ffffa1% %define=sidenoteheader apply=block bgcolor=#ffe53e font-weight=bold% >>sidenote<< %sidenoteheader% A sticky note This seems to work very nice. Although, these [[PmWiki/WikiStyles]] should be defined [[PmWiki/CustomWikiStyles|in config.php]] in order to be available on every page. >><< |
A sticky note This seems to work very nice. Although, these WikiStyles should be defined in config.php in order to be available on every page. |