Template:PlayerCard: Difference between revisions

From Crafters Wiki
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
Line 5: Line 5:


<!-- Main container for info box -->
<!-- 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:center; width:25%; max-width:200px; min-width:200px">
<div style="float:right; border-style:solid; border-width:3px; 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; vertical-align:center">
<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>
<!-- Role -->
<div style="text-align:center; background-color:{{RoleColor|role={{#external_value:role}}|uuid={{#external_value:uuid}}}}; color:black; margin:0px 0.5em">
<span style="font-weight:bold">{{ucfirst:{{#external_value:role}}}}</span>
</div>
</div>


Line 20: Line 14:
<div style="text-align:center; object-fit:contain">
<div style="text-align:center; object-fit:contain">
https://visage.surgeplay.com/bust/200/{{#external_value:uuid}}.png
https://visage.surgeplay.com/bust/200/{{#external_value:uuid}}.png
</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>



Revision as of 22:39, 28 July 2025

Sek

1f61bbf9-a919-4b91-9f36-d082f7bfbf31.png

Volunteer