Template:IB-Player: Difference between revisions

From Geometry Dash Expanded Wiki
Jump to navigation Jump to search
Copied from Official Wiki https://geometrydash.wiki.gg/index.php?title=Template%3AIB-Player&oldid=232159 ; contributors: https://geometrydash.wiki.gg/index.php?title=Template%3AIB-Player&action=history
Restore VisualEditor-compatible player infobox while preserving translated labels and all parameters
 
(8 intermediate revisions by 2 users not shown)
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">
{{#invoke:Expanded infobox image|render|{{{image|}}}|width=300}}
<default>{{PAGENAME}}</default>
</div>}}{{#if:{{{born|}}}{{{died|}}}{{{nickname|}}}{{{country|}}}{{{modstatus|}}}|<div class="pi-item pi-header pi-secondary-background" style="text-align:center;font-weight:bold;padding:.75rem;"><span data-gd-infobox-label="Information">Information</span></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;"><span data-gd-infobox-label="Born">Born</span></div><div class="pi-data-value pi-font" style="flex:1 1 0;min-width:0;font-weight:normal;">
</title>
{{{born|}}}
<image source="image"></image>
</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;"><span data-gd-infobox-label="Died">Died</span></div><div class="pi-data-value pi-font" style="flex:1 1 0;min-width:0;font-weight:normal;">
<data source="nickname">
{{{died|}}}
<label>Other names</label>
</div></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;"><span data-gd-infobox-label="Other names">Other names</span></div><div class="pi-data-value pi-font" style="flex:1 1 0;min-width:0;font-weight:normal;">
</data>
{{{nickname|}}}
<data source="country">
</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;"><span data-gd-infobox-label="Country">Country</span></div><div class="pi-data-value pi-font" style="flex:1 1 0;min-width:0;font-weight:normal;">
<label>Country</label>
{{{country|}}}
</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|<span data-gd-infobox-label="Mod status">Mod status</span>]]</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|}}}{{{rated|}}}{{{creatorpoints|}}}{{{stats|''[https://gdbrowser.com/search <span data-gd-infobox-label="Please search">Please search</span>]''}}}|<div class="pi-item pi-header pi-secondary-background" style="text-align:center;font-weight:bold;padding:.75rem;"><span data-gd-infobox-label="Statistics">Statistics</span></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;"><span data-gd-infobox-label="Uploaded levels">Uploaded levels</span></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;"><span data-gd-infobox-label="Rated levels">Rated levels</span></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;"><span data-gd-infobox-label="Creator points">Creator points</span></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 <span data-gd-infobox-label="Please search">Please search</span>]''}}}|<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;"><span data-gd-infobox-label="GD stats">GD stats</span></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 <span data-gd-infobox-label="Please search">Please search</span>]''}}}
<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;"><span data-gd-infobox-label="Social media">Social media</span></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;"><span data-gd-infobox-label="Other">Other</span></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.
Line 49: Line 35:
  |name          = (automatic)
  |name          = (automatic)
  |image        =
  |image        =
|born          =
|died          =
  |nickname      =
  |nickname      =
  |country      =
  |country      =
Line 65: Line 53:
{{IB-Player
{{IB-Player
  |name          = RobTop
  |name          = RobTop
  |image        = [[File:RobertTopala.png]]
  |image        = RobertTopala.png
|born          = {{Birth date and age|1987|2|23}}
  |nickname      = RubRub, Zhenmuron
  |nickname      = RubRub, Zhenmuron
  |country      = {{Flag|se|Sweden}}
  |country      = {{Flag|se|Sweden}}
Line 75: Line 64:
  |youtube      = [https://www.youtube.com/channel/UCz_yk8mDSAnxJq0ar66L4sw RobTopGames]
  |youtube      = [https://www.youtube.com/channel/UCz_yk8mDSAnxJq0ar66L4sw RobTopGames]
  |twitch        = [https://www.twitch.tv/directory/category/geometry-dash Geometry Dash]
  |twitch        = [https://www.twitch.tv/directory/category/geometry-dash Geometry Dash]
  |twitter      = [https://twitter.com/robtopgames @RobTopGames]
  |twitter      = [https://x.com/robtopgames @RobTopGames]
  |other        = [https://www.robtopgames.com www.robtopgames.com]
  |other        = [https://www.robtopgames.com www.robtopgames.com]
}}
}}
Line 81: Line 70:
{{IB-Player
{{IB-Player
  |name          = RobTop
  |name          = RobTop
  |image        = [[File:RobertTopala.png]]
  |image        = RobertTopala.png
|born          = {{Birth date and age|1987|2|23}}
  |nickname      = RubRub, Zhenmuron
  |nickname      = RubRub, Zhenmuron
  |country      = {{Flag|se|Sweden}}
  |country      = {{Flag|se|Sweden}}
Line 91: Line 81:
  |youtube      = [https://www.youtube.com/channel/UCz_yk8mDSAnxJq0ar66L4sw RobTopGames]
  |youtube      = [https://www.youtube.com/channel/UCz_yk8mDSAnxJq0ar66L4sw RobTopGames]
  |twitch        = [https://www.twitch.tv/directory/category/geometry-dash Geometry Dash]
  |twitch        = [https://www.twitch.tv/directory/category/geometry-dash Geometry Dash]
  |twitter      = [https://twitter.com/robtopgames @RobTopGames]
  |twitter      = [https://x.com/robtopgames @RobTopGames]
  |other        = [https://www.robtopgames.com www.robtopgames.com]
  |other        = [https://www.robtopgames.com www.robtopgames.com]
}}
}}
</pre>
</pre>
[[Category:Container templates]]</noinclude>
[[Category:Container templates]]
</noinclude>

Latest revision as of 20:52, 14 October 2026

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

Information
Born

23 February 1987 (age 39)

Other names

RubRub, Zhenmuron

Country

Sweden

Developer

Statistics
Uploaded levels

6

Rated levels

1

Creator points

1

GD stats
Social media
YouTube
Twitter
{{IB-Player
 |name          = RobTop
 |image         = RobertTopala.png
 |born          = {{Birth date and age|1987|2|23}}
 |nickname      = RubRub, Zhenmuron
 |country       = {{Flag|se|Sweden}}
 |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://x.com/robtopgames @RobTopGames]
 |other         = [https://www.robtopgames.com www.robtopgames.com]
}}