Need Help?Home PageAbout Our ChurchSunday ServiceActivitiesInfo |
Wiki Styles allow an author to modify the color and other attributes of text that follow. A style specification such as
%red% will cause the following text to be displayed as red until the end of the line or the next pair of percent signs. For example:
%red% This text is red and %blue% this text is blue %% but this text is normal. gives This text is red and this text is blue but this text is normal.
The set of predefined wiki styles is customizable by the Wiki Administrator. Most Pm Wiki systems define %newwin% to cause links to open in a new window (example), and standard text colors such as %black%, %white%, %red%, %green%, %blue%, etc. Creating new stylesPlacing %color=red% This text is red and %color=blue% this text
is blue %% but this text is normal.
renders as This text is red and this text is blue but this text is normal.
One can also change the background color using the %color=white bgcolor=green% This text is white on green %color=green% and
this is green on white.
This text is white on green and this is green on white.
One can specify that links should open in a new window via the %target=_blank% Any links on this line like http://www.pmichaud.com
will open in a new window.
which gives Any links on this line like http://www.pmichaud.com will open in a new window.
Finally, Wiki Styles can control the width and height of Images In Wiki Pages, thus the markup %height=50% http://www.example.com/some.gif will display some.gif scaled to a height of 50 pixels. Style definitionsWiki authors can also make their own WikiStyle definitions within a document using the %define=hotpink color=#ff69b4% will cause the markup %define=reverse color=white bgcolor=black% which allows It's often a good idea to put common style definitions into Group Headers so that they can be shared among multiple pages in a group. Or, the Wiki Administrator can predefine styles as a LocalCustomization -- see Wiki Styles Admin. Predefined stylesSee predefined wiki styles for a description of the Wiki Styles that are defined in a standard installation of PmWiki. That page also describes how an administrator can predefine additional Wiki Styles. ColorsFor some examples of colors, see Wiki Style Colors<< Text Formatting Rules | PmWiki.Documentation Index | Uploads >> |
|
Page last modified on May 10, 2004, at 08:11 PM
|
|