Template:IB-Player: Difference between revisions

From Geometry Dash Expanded Wiki
Jump to navigation Jump to search
m Protected "Template:IB-Player": Match protection of Official Wiki counterpart; preserve stronger existing protection ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite))
Use VE-compatible infobox markup with bold labels and normal values; add born and died fields
Tag: Reverted
Line 1: Line 1:
<infobox>
<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">
<title source="name">
{{#if:{{#pos:{{{image|}}}|[}}|{{{image|}}}|{{#if:{{#pos:{{{image|}}}|<}}|{{{image|}}}|[[File:{{#replace:{{{image|}}}|File:|}}|300px]]}}}}
<default>{{PAGENAME}}</default>
</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;">
</title>
{{{nickname|}}}
<image source="image"></image>
</div></div>}}{{#if:{{{country|}}}|<div class="pi-item pi-data pi-item-spacing pi-border-color" data-source="country" 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;">Country</div><div class="pi-data-value pi-font" style="flex:1 1 0;min-width:0;font-weight:normal;">
<data source="nickname">
{{{country|}}}
<label>Other names</label>
</div></div>}}{{#if:{{{born|}}}|<div class="pi-item pi-data pi-item-spacing pi-border-color" data-source="born" 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;">Born</div><div class="pi-data-value pi-font" style="flex:1 1 0;min-width:0;font-weight:normal;">
</data>
{{{born|}}}
<data source="country">
</div></div>}}{{#if:{{{died|}}}|<div class="pi-item pi-data pi-item-spacing pi-border-color" data-source="died" 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;">Died</div><div class="pi-data-value pi-font" style="flex:1 1 0;min-width:0;font-weight:normal;">
<label>Country</label>
{{{died|}}}
</data>
</div></div>}}{{#if:{{{modstatus|}}}|<div class="pi-item pi-data pi-item-spacing pi-border-color" data-source="modstatus" 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;">[[Moderators|Mod status]]</div><div class="pi-data-value pi-font" style="flex:1 1 0;min-width:0;font-weight:normal;">
<data source="modstatus">
{{{modstatus|}}}
<label>[[Moderators|Mod status]]</label>
</div></div>}}{{#if:{{{levels|}}}|<div class="pi-item pi-data pi-item-spacing pi-border-color" data-source="levels" 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;">Uploaded levels</div><div class="pi-data-value pi-font" style="flex:1 1 0;min-width:0;font-weight:normal;">
</data>
{{{levels|}}}
<data source="levels">
</div></div>}}{{#if:{{{rated|}}}|<div class="pi-item pi-data pi-item-spacing pi-border-color" data-source="rated" 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;">Rated levels</div><div class="pi-data-value pi-font" style="flex:1 1 0;min-width:0;font-weight:normal;">
<label>Uploaded levels</label>
{{{rated|}}}
</data>
</div></div>}}{{#if:{{{creatorpoints|}}}|<div class="pi-item pi-data pi-item-spacing pi-border-color" data-source="creatorpoints" 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;">Creator points</div><div class="pi-data-value pi-font" style="flex:1 1 0;min-width:0;font-weight:normal;">
<data source="rated">
{{{creatorpoints|}}}
<label>Rated levels</label>
</div></div>}}{{#if:{{{stats|''[https://gdbrowser.com/search Please search]''}}}|<div class="pi-item pi-data pi-item-spacing pi-border-color" data-source="stats" 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;">GD stats</div><div class="pi-data-value pi-font" style="flex:1 1 0;min-width:0;font-weight:normal;">
</data>
{{{stats|''[https://gdbrowser.com/search Please search]''}}}
<data source="creatorpoints">
</div></div>}}{{#if:{{{youtube|}}}{{{twitch|}}}{{{twitter|}}}{{{other|}}}|<div class="pi-item pi-header pi-secondary-background" style="text-align:center;font-weight:bold;padding:.75rem;">Social media</div>{{#if:{{{youtube|}}}|<div class="pi-item pi-data pi-item-spacing pi-border-color" data-source="youtube" 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;"><span style="white-space:nowrap;">YouTube [[File:GDYouTube.png|24px|link=]]</span></div><div class="pi-data-value pi-font" style="flex:1 1 0;min-width:0;font-weight:normal;">
<label>Creator points</label>
{{{youtube|}}}
</data>
</div></div>}}{{#if:{{{twitch|}}}|<div class="pi-item pi-data pi-item-spacing pi-border-color" data-source="twitch" 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;"><span style="white-space:nowrap;">Twitch [[File:GDTwitch.png|24px|link=]]</span></div><div class="pi-data-value pi-font" style="flex:1 1 0;min-width:0;font-weight:normal;">
<data source="stats">
{{{twitch|}}}
<label>GD stats</label>
</div></div>}}{{#if:{{{twitter|}}}|<div class="pi-item pi-data pi-item-spacing pi-border-color" data-source="twitter" 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;"><span style="white-space:nowrap;">Twitter [[File:GDTwitter.png|24px|link=]]</span></div><div class="pi-data-value pi-font" style="flex:1 1 0;min-width:0;font-weight:normal;">
<default>''[https://gdbrowser.com/search Please search]''</default>
{{{twitter|}}}
</data>
</div></div>}}{{#if:{{{other|}}}|<div class="pi-item pi-data pi-item-spacing pi-border-color" data-source="other" 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</div><div class="pi-data-value pi-font" style="flex:1 1 0;min-width:0;font-weight:normal;">
<group>
{{{other|}}}
<header>Social media</header>
</div></div>}}}}</div><noinclude>
<data source="youtube">
<label><span style="white-space:nowrap;">YouTube [[File:GDYouTube.png|24px|link=]]</span></label>
</data>
<data source="twitch">
<label><span style="white-space:nowrap;">Twitch [[File:GDTwitch.png|24px|link=]]</span></label>
</data>
<data source="twitter">
<label><span style="white-space:nowrap;">Twitter [[File:GDTwitter.png|24px|link=]]</span></label>
</data>
<data source="other">
<label>Other</label>
</data>
</group>
</infobox><noinclude>
;Description
;Description
:This template is an infobox which provides information about a player at a glance.
:This template is an infobox which provides information about a player at a glance.
;Notes
:The <code>died</code> parameter is reserved for Michigun; omit it for other players.
;Syntax
;Syntax
<pre>
<pre>
Line 51: Line 39:
  |nickname      =
  |nickname      =
  |country      =
  |country      =
|born          =
|died          = (Michigun only)
  |modstatus    =
  |modstatus    =
  |levels        =
  |levels        =
Line 68: Line 58:
  |nickname      = RubRub, Zhenmuron
  |nickname      = RubRub, Zhenmuron
  |country      = {{Flag|se|Sweden}}
  |country      = {{Flag|se|Sweden}}
|born          = 23 February 1987
  |modstatus    = Developer
  |modstatus    = Developer
  |levels        = 6
  |levels        = 6
Line 84: Line 75:
  |nickname      = RubRub, Zhenmuron
  |nickname      = RubRub, Zhenmuron
  |country      = {{Flag|se|Sweden}}
  |country      = {{Flag|se|Sweden}}
|born          = 23 February 1987
  |modstatus    = Developer
  |modstatus    = Developer
  |levels        = 6
  |levels        = 6

Revision as of 14:55, 11 October 2026

IB-Player
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

Other names

RubRub, Zhenmuron

Country

Sweden

Born

23 February 1987

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]
}}