Difference between revisions of "Template:DPL Calendar code generater zh-tw"

From FollowTheScore
Jump to: navigation, search
Line 98: Line 98:
 
-->{{#if:{{{show|}}}|{{!}}show={{{show|}}}<br>}}<!--
 
-->{{#if:{{{show|}}}|{{!}}show={{{show|}}}<br>}}<!--
 
-->{{#if:{{{eventList|}}}|{{!}}eventList={{{eventList|}}}<br>}}<!--
 
-->{{#if:{{{eventList|}}}|{{!}}eventList={{{eventList|}}}<br>}}<!--
-->{{#if:{{{width|}}}|{{!}}width={{{width|}}}<br>}}<!--
+
-->{{#ifeq:{{{width|}}}|no||{{!}}width={{{width|}}}<br>}}<!--
 
-->{{#ifeq:{{{noadd|}}}|0||{{!}}noadd={{{noadd|}}}<br>}}<!--
 
-->{{#ifeq:{{{noadd|}}}|0||{{!}}noadd={{{noadd|}}}<br>}}<!--
-->{{#ifeq:{{{nolink|}}}|0||{{!}}nolink={{{nolink|}}}<br>}}<!--
+
-->{{#ifeq:{{{nolink|}}}|0||{{!}}nolink={{{nolink|}}}<br>}}
 
<nowiki>}}</nowiki>
 
<nowiki>}}</nowiki>
 
</includeonly>
 
</includeonly>

Revision as of 18:20, 10 December 2007

{{#form: name= demo |action=/dpldemo/index.php| {{#input: name= title |type= hidden | value = Special:Call/DPL Calendar code generater zh-tw }}

指定年份(year)  {{#input: name=year | value = }}
指定月份(month)  {{#input: name=month | value = }}
指定名字空間(namespace)  {{#input: name=namespace | value = }}
用途(purpose)  {{#input: name=purpose | value = }} 例「張三記事,李四記事」 (e.g: Michael's calendar,Mark's calendar)
顯示指定章節(show)  {{#input: name=show | value = }}
顯示報表(eventList)  {{#input: name=eventList | type=select | value = |
  • current
  • no
  • all

}}

本月份(current),不顯示(no),顯示全部(all)
寛度 (width)  {{#input: name=width | value = 500px }}例: "100%" 或 "500px"
無法新增記事(noadd)  {{#input: name=noadd | type=select | value = |
  • 0
  • 1

}}

不顯示記事之超連結(nolink)  {{#input: name=nolink | type=select | value = |
  • 0
  • 1

}}

 {{#input: type = submit | value = 產生(Generate)}} reset   graph

}}