359
edits
(replaced the publishing system on friend codes) |
(added pagination api; reduced html overhead for mobile(?); waiting for the aforementioned Extension:UrlGetParameters) |
||
Line 13: | Line 13: | ||
<p>Or if you wish to still see the legacy friends catalog, [https://docs.google.com/spreadsheets/d/14s5jHUDQvWqYUG7mApBbxXE4KQTDTm0KYbJMQ_qVxig/ click here].</p> | <p>Or if you wish to still see the legacy friends catalog, [https://docs.google.com/spreadsheets/d/14s5jHUDQvWqYUG7mApBbxXE4KQTDTm0KYbJMQ_qVxig/ click here].</p> | ||
----- | ----- | ||
{{#get_web_data:url=https://housamo.club/friends/json.php?limit=21&page={{#urlget:friendpage}}|format=JSON|data=tname=name,tcode=code|cache seconds=7200}} | {{#get_web_data:url=https://housamo.club/friends/json.php?limit=21&page={{#urlget:friendpage}}|format=JSON|data=tname=name,tcode=code|cache seconds=7200}} | ||
{{#for_external_table:< | {{#for_external_table:<nowiki/> | ||
{{FriendCode | {{FriendCode | ||
|name={{{tname}}} | |name={{{tname}}} | ||
|code={{{tcode}}} | |code={{{tcode}}} | ||
}} | }} | ||
</ | }} | ||
<div style="display:inline-block; margin: 1.5em 0; font-size: 20px; text-align: center;"> | |||
{{#get_web_data:url=https://housamo.club/friends/json.php?type=pagination|format=JSON|data=tpage=page,ttext=text|cache seconds=7200}} | |||
{{#for_external_table:<nowiki/><div style="display: inline-block; padding: 0.5em; border: 1px solid black; border-radius: 0.25em; margin: 0 1em;">[{{fullurl:{{FULLPAGENAME}}|friendpage={{{tpage}}}}} {{{ttext}}}]</div>}} | |||
</div> | </div> | ||
{{Guide}} | {{Guide}} |
edits