Difference between revisions of "Template:Birthdays"

From Girlfriend Kari Wiki
Jump to: navigation, search
(this page changes every day, so it should never be cached.)
m (fixed birthday system)
Line 1: Line 1:
 
__NOCACHE__
 
__NOCACHE__
 
{{#get_web_data:
 
{{#get_web_data:
url=http://birthdays.gfkari.com/api/today/exists
+
url=http://api.gfkari.com/api/birthdays/today/exist
 
|format=JSON
 
|format=JSON
 
|data=exists=exists
 
|data=exists=exists
 
}}{{#get_web_data:
 
}}{{#get_web_data:
url=http://birthdays.gfkari.com/api/today/wikiMessage
+
url=http://api.gfkari.com/api/birthdays/today/wikimessage
 
|format=JSON
 
|format=JSON
 
|data=message=message
 
|data=message=message
}}<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;">|[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://api.gfkari.com/api/birthdays/today/card" alt="Spring!" style="max-width:100%;height:auto;width:auto;">|[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;">]}}
  
 
{{#external_value:message}}</center>
 
{{#external_value:message}}</center>

Revision as of 04:32, 13 February 2017

Error: Invalid JSON.Error: Invalid JSON.
Spring! Error: no local variable "message" was set.