Template:PlayerCard: Difference between revisions
Jump to navigation
Jump to search
(Created page with "<!-- API CALLS FOR DATA--> <span style="display:none"> {{#get_web_data:url=https://crafters.one/api/v1/stats/players?player={{{uuid|1f61bbf9-a919-4b91-9f36-d082f7bfbf31}}}}}{{#get_web_data:url=https://crafters.one/api/v1/data/player_role?uuid={{{uuid|1f61bbf9-a919-4b91-9f36-d082f7bfbf31}}}}} </span> <!-- Main container for info box --> <div class="detail-box" style="float:right; border-style:solid; border-width:4px; border-color:{{{border-color|#647c8c}}}; text-align:ce...") |
No edit summary |
||
| (3 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
<!-- API CALLS FOR DATA--> | <!-- API CALLS FOR DATA--> | ||
<span style="display:none"> | <span style="display:none"> | ||
{{#get_web_data:url=https://crafters.one/api/v1/data/player_role?uuid={{{uuid|1f61bbf9-a919-4b91-9f36-d082f7bfbf31}}}}} | |||
</span> | </span> | ||
<!-- Main container for info box --> | <!-- Main container for info box --> | ||
<div | <div style="float:right; border-style:solid; border-width:3px; border-color: {{{border-color|black}}}; max-width:200px; min-width:200px; display: flex; flex-direction: column; gap:0px"> | ||
<!-- Username --> | <!-- Username --> | ||
<div style="text-align:center; font-size:20px; font-weight:bold | <div style="display: flex; align-items: center; justify-content: center; text-align: center; font-size:20px; font-weight:bold"> | ||
{{#external_value:username|?}} | {{#external_value:username|?}} | ||
</div> | </div> | ||
| Line 22: | Line 16: | ||
</div> | </div> | ||
<!-- Role --> | |||
<div style="display: flex; align-items: center; justify-content: center; text-align: center; background-color:{{RoleColor|role={{#external_value:role}}|uuid={{#external_value:uuid}}}}; color:black; margin:4px 4px; height: 26px; font-weight:bold"> | |||
{{ucfirst:{{#external_value:role}}}} | |||
</div> | </div> | ||
< | </div> | ||
Latest revision as of 18:22, 29 July 2025
Sek
Volunteer