Difference between revisions of "Template:Birthdays"

From Girlfriend Kari Wiki
Jump to: navigation, search
m (trying to read json)
m
Line 2: Line 2:
 
url=http://birthdays.gfkari.com/api/today/exists
 
url=http://birthdays.gfkari.com/api/today/exists
 
|format=JSON
 
|format=JSON
|data=exist=exists
+
|data=exists=exists
 
}}
 
}}
 
{{#external_value:exists}}
 
{{#external_value:exists}}
<center>[http://www.pixiv.net/member_illust.php?mode=medium&illust_id=50418711 <img src="https://wiki.gfkari.com/images/thumb/c/cf/Spring.jpg/640px-Spring.jpg" alt="Spring!" style="max-width:100%;height:auto;width:auto;">]</center>
+
{{#ifeq: {{#external_value:exists}} | true | <img src="http://birthdays.gfkari.com/api/today/picture" alt="Spring!" style="max-width:100%;height:auto;width:auto;"> | <center>[http://www.pixiv.net/member_illust.php?mode=medium&illust_id=50418711 <img src="https://wiki.gfkari.com/images/thumb/c/cf/Spring.jpg/640px-Spring.jpg" alt="Spring!" style="max-width:100%;height:auto;width:auto;">]</center> }}

Revision as of 01:16, 3 July 2016

URL is not allowed Error: no local variable "exists" was set.

Spring!