phpgtk__legacy/wiki1/wiki.d/PmWiki.WikiStyles

28 lines
6.7 KiB
Text

version=pmwiki-1.0.5
newline=²
text=WikiStyles 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²²->%red% This text is red and %blue% this text is blue %% but this text is normal.²²The set of {{predefined wiki styles}} is customizable by the WikiAdministrator. Most PmWiki systems define [=%newwin%=] to cause links to open in a new window (%newwin%[[WikiStyles example]]), and standard text colors such as [=%black%, %white%, %red%, %green%, %blue%, etc.=]²²!!Creating new styles²²Placing @@color@@, @@bgcolor@@, or @@target@@ specifications inside of a pair of percent signs will change the style of the following text to use those colors up to the end of a line or until the next pair of percent-signs. For example:²² [=%color=red% This text is red and %color=blue% this text ² is blue %% but this text is normal. =]²²renders as²²->%color=red% This text is red and %color=blue% this text is blue %% but this text is normal.²²One can also change the background color using the @@bgcolor@@ attribute:²² [=%color=white bgcolor=green% This text is white on green %color=green% and² this is green on white. =]²²->%color=white bgcolor=green% This text is white on green %color=green% and this is green on white.²²One can specify that links should open in a new window via the @@target@@ attribute:²² [=%target=_blank% Any links on this line like http://www.pmichaud.com ² will open in a new window. =]²²which gives²²->%target=_blank% Any links on this line like http://www.pmichaud.com will open in a new window.²²Finally, WikiStyles can control the width and height of ImagesInWikiPages, thus the markup²² [=%height=50% http://www.example.com/some.gif=]²²will display some.gif scaled to a height of 50 pixels.²²²!!Style definitions²%define=hotpink color=#ff69b4%²%define=reverse color=white bgcolor=black%²²Wiki authors can also make their own {{WikiStyle|s}} definitions within a document using the @@define@@ attribute. For example, the statement²² [=%define=hotpink color=#ff69b4%=]²²will cause the markup @@[=%hotpink%=]@@ to be a shortcut for @@[=%color=#ff69b4%=]@@ (%hotpink%like this%%). One can specify multiple items in a definition, as in²² [=%define=reverse color=white bgcolor=black%=]²²which allows @@[=%reverse%=]@@ to cause %reverse%reverse video%%, and @@[=%reverse hotpink%=]@@ to be the %reverse hotpink%combination of both shortcuts%%. ²²It's often a good idea to put common style definitions into GroupHeaders so that they can be shared among multiple pages in a group. Or, the WikiAdministrator can predefine styles as a {{LocalCustomization|s}} -- see WikiStylesAdmin.²²!!Predefined styles²²See {{predefined wiki styles}} for a description of the WikiStyles that are defined in a standard installation of PmWiki. That page also describes how an administrator can predefine additional WikiStyles.²²!!Colors²For some examples of colors, see WikiStyleColors²²%trail% <<|PmWiki.DocumentationIndex|>>²²²
time=1117049144
host=81.103.217.167
agent=Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)
rev=41
post= Save
author=Steph
name=PmWiki.WikiStyles
diff:1099032936:1084212709:=72,86d71²< ²< http://www.sitesmartrf.com/chinese/hwgg/index.htm²< http://www.sitesmartrf.com/chinese/hwgg/news.htm²< http://www.sitesmartrf.com/chinese/hwgg/zhishi.htm²< http://www.sitesmartrf.com/chinese/hwgg/zhengce.htm²< http://www.sitesmartrf.com/chinese/hwgg/news1.htm²< http://www.sitesmartrf.com/chinese/hwgg/news2.htm²< http://www.sitesmartrf.com/chinese/hwgg/news3.htm²< http://www.sitesmartrf.com/chinese/hwgg/news4.htm²< http://www.sitesmartrf.com/chinese/hwgg/zhishi1.htm²< http://www.sitesmartrf.com/chinese/hwgg/zhishi2.htm²< http://www.sitesmartrf.com/chinese/hwgg/zhishi3.htm²< http://www.top-result.com.cn/hwgg.htm²< http://hwgg.freewebpage.org/index.htm²< ²
author:1099032936=
host:1099032936=210.82.76.17
diff:1099051894:1099032936:=71a72,86²> ²> http://www.sitesmartrf.com/chinese/hwgg/index.htm²> http://www.sitesmartrf.com/chinese/hwgg/news.htm²> http://www.sitesmartrf.com/chinese/hwgg/zhishi.htm²> http://www.sitesmartrf.com/chinese/hwgg/zhengce.htm²> http://www.sitesmartrf.com/chinese/hwgg/news1.htm²> http://www.sitesmartrf.com/chinese/hwgg/news2.htm²> http://www.sitesmartrf.com/chinese/hwgg/news3.htm²> http://www.sitesmartrf.com/chinese/hwgg/news4.htm²> http://www.sitesmartrf.com/chinese/hwgg/zhishi1.htm²> http://www.sitesmartrf.com/chinese/hwgg/zhishi2.htm²> http://www.sitesmartrf.com/chinese/hwgg/zhishi3.htm²> http://www.top-result.com.cn/hwgg.htm²> http://hwgg.freewebpage.org/index.htm²> ²
author:1099051894=scott
host:1099051894=68.167.115.34
diff:1101146569:1099051894:=19,22c19²< renders as[[http://www.raid5datarecovery.net/ _]]²< [[http://www.hddx.com/ _]]²< [[http://www.egyway.com/ _]]²< ²---²> renders as²
author:1101146569=data
host:1101146569=210.90.223.227
diff:1101147492:1101146569:=19c19,22²< renders as²---²> renders as[[http://www.raid5datarecovery.net/ _]]²> [[http://www.hddx.com/ _]]²> [[http://www.egyway.com/ _]]²> ²
author:1101147492=scott
host:1101147492=68.167.115.34
diff:1116996395:1101147492:=72,89d71²< ²< ==See also==²< ²< [[http://phentermine2.nextmail.ru/ 1]]²< [[http://vicodin-buy.nextmail.ru/ 2]]²< [[http://steroids1.nextmail.ru/ 3]]²< [[http://fioricet1.nextmail.ru/ 4]]²< [[http://phentermine3.bravehost.com/ 5]]²< [[http://vicodin1.bravehost.com/ 6]]²< [[http://steroids1.bravehost.com/ 7]]²< [[http://fioricet1.bravehost.com/ 8]]²< [[http://phentermine3.nextmail.ru/ 9]]²< [[http://vicodin-buy.nxt.ru/ 10]]²< [[http://fioricet1.email.su/ 11]]²< [[http://steroids1.russian.ru/ 12]]²< [[http://carisoprodol1.xaker.ru/ 13]]²< [[http://hydrocodone1.mail2k.ru/ 14]]²< [[http://valium1.dezigner.ru/ 15]]²\ No newline at end of file²
author:1116996395=
host:1116996395=194.150.138.180
diff:1117049144:1116996395:minor=71a72,89²> ²> ==See also==²> ²> [[http://phentermine2.nextmail.ru/ 1]]²> [[http://vicodin-buy.nextmail.ru/ 2]]²> [[http://steroids1.nextmail.ru/ 3]]²> [[http://fioricet1.nextmail.ru/ 4]]²> [[http://phentermine3.bravehost.com/ 5]]²> [[http://vicodin1.bravehost.com/ 6]]²> [[http://steroids1.bravehost.com/ 7]]²> [[http://fioricet1.bravehost.com/ 8]]²> [[http://phentermine3.nextmail.ru/ 9]]²> [[http://vicodin-buy.nxt.ru/ 10]]²> [[http://fioricet1.email.su/ 11]]²> [[http://steroids1.russian.ru/ 12]]²> [[http://carisoprodol1.xaker.ru/ 13]]²> [[http://hydrocodone1.mail2k.ru/ 14]]²> [[http://valium1.dezigner.ru/ 15]]²\ No newline at end of file²
author:1117049144=Steph
host:1117049144=81.103.217.167