Difference between revisions of "Template:Birthdays"

From Girlfriend Kari Wiki
Jump to: navigation, search
m (trying to read json)
(add line break to birthday template)
 
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
__NOCACHE__
 
{{#get_web_data:
 
{{#get_web_data:
url=http://birthdays.gfkari.com/api/today/exists
+
url=https://api.gfkari.com/api/birthdays/today/exist
 
|format=JSON
 
|format=JSON
|data=exist=exists
+
|data=exists=exists
}}
+
}}{{#get_web_data:
{{#external_value:exists}}
+
url=https://api.gfkari.com/api/birthdays/today/wikimessage
<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>
+
|format=JSON
 +
|data=message=message
 +
}}<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;">]}}
 +
<br>
 +
{{#external_value:message}}</center>

Latest revision as of 01:55, 21 March 2021

Spring!


It's Makoto Hiragi's birthday today!