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

From FollowTheScore
Jump to: navigation, search
Line 6: Line 6:
 
<tr>
 
<tr>
 
<td align="right">語言(Language)</td>
 
<td align="right">語言(Language)</td>
<td>&nbsp;{{#input: name=noadd | type=select | value = {{{noadd|}}} |  
+
<td>&nbsp;{{#input: name=lang | type=select | value = {{{noadd|}}} |  
 
*中文
 
*中文
 
*English
 
*English
Line 79: Line 79:
 
<tr bgcolor="#eeffee">
 
<tr bgcolor="#eeffee">
 
<td>
 
<td>
&nbsp;{{#input: type =  submit | value = 產生(Generate)}} <small>[[:Template:DPL Calendar code generater zh-tw|reset]] &nbsp; [[:Template:Catgraph|graph]]</small>
+
&nbsp;{{#input: type =  submit | value = 產生(Generate)}} <small>[[:Template:DPL Calendar code generater zh-tw|放棄(reset)]] &nbsp; [[:Template:Catgraph|graph]]</small>
 
</td></tr></table>
 
</td></tr></table>
 
}}
 
}}
Line 87: Line 87:
 
==== {{{name}}} ====
 
==== {{{name}}} ====
 
|}}
 
|}}
{{:Current events zh-tw
+
{{:{{#switch: {{{lang}}}
 +
    | English = Current events
 +
    | 中文 = Current events zh-tw
 +
  }}
 
  |year={{{year|}}}
 
  |year={{{year|}}}
 
  |month={{{month|}}}
 
  |month={{{month|}}}
Line 100: Line 103:
 
----
 
----
 
<small><u>您使用如下的查詢參數(Your query used the following parameters)</u><br/>
 
<small><u>您使用如下的查詢參數(Your query used the following parameters)</u><br/>
<nowiki>{{:Current events zh-tw</nowiki><br>
+
{{#switch: {{{lang}}}
 +
    | English = <nowiki>{{:Current events</nowiki><br>
 +
    | 中文 = <nowiki>{{:Current events zh-tw</nowiki><br>
 +
  }}
 
{{#if:{{{year|}}}|{{!}}{year={{{{year|}}}<br>}}<!--
 
{{#if:{{{year|}}}|{{!}}{year={{{{year|}}}<br>}}<!--
 
-->{{#if:{{{month|}}}|{{!}}month={{{month|}}}<br>}}<!--
 
-->{{#if:{{{month|}}}|{{!}}month={{{month|}}}<br>}}<!--

Revision as of 17:19, 12 December 2007

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

語言(Language)  {{#input: name=lang | type=select | value = |
  • 中文
  • English

}}

Currently no use
指定年份(year)  {{#input: name=year | value = }}
指定月份(month)  {{#input: name=month | value = }}
指定名字空間(namespace)  {{#input: name=namespace | value = }}
用途(purpose)  {{#input: name=purpose | value = }} 例「張三記事,李四記事」 (e.g: Michael's events,dpl group's event)
顯示指定章節(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

}}