Steven Heynderickx wrote on 10 Nov 2009 15:46
Originally suggested by pieterh on 24 September 2009.
This is a design sketch for a new module that shows/hides text depending on the current user level.
The syntax for the module would be:
[[module Private level="wikidot|member|mod|admin" password="secret" button="label"]]
...
[[else]]
This block appears because you lack the necessary privileges.
[[/else]]
[[/module]]
If button="label" is not provided, no button appears and the private content is shown by default (or the 'else' block is shown)
The original thread for this design sketch was wishlist:63 on the community site.
We discourage direct comments on this thread: to discuss it, please start a sub-thread.