Wrap 為通用的外掛,通常會用網頁中寬度的控制,與元件顯示的大小,或者頁面中醒目的顯示等等。
關於Dokuwiki Wrap Plugin,可參考下列連結說明。
參考資料:
round box 70% center
box
creates a box around the container and uses the colours from the template's style.ini
as default colours (__background_alt__
and __text__
)info
, tip
, important
, alert
, help
, download
, todo
will add a special note container with a corresponding icondanger
, warning
, caution
, notice
, safety
use safety colours (and no icons)round
can be added to anything with a background colour or a border and will only work in modern browsers (no Internet Explorer)column
is the same as left
in LTR languages and the same as right
in RTL languagesleft
will let you float your wrap on the leftright
will let the wrap float rightcenter
will position the wrap in the horizontal center of the pageinfo
tip
important
Alert
help
Download
Toad
Info
<WRAP info></WRAP>
Tip
<WRAP tip></WRAP>
Important
<WRAP important></WRAP>
Alert
<WRAP alert></WRAP>
Help
<WRAP round help></WRAP>
Download
<WRAP download></WRAP>
Todo
<WRAP todo></WRAP>
Safety Notes:
Danger
<WRAP danger></WRAP>
Warning
<WRAP warning></WRAP>
Caution
<WRAP caution></WRAP>
Notice
<WRAP round notice></WRAP>
Safety
<WRAP round safety></WRAP>
效果 | 語法 |
---|---|
info | <wrap info>info</wrap> |
help | <wrap help>help</wrap> |
alert | <wrap alert>alert</wrap> |
important | <wrap important>important</wrap> |
tip | <wrap tip>tip</wrap> |
download | <wrap download>download</wrap> |
todo and round box and danger | <wrap todo>todo</wrap> and <wrap round box>round box</wrap> and <wrap danger>danger</wrap> |
warning | <wrap warning>warning</wrap> |
caution | <wrap caution>caution</wrap> |
notice | <wrap notice>notice</wrap> |
safety | <wrap safety>safety</wrap> |
Table | is |
---|---|
60% | wide |
End