[[ /image Public123@7 400x400x0 ]]<img> タグの width, height, border の値として使われます。sdl=com.traction. sdl. token. filelist
/token に続けてトークン名(例えば「filelist」)を指定します。例えば、「hoge」という名前のトークンを使用するには次のようにします。rskeywords=hoge
rskeywords=movie,video,presentation
sdl=com.traction. sdl. token. googlecalendar
rskeywords=googlecalendar
<variable.local.set name="url">
<property.value name="url" />
<compare.equals a="<property.value name='title' default='' />" b="" trim="true" not>
&title=<url.encode><property.value name="title" /></url.encode>
</compare.equals>
<compare.equals a="<property.value name='controls' default='all' />" b="navigation">
&chrome=NAVIGATION
<else><compare.equals a="<property.value name='controls' default='all' />" b="none">
&chrome=NONE
</compare.equals></compare.equals>
<compare.equals a="<property.value name='mode' default='month' />" b="agenda">
&mode=AGENDA
</compare.equals>
&height=<property.value name="height" default="640" />
&epr=<property.value name="eventsperday" default="5" />
<compare.equals a="<property.value name='weekstart' default='0' />" b="0" not>
&wkst=<property.value name="weekstart" />
</compare.equals>
<compare.equals a="<property.value name='bgcolor' default='#FFFFFF' />" b="" trim="true" not>
&bgcolor=<url.encode><property.value name="bgcolor" default="#FFFFFF" /></url.encode>
</compare.equals>
&hl=#{core_locale}
</variable.local.set>
<iframe src="#$url$" style="<property.boolean name='showborder'>border: solid 1px #777;<else>border-width: 0;" width="<property.value name='width' default='640' />" frameborder="0" height="<property.value name='height' default='614' />"></iframe>
<iframe> タグの src= の値として、Google カレンダーの URL が「url」という変数 (#$url$) で指定されることがわかります。<iframe> タグの上の行まで)の <variable.local.set name="url"> 〜</variable.local.set> で設定されています。<variable.local.set> タグを使ってローカル変数に値を代入するには次のようにします。<variable.local.set name="変数名" value="値" /> <variable.local.set name="変数名">値</variable.local.set> [[ /googlecalendar url='カレンダーのURL' ]] と書いて埋め込んで投稿した記事(上図)を編集すると、下図のように、[[ /googlecalendar url='カレンダーのURL' ]] がアイコンで表示されます。20141102-050524.png
20141102-050641.png
insert_widget.png
write_googlecalendar_token.png
inserted_calendar.png
widget_icon.png
htmledit.png