More actions
BigBang1112 (talk | contribs) Make it clear that the info box is about title pack |
m Use ingame request url instead of webservices |
||
(2 intermediate revisions by one other user not shown) | |||
Line 8: | Line 8: | ||
{{#if:{{{uid|}}} | {{#if:{{{uid|}}} | ||
| {{#get_web_data: | | {{#get_web_data: | ||
| url = https://maniaplanet.com/ | | url = https://prod.live.maniaplanet.com/ingame/public/titles/{{{uid}}} | ||
| format = json with jsonpath | | format = json with jsonpath | ||
| cache seconds = 300 | | cache seconds = 300 | ||
Line 29: | Line 29: | ||
! colspan="2" class="infobox-title" | Title Pack | ! colspan="2" class="infobox-title" | Title Pack | ||
|- | |- | ||
| colspan="2" class="infobox-image thumb-custom" style="--thumb-width:275px" | | colspan="2" class="infobox-image thumb-custom" style="--thumb-width:275px" | {{#external_value:card_url}} | ||
|- | |- | ||
! Name || [https://maniaplanet.com/titles/{{{uid}}} {{#external_value:name}}] | ! Name || [https://maniaplanet.com/titles/{{{uid}}} {{Deformat|{{#external_value:name}}}}] | ||
|- | |- | ||
! Author(s) || {{{authors|Unknown}}} | ! Author(s) || {{{authors|Unknown}}} | ||
Line 90: | Line 90: | ||
[[Category:Infobox templates]] | [[Category:Infobox templates]] | ||
</noinclude> | </noinclude> |
Latest revision as of 06:19, 14 September 2025
Usage[edit]
This is the infobox template for title packs. To use it, copy and paste the following code into an article (uid
is required):
{{Infobox title pack | uid = TMStadium@nadeo | authors = Author Names (Optional) }}
Other overrides available.
{{Infobox title pack | uid = TMStadium@nadeo | authors = Author Names (Optional) | title = Title Pack Name (Optional) | card_image = Example.jpg (Optional) | punchline | cost | title_maker_uid }}