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

From FollowTheScore
Jump to: navigation, search
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#form: name= demo     |action=/dpldemo/index.php|
+
{{#form: name=demo |action={{#replace:{{localurl:{{PAGENAME}}}}
 +
                            |%^([\/]\S*[index.php])([\/])([{{PAGENAME}}]\S*)%
 +
                            |\1
 +
                          }}|
 
{{#input: name= title    |type= hidden | value = Special:Call/DPL Calendar code generater zh-tw }}
 
{{#input: name= title    |type= hidden | value = Special:Call/DPL Calendar code generater zh-tw }}
 
<table cellpadding=0 cellspacing=0 margins=0>
 
<table cellpadding=0 cellspacing=0 margins=0>
Line 9: Line 12:
 
*中文
 
*中文
 
*English
 
*English
 +
*<br>
 
}}
 
}}
 
</td>
 
</td>
Line 45: Line 49:
 
<td align="right">顯示報表(eventList)</td>
 
<td align="right">顯示報表(eventList)</td>
 
<td>&nbsp;{{#input: name=eventList | type=select | value = {{{eventList|}}} |  
 
<td>&nbsp;{{#input: name=eventList | type=select | value = {{{eventList|}}} |  
*
+
*<br>
 
*current
 
*current
 
*no
 
*no
Line 91: Line 95:
 
     | English = Current events
 
     | English = Current events
 
     | 中文 = Current events zh-tw
 
     | 中文 = Current events zh-tw
 +
    | Current events
 
   }}
 
   }}
 
  |year={{{year|}}}
 
  |year={{{year|}}}
Line 103: Line 108:
 
}}
 
}}
 
----
 
----
<small><u>您使用如下的查詢參數(Your query used the following parameters)</u><br/>
+
<small><u>{{#switch: {{{lang}}}
 +
    | English =Your query used the following parameters:
 +
    | 中文 = 您使用如下的查詢參數:
 +
    | Your query used the following parameters:
 +
  }}
 +
</u><br/>
 
{{#switch: {{{lang}}}
 
{{#switch: {{{lang}}}
 
     | English = <nowiki>{{:Current events</nowiki><br>
 
     | English = <nowiki>{{:Current events</nowiki><br>
 
     | 中文 = <nowiki>{{:Current events zh-tw</nowiki><br>
 
     | 中文 = <nowiki>{{:Current events zh-tw</nowiki><br>
 +
    | <nowiki>{{:Current events</nowiki><br>
 
   }}
 
   }}
 
{{#if:{{{year|}}}|{{!}}{year={{{{year|}}}<br>}}<!--
 
{{#if:{{{year|}}}|{{!}}{year={{{{year|}}}<br>}}<!--

Latest revision as of 09:57, 12 April 2008

{{#form: name=demo |action={{#replace:/dpldemo/index.php?title=DPL_Calendar_code_generater_zh-tw

                           |%^([\/]\S*[index.php])([\/])([DPL Calendar code generater zh-tw]\S*)%
                           |\1
                          }}|

{{#input: name= title |type= hidden | value = Special:Call/DPL Calendar code generater zh-tw }}

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

}}

指定年份(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

}}