Jump to content

Template:Infobox Sandbox: Difference between revisions

From Rolling Lounge Wiki
No edit summary
Tag: Reverted
Undo revision 2657 by AZMindroma (talk)
Tags: Undo Mobile edit Mobile web edit Advanced mobile edit
Line 1: Line 1:
{{Infobox
{{Infobox
| headerstyle = {{#ifeq:{{{embed|}}}|yes||background-color:#ededed}}
| headerstyle = {{#ifeq:{{{embed|}}}|yes||background-color:#ededed}} <!-- Makes sure the headers are darker -->


| above      = {{{name|<includeonly>{{PAGENAMEBASE}}</includeonly>}}}
| above      = {{{name|<includeonly>{{PAGENAMEBASE}}</includeonly>}}} <!-- Title is the page name unless otherwise specified -->
| image     = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|alt={{{alt|}}}}}
| image   = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|alt={{{alt|}}}}} <!-- Not adding images is ok too -->
| caption    = {{{caption|}}}
| caption    = {{{caption|}}} <!-- Image caption -->


<!-- Header 1: Main Info (only shows if username, birthdate, or homecountry exists) -->
| header1    = Main Info
{{#if:{{{username|}}}{{{birthdate|}}}{{{homecountry|}}}
| label2    = Username
| {{!}}header1    = Main Info
| data2      = {{{username|}}}
| {{!}}label2    = Username
| {{!}}data2      = {{{username|}}}
| {{!}}label3    = Birth Date
| {{!}}data3      = {{{birthdate|}}}
| {{!}}label4    = Home Country
| {{!}}data4      = {{{homecountry|}}}
}}


<!-- Header 5: Rolling Lounge Info (only shows if highestrole or skillrole exists) -->
| label3     = Birth Date
{{#if:{{{highestrole|}}}{{{skillrole|}}}
| data3     = {{{birthdate|}}}
| {{!}}header5    = Rolling Lounge Info
| {{!}}label6     = Highest role
| {{!}}data6     = {{{highestrole|}}}
| {{!}}label7    = Skill Role
| {{!}}data7      = {{{skillrole|}}}
}}


<!-- Header 8: Social Media (only shows if youtube, twitter, or discord exists) -->
| label4    = Home Country
{{#if:{{{youtube|}}}{{{twitter|}}}{{{discord|}}}
| data4      = {{{homecountry|}}}
| {{!}}header8    = Social Media
 
| {{!}}label9    = YouTube
| header5    = Rolling Lounge Info
| {{!}}data9      = {{{youtube|}}}
| label6    = Highest role
| {{!}}label10   = X/Twitter
| data6      = {{{highestrole|}}}
| {{!}}data10     = {{{twitter|}}}
 
| {{!}}label11   = Discord Server
| label7    = Skill Role
| {{!}}data11     = {{{discord|}}}
| data7      = {{{skillrole|}}}
}}
 
| header8    = Social Media
| label9    = YouTube
| data9      = {{{youtube|}}}
 
| label10     = X/Twitter
| data10     = {{{twitter|}}}
 
| label11     = Discord Server
| data11     = {{{discord|}}}
}}
}}

Revision as of 13:23, 9 June 2025

Main Info
Rolling Lounge Info
Social Media