“喷嚏图卦”的版本间的差异
来自China Digital Space
(Created page with "<feed url="feeds://chinadigitaltimes.net/chinese/tag/喷嚏图卦/feed/" entries="10"> == [{PERMALINK} {TITLE}] == '''{DATE}, by {AUTHOR}''' </feed> 回到:网络社区...") |
|||
第1行: | 第1行: | ||
+ | <!-- | ||
+ | ############################################################################################# | ||
+ | Part 1: Getting extract from Wikipedia | ||
+ | {{FULLPAGENAME}} defaults to the title of this page, but you can change it manually. | ||
+ | ############################################################################################# | ||
+ | --> | ||
+ | |||
+ | {{#get_web_data: | ||
+ | url=https://zh.wikipedia.org/w/api.php?action=query&prop=extracts&exsentences=4&explaintext&format=json&exintro&titles={{FULLPAGENAME}} | ||
+ | |format=JSON | ||
+ | |data=extract=extract}} | ||
+ | |||
+ | {{#external_value:extract }}[https://zh.wikipedia.org/wiki/{{FULLPAGENAME}} (维基百科{{FULLPAGENAME}})] | ||
+ | |||
<feed url="feed://chinadigitaltimes.net/chinese/tag/喷嚏图卦/feed/" entries="10"> | <feed url="feed://chinadigitaltimes.net/chinese/tag/喷嚏图卦/feed/" entries="10"> | ||
== [{PERMALINK} {TITLE}] == | == [{PERMALINK} {TITLE}] == |
2015年11月15日 (日) 13:31的版本
Error: no local variable "extract" was set.(维基百科喷嚏图卦)
<feed url="feed://chinadigitaltimes.net/chinese/tag/喷嚏图卦/feed/" entries="10">
[{PERMALINK} {TITLE}]
{DATE}, by {AUTHOR} </feed>
回到:网络社区和自媒体项目