Difference between revisions of "Template:Flickr code generater"
From FollowTheScore
Roc michael (talk | contribs) |
Roc michael (talk | contribs) |
||
Line 10: | Line 10: | ||
<td align="right">圖片網址(url)</td> | <td align="right">圖片網址(url)</td> | ||
<td colspan="3"> {{#input: name=url | <td colspan="3"> {{#input: name=url | ||
− | | value = {{{url|}}} }}</td> | + | | value = {{{url|}}} }} (EX:http://www.flickr.com/photos/king-edward/362100651/in/photostream/)</td> |
</tr> | </tr> | ||
<!--------------------> | <!--------------------> | ||
<tr bgcolor="#ffeedd"> | <tr bgcolor="#ffeedd"> | ||
<td align="right">圖片編號(photoid)</td> | <td align="right">圖片編號(photoid)</td> | ||
− | <td colspan="3"> {{#input: name=photoid | value = {{{photoid|}}}}} ( | + | <td colspan="3"> {{#input: name=photoid | value = {{{photoid|}}}}} (EX:「1380153248」)</td> |
</tr> | </tr> | ||
<!--------------------> | <!--------------------> | ||
Line 89: | Line 89: | ||
----->{{#if:{{{caption|}}}|{{!}}{{{caption|}}} }}</flickr> | ----->{{#if:{{{caption|}}}|{{!}}{{{caption|}}} }}</flickr> | ||
---- | ---- | ||
− | <big><u> | + | <big><u>您使用如下的查詢參數(Your query is following):</u><br><br> |
<flickr>{{{photoid|}}}{{#replace:{{{url|}}} | <flickr>{{{photoid|}}}{{#replace:{{{url|}}} | ||
|/^([http]\S*[photos])[\/](\S*)[\/](\d*)[\/](\S*)/ | |/^([http]\S*[photos])[\/](\S*)[\/](\d*)[\/](\S*)/ |
Revision as of 07:40, 16 March 2008
The Demo of Combining the use of Call extension、Simple Forms extension and Flickr extension.
{{#form: name= demo |action=/dpldemo/index.php| {{#input: name= title |type= hidden | value = Special:Call/Flickr code generater}}
圖片網址(url) | {{#input: name=url | value = }} (EX:http://www.flickr.com/photos/king-edward/362100651/in/photostream/) | ||
圖片編號(photoid) | {{#input: name=photoid | value = }} (EX:「1380153248」) | ||
圖片型式(type) | {{#input: name=type | type=select | value = |
}} |
||
圖片位置(location) | {{#input: name=location | type=select | value = |
}} |
||
圖片尺寸(size) | {{#input: name=size | type=select | value = |
}} |
||
圖片註解(caption) | {{#input: name=caption | value = }} |
{{#input: type = submit | value = 產生(Generate)}} 放棄(reset) |
}}