Jump to content

Template:Infobox Sandbox: Difference between revisions

From Rolling Lounge Wiki
m Text replacement - "| image = {{#if:{{{image|}}}|[[File:{{{image}}}|frameless|alt={{{alt|{{{name}}}}}}]]}}" to "| image = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|alt={{{alt|}}}}}"
No edit summary
Tag: Reverted
Line 1: Line 1:
{{Infobox
{{Infobox
| headerstyle = {{#ifeq:{{{embed|}}}|yes||background-color:#ededed}} <!-- Makes sure the headers are darker -->
| headerstyle = {{#ifeq:{{{embed|}}}|yes||background-color:#ededed}}


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


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


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


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

Revision as of 08:49, 9 June 2025