PmWikiZhCn / Wiki
Wiki
Wiki%red%
%bgcolor=lightblue%
CSSHTML
WikiCSS
WikiCSSWikiWiki
PmWiki class=
style=
DIVHTMLWikiCSS
Wiki PmWikiWiki%black%, %white%, %red%, %yellow%, %blue%, %gray%, %silver%, %maroon%, %green%, %navy%, %purple%
%red% , %blue% , %purple% , %green% %% | , , , |
%color=...%
WikiWordRGB (#rrggbb)
%color=#ff7f00% %% |
|
%bgcolor=...%
%bgcolor=green yellow% |
|
Wiki
%center% %right% |
|
%rfloat% %rframe% |
|
Wiki'Wiki apply=''' Wiki
%apply=img ...% | - | |
%apply=p ...% | %p ...% | |
%apply=pre ...% | - | Pre |
%apply=list ...% | %list ...% | |
%apply=item ...% | %item ...% | |
%apply=div ...% | - | Div |
%apply=block ...% | %block ...% | Div |
%p color=blue%
%apply=p color=blue%
%list ROMAN%
%apply=list list-style=upper-roman%
%right%
%text-align=right apply=block%
Wiki
%p bgcolor=#ffeeee% %blue% %% P |
P |
: “%apply=p ...%
”
%apply=p color=blue% |
%apply=p color=red% '''' |
|
* * %list red% |
>>WikiStyle<<
Wiki>><<
>>blue font-style:italic bgcolor=#ffffcc<< Wiki Pre %red%%% * -> >><< | Wiki Pre |
(:div style="..." class="...":)
HTMLclass
HTML "class" "style"
Wiki%...%
, (:div:) class=
style=
HTML/CSS WikiHTML/CSS
(:table style="font-style:italic; color:green; border:1px solid blue; background-color:#ffffcc":) (:cellnr:) , Pre * -> (:tableend:) |
|
(:div style="..." class="...":)
>>Wiki<<
,HTMLclass
Wiki
define=
WikiWiki“”HTMLcss
%define=box block bgcolor=#ddddff border="2px dotted blue"% %box% [@@] %box font-weight=bold color=green% [@Box@] | |
:Wiki
%define=warn green%
%warn%
%green%
%define=warn green%
{@@]
: Wikiclass
%pre%
%class=pre%
PmWikiWiki
- : black, white, red, yellow, blue, gray, silver, maroon, green, navy, purple (shortcut for
%color=...%
) - :
%center%
and%right%
-
- Floating left or right:
%rfloat%
and%lfloat%
- Framed items:
%frame%
,%rframe%
, and%lframe%
- :
%thumb%
- Floating left or right:
- :
%newwin%
(%target=_blank%
) - :
%comment%
(%display=none%
) - :
%decimal%
,%roman%
,%ROMAN%
,%alpha%
,%ALPHA%
(see also Cookbook:OutlineLists)
Wiki
CSSHTMLWiki
------------ CSS ------------- --HTML-- color bgcolor class background-color margin id text-align padding hspace text-decoration border vspace font-size float target font-family list-style rel font-weight width* accesskey font-style height* value display Special: define, apply
cascading style sheet (CSS)
class=
id=
HTMLclassIDCSStarget=name
"name"rel=name
accesskey=x
'x'value=9
“local/config.php” "line-height"
$WikiStyleCSS[] = 'line-height';
local/config.php
HTML
$WikiStyleApply
WikiHTML
“config.php”
$WikiStyleApply['link'] = 'a';
class
%apply=link red%[[PmWiki.WikiStyles | test link]] |
ID“TR”config.php
$WikiStyleApply['row'] = 'tr';
(:cellnr:) %apply=row id=myid bgcolor=pink% cell content
|| border=1 || %apply=row id=myrowid% 1 || 2 || 3 || 4 ||
%apply=row...%Wiki(:cellnr:)
%block width=50% %
border="2px solid blue"
%color=#aa3333%
- Custom WikiStyles Wiki
- Wiki