Difference between revisions of "Template:Flickr code generater"
From FollowTheScore
Roc michael (talk | contribs) |
Roc michael (talk | contribs) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
[http://www.mediawiki.org/wiki/Extension:Call Call extension]、[http://www.mediawiki.org/wiki/Extension:Simple_Forms Simple Forms extension] and [http://www.mediawiki.org/wiki/Extension:Flickr Flickr extension]. | [http://www.mediawiki.org/wiki/Extension:Call Call extension]、[http://www.mediawiki.org/wiki/Extension:Simple_Forms Simple Forms extension] and [http://www.mediawiki.org/wiki/Extension:Flickr Flickr extension]. | ||
− | {{#form: | + | {{#form: name= demo |action={{#replace:{{localurl:{{PAGENAME}}}} |
+ | |%^([\/]\S*[index.php])([\/])([{{PAGENAME}}]\S*)% | ||
+ | |\1 | ||
+ | }}| | ||
{{#input: name= title |type= hidden | value = Special:Call/Flickr code generater}} | {{#input: name= title |type= hidden | value = Special:Call/Flickr code generater}} | ||
<table cellpadding=0 cellspacing=0 margins=0> | <table cellpadding=0 cellspacing=0 margins=0> | ||
Line 67: | Line 70: | ||
==== {{{name}}} ==== | ==== {{{name}}} ==== | ||
|}} | |}} | ||
− | |||
<flickr>{{{photoid|}}}{{#replace:{{{url|}}} | <flickr>{{{photoid|}}}{{#replace:{{{url|}}} | ||
|/^([http]\S*[photos])[\/](\S*)[\/](\d*)[\/](\S*)/ | |/^([http]\S*[photos])[\/](\S*)[\/](\d*)[\/](\S*)/ | ||
Line 89: | Line 91: | ||
}}<!-- | }}<!-- | ||
----->{{#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> |
Latest revision as of 10:22, 12 April 2008
The Demo of Combining the use of Call extension、Simple Forms extension and Flickr extension.
{{#form: name= demo |action={{#replace:/dpldemo/index.php?title=Flickr_code_generater
|%^([\/]\S*[index.php])([\/])([Flickr code generater]\S*)% |\1 }}|
{{#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) |
}}