Template:IB-Player: Difference between revisions

From Geometry Dash Expanded Wiki
Jump to navigation Jump to search
Add Information and Statistics dividers to the player infobox
Tag: Reverted
Preserve galleries and existing image markup instead of treating them as filenames
Tag: Reverted
Line 1: Line 1:
<div class="portable-infobox expanded-ve-infobox pi-background pi-border-color pi-theme-default"><div class="pi-item pi-item-spacing pi-title pi-secondary-background">{{{name|{{PAGENAME}}}}}</div>{{#if:{{{image|}}}|<div class="pi-item pi-image">
<div class="portable-infobox expanded-ve-infobox pi-background pi-border-color pi-theme-default"><div class="pi-item pi-item-spacing pi-title pi-secondary-background">{{{name|{{PAGENAME}}}}}</div>{{#if:{{{image|}}}|<div class="pi-item pi-image">
{{#if:{{#pos:{{{image|}}}|[}}|{{{image|}}}|{{#if:{{#pos:{{{image|}}}|<}}|{{{image|}}}|[[File:{{#replace:{{{image|}}}|File:|}}|300px]]}}}}
{{#invoke:Expanded infobox image|render|{{{image|}}}|width=300}}
</div>}}{{#if:{{{nickname|}}}{{{country|}}}{{{born|}}}{{{died|}}}|<div class="pi-item pi-header pi-secondary-background" style="text-align:center;font-weight:bold;padding:.75rem;">Information</div>}}{{#if:{{{nickname|}}}|<div class="pi-item pi-data pi-item-spacing pi-border-color" data-source="nickname" style="display:flex;align-items:center;gap:1rem;"><div class="pi-data-label pi-secondary-font" style="flex:0 0 33%;width:33%;font-weight:bold;">Other names</div><div class="pi-data-value pi-font" style="flex:1 1 0;min-width:0;font-weight:normal;">
</div>}}{{#if:{{{nickname|}}}{{{country|}}}{{{born|}}}{{{died|}}}|<div class="pi-item pi-header pi-secondary-background" style="text-align:center;font-weight:bold;padding:.75rem;">Information</div>}}{{#if:{{{nickname|}}}|<div class="pi-item pi-data pi-item-spacing pi-border-color" data-source="nickname" style="display:flex;align-items:center;gap:1rem;"><div class="pi-data-label pi-secondary-font" style="flex:0 0 33%;width:33%;font-weight:bold;">Other names</div><div class="pi-data-value pi-font" style="flex:1 1 0;min-width:0;font-weight:normal;">
{{{nickname|}}}
{{{nickname|}}}

Revision as of 19:01, 12 October 2026

IB-Player
Statistics
GD stats
Description
This template is an infobox which provides information about a player at a glance.
Notes
The died parameter is reserved for Michigun; omit it for other players.
Syntax
{{IB-Player
 |name          = (automatic)
 |image         =
 |nickname      =
 |country       =
 |born          =
 |died          = (Michigun only)
 |modstatus     =
 |levels        =
 |rated         =
 |creatorpoints =
 |stats         = (required)
 |youtube       =
 |twitch        =
 |twitter       =
 |other         =
}}
Sample & output
RobTop

Information
Other names

RubRub, Zhenmuron

Country

Sweden

Born

23 February 1987

Statistics

Developer

Uploaded levels

6

Rated levels

1

Creator points

1

GD stats
Social media
YouTube
Twitter
{{IB-Player
 |name          = RobTop
 |image         = [[File:RobertTopala.png]]
 |nickname      = RubRub, Zhenmuron
 |country       = {{Flag|se|Sweden}}
 |born          = 23 February 1987
 |modstatus     = Developer
 |levels        = 6
 |rated         = 1
 |creatorpoints = 1
 |stats         = [https://gdbrowser.com/u/RobTop RobTop]
 |youtube       = [https://www.youtube.com/channel/UCz_yk8mDSAnxJq0ar66L4sw RobTopGames]
 |twitch        = [https://www.twitch.tv/directory/category/geometry-dash Geometry Dash]
 |twitter       = [https://twitter.com/robtopgames @RobTopGames]
 |other         = [https://www.robtopgames.com www.robtopgames.com]
}}