More actions
BigBang1112 (talk | contribs) m Change Maker default to Unused, deformat punchline |
BigBang1112 (talk | contribs) m Fix display |
||
| (6 intermediate revisions by 3 users 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 21: | Line 21: | ||
background_url = $.background_url, | background_url = $.background_url, | ||
logo_url = $.logo_url, | logo_url = $.logo_url, | ||
title_maker_uid = $.title_maker_uid | title_maker_uid = $.title_maker_uid, | ||
registrations = $.registrations, | |||
}} | }} | ||
}} | }} | ||
| Line 27: | Line 28: | ||
{| class="wikitable infobox-titlepack" style="width:300px; float:right; clear:right; margin-left:10px;" | {| class="wikitable infobox-titlepack" style="width:300px; float:right; clear:right; margin-left:10px;" | ||
|- | |- | ||
! colspan="2" class="infobox-title" | ! colspan="2" class="infobox-title" style="text-align:center;" | 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}}} {{Deformat|{{#external_value:name}}}}] | |||
|- | |- | ||
! Author(s) || {{{authors|Unknown}}} | ! Author(s) || {{{authors|Unknown}}} | ||
| Line 43: | Line 42: | ||
| N/A | | N/A | ||
}} }} | }} }} | ||
|- | |||
! Registrations || {{#external_value:registrations|?}} | |||
|- | |- | ||
! Cost || {{#if:{{{cost|}}} | ! Cost || {{#if:{{{cost|}}} | ||
| Line 55: | Line 56: | ||
| N/A | | N/A | ||
}} | }} | ||
|- | |||
! UID || {{{uid}}} | |||
|- | |- | ||
! [[Title Maker|Maker]] || {{#if:{{{title_maker|}}} | ! [[Title Maker|Maker]] || {{#if:{{{title_maker|}}} | ||
| Line 89: | Line 92: | ||
</pre> | </pre> | ||
[[Category:Infobox templates]] | |||
</noinclude> | </noinclude> | ||
Latest revision as of 15:52, 2 February 2026
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
}}