Don't mind this, I stole it from the Genshin Wiki
Jump to navigation
Jump to search
Note: This is a user's personal page attached to their profile! This is not an actual article, may not be related to JoJo or Araki, and is not associated with the wiki. As such, it may not adhere to the policies. |
<!-- --><div class="custom-user-profile-container"><!-- -->{{#if:{{{header|}}}|<div style="margin-bottom: 5px; border: 1px solid rgba(205, 187, 165, 0.5); {{#if:{{{characters|}}} {{{weapons|}}} {{{namecards|}}}|box-sizing: border-box;|width: 362px;}} border-radius: 5px; text-align: center; padding:0 16px;">{{{header}}}</div>}}<!-- --><div class="custom-user-profile-main" style="width: 100%; display: flex; flex-wrap: wrap; gap: 5px;"><!-- --><div class="custom-user-profile-left" style="width: 362px; vertical-align: top; display: flex; flex-direction: column; border: 1px solid rgba(205, 187, 165, 0.5); border-radius: 5px; padding: 5px;"><!-- -->{{#if:{{{namecard|}}}{{{UID|}}}{{{server|}}}|<div class="custom-user-profile-namecard-container" style="position: relative; height: 167px; width: 350px;"><!-- -->{{Linkless exists|File:{{{namecard|}}}|<!-- -->{{#tag:div|[[File:{{{namecard}}}|350px|link=]]<!-- -->|style=border-radius: 5px; height: 167px; width: 350px;}}<!-- -->|}}<!-- -->{{#if:{{{UID|}}}{{{server|}}}|<div style="position: absolute; top: 5px; left: 0; right: 0; margin: auto; text-align: center; color: {{{UID_color|#FFFFFF}}}; z-index: 2;">{{#if:{{{UID|}}}|'''UID {{{UID}}}'''}}{{#if:{{{server|}}}|{{#if:{{{UID|}}}|<br />}}'''({{{server}}})'''}}</div>}}<!-- -->{{Linkless exists|File:Character {{{avatar|}}} Thumb.png|<!-- -->{{#tag:div|[[File:Character {{{avatar|Traveler}}} Thumb.png|75px|link=]]<!-- -->|class=hidden|style=position: absolute; bottom: 5px; width: 85px; height: 85px; left: 0; right: 0; margin: auto; border-radius: 50%; overflow: hidden; background-color: {{{avatar_background_color|#D19D78}}}; z-index: 3; border: 5px solid #1f1f29; margin: 0 auto;}}<!-- -->|}}<!-- --></div>}}<!-- --><div class="custom-user-profile-details-container"><!-- --><div style="text-align: center; font-size: 20px;">'''{{{name|{{PAGENAME}}}}}'''</div><!-- -->{{#if:{{{AR|}}}|<div style="background-color: rgba(167, 185, 130, 0.5); margin: 10px 0;"><!-- --><span style="padding-left: 10px;">'''Adventure Rank'''</span><span style="text-align: right; padding-right: 10px; float: right;">{{{AR}}}</span><!-- --></div>}}<!-- -->{{#if:{{{WL|}}}|<div style="background-color: rgba(205, 187, 165, 0.5); margin: 10px 0;"><!-- --><span style="padding-left: 10px;">'''World Level'''</span><span style="text-align: right; padding-right: 10px; float: right;">{{{WL}}}</span><!-- --></div>}}<!-- -->{{#if:{{{section|}}}|<div style="margin: 0 auto; text-align: center;">'''{{{section}}}'''</div>}}<!-- -->{{#if:{{{section_content|}}}|<div style="width: 100%; padding: 10px; border-radius: 5px; border: 1px solid rgba(205, 187, 165, 0.5); margin-top: 5px;"> {{{section_content}}}</div>}}<!-- --></div><!-- --></div><!-- -->{{#if:{{{sidetext|}}} {{{characters|}}} {{{weapons|}}} {{{namecards|}}}|<div class="custom-user-profile-right" style="border: 1px solid rgba(205, 187, 165, 0.5); border-radius: 5px; padding: 5px; flex-grow: 1; flex-basis: 200px;"><!-- --><div style="padding: 5px;"><!-- -->{{#if:{{{sidetext|}}}|<div style="text-align: center; font-size: 20px;">'''{{{sidetexttitle}}}'''</div><!-- --><div style="max-height: 450px; margin-top: 5px;">{{{sidetext|}}}</div>|<!-- -->{{#if:{{{inventory|}}}|<div style="text-align: center; font-size: 20px;">'''{{{inventory}}}'''</div>}}<!-- -->{{#tag:tabber| {{#if:{{{characters|}}}|<!-- -->{{!}}-{{!}}Characters={{#tag:div|{{{characters|}}}<!-- -->|style=max-height: {{{max_height|450px}}}; overflow-y: auto; overflow-x: hidden; margin-top: 5px;}}<!-- -->|}} {{#if:{{{weapons|}}}|<!-- -->{{!}}-{{!}}Weapons={{#tag:div|{{{weapons|}}}<!-- -->|style=max-height: {{{max_height|450px}}}; overflow-y: auto; overflow-x: hidden; margin-top: 5px;}}<!-- -->|}} {{#if:{{{namecards|}}}|<!-- -->{{!}}-{{!}}Namecards={{#tag:div|{{{namecards|}}}<!-- -->|style=max-height: {{{max_height|450px}}}; overflow-y: auto; overflow-x: hidden; margin-top: 5px;}}<!-- -->|}}}} }}<!-- --></div><!-- --></div>|}}<!-- --></div>{{#if:{{{footer|}}}|{{#if:{{{characters|}}} {{{weapons|}}} {{{namecards|}}}|<div style="margin-top: 5px; border: 1px solid rgba(205, 187, 165, 0.5); box-sizing: border-box; border-radius: 5px; text-align: center; padding:0 16px;">|<div style="margin-top: 5px; border: 1px solid rgba(205, 187, 165, 0.5); width: 362px; border-radius: 5px; text-align: center; padding:0 16px;">}}{{{footer}}}</div>}}<!-- --></div></div>
Syntax
{{Custom User Profile |UID = |server = |UID_color = |name = |avatar = |avatar background color = |namecard = |AR = |WL = |section = |section content = |inventory = |characters = |weapons = |namecards = |header = |footer = }}
Example