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

From FollowTheScore
Jump to: navigation, search
Line 45: Line 45:
 
<tr>
 
<tr>
 
<td align="right">寛度 (width) </td>  
 
<td align="right">寛度 (width) </td>  
<td>&nbsp;{{#input: name=width  | value = {{{width|}}} }}例: "100%" 或 "500px"
+
<td>&nbsp;{{#input: name=width  | value = {{{width|500px}}} }}例: "100%" 或 "500px"
 
</td>
 
</td>
 
</tr>
 
</tr>
Line 52: Line 52:
 
<td align="right">無法新增記事(noadd)</td>
 
<td align="right">無法新增記事(noadd)</td>
 
<td>&nbsp;{{#input: name=noadd | type=select | value = {{{noadd|}}} |  
 
<td>&nbsp;{{#input: name=noadd | type=select | value = {{{noadd|}}} |  
*?
+
*0
 
*1
 
*1
 
}}
 
}}
Line 61: Line 61:
 
<td align="right">不顯示記事之超連結(nolink)</td>
 
<td align="right">不顯示記事之超連結(nolink)</td>
 
<td>&nbsp;{{#input: name=nolink | type=select | value = {{{nolink|}}} |  
 
<td>&nbsp;{{#input: name=nolink | type=select | value = {{{nolink|}}} |  
*?
+
*0
 
*1
 
*1
 
}}
 
}}
Line 99: Line 99:
 
-->{{#if:{{{eventList|}}}|{{!}}eventList={{{eventList|}}}<br>}}<!--
 
-->{{#if:{{{eventList|}}}|{{!}}eventList={{{eventList|}}}<br>}}<!--
 
-->{{#if:{{{width|}}}|{{!}}width={{{width|}}}<br>}}<!--
 
-->{{#if:{{{width|}}}|{{!}}width={{{width|}}}<br>}}<!--
-->{{#if:{{{noadd|}}}|{{!}}noadd={{{noadd|}}}<br>}}<!--
+
-->{{#ifeq:{{{noadd|}}}|0||{{!}}noadd={{{noadd|}}}<br>}}<!--
-->{{#if:{{{nolink|}}}|{{!}}nolink={{{nolink|}}}<br>}}<!--<nowiki>
+
-->{{#ifeq:{{{nolink|}}}|0||{{!}}nolink={{{nolink|}}}<br>}}<!--
}}</nowiki>
+
<nowiki>}}</nowiki>
 
</includeonly>
 
</includeonly>

Revision as of 17:13, 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

}}

寛度 (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

}}