Difference between revisions of "Template:Flickr code generater"
From FollowTheScore
Roc michael (talk | contribs) |
Roc michael (talk | contribs) |
||
Line 67: | Line 67: | ||
==== {{{name}}} ==== | ==== {{{name}}} ==== | ||
|}} | |}} | ||
+ | {{#if:{{{name|}}}| | ||
<flickr>{{{photoid|}}}{{#replace:{{{url|}}} | <flickr>{{{photoid|}}}{{#replace:{{{url|}}} | ||
|/^([http]\S*[photos])[\/](\S*)[\/](\d*)[\/](\S*)/ | |/^([http]\S*[photos])[\/](\S*)[\/](\d*)[\/](\S*)/ | ||
Line 88: | Line 89: | ||
}}<!-- | }}<!-- | ||
----->{{#if:{{{caption|}}}|{{!}}{{{caption|}}} }}</flickr> | ----->{{#if:{{{caption|}}}|{{!}}{{{caption|}}} }}</flickr> | ||
+ | |}} | ||
---- | ---- | ||
<big><u>您使用如下的查詢參數(Your query is following):</u><br><br> | <big><u>您使用如下的查詢參數(Your query is following):</u><br><br> |
Revision as of 12:34, 25 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) |
}}