Difference between revisions of "Template:Userinfobox"

From Sinden Lightgun
Jump to navigation Jump to search
m
m
Line 12: Line 12:
  
 
<table class="infobox" style="text-align: left; width: 400px; font-size: 100%; border-radius: 10px; border: 1px black solid; overflow:hidden;">
 
<table class="infobox" style="text-align: left; width: 400px; font-size: 100%; border-radius: 10px; border: 1px black solid; overflow:hidden;">
{{if|| {{{username|}}}|
+
{{if||{{{username}}}|
 
<tr>
 
<tr>
 
<th class="infobox-username" colspan="2" style="text-align: center;"><b>{{{username|{{PAGENAME}}}}}</b></th>
 
<th class="infobox-username" colspan="2" style="text-align: center;"><b>{{{username|{{PAGENAME}}}}}</b></th>
</tr>}}
+
</tr>|}}
{{if|eq| {{{role|}}} |"Admin"|
+
{{if|eq| {{{role|}}} |Admin|
 
<tr>
 
<tr>
 
<th class="infobox-role" colspan="2" bgcolor="#ff0000" style="text-align: center;"><b>{{{role}}}</b></th>
 
<th class="infobox-role" colspan="2" bgcolor="#ff0000" style="text-align: center;"><b>{{{role}}}</b></th>
</tr>}}
+
</tr>|}}
{{if|eq| {{{role|}}} |"Contributor"|
+
{{if|eq| {{{role|}}} |Contributor|
 
<tr>
 
<tr>
 
<th class="infobox-role" colspan="2" bgcolor="#ccee00" style="text-align: center;"><b>{{{role}}}</b></th>
 
<th class="infobox-role" colspan="2" bgcolor="#ccee00" style="text-align: center;"><b>{{{role}}}</b></th>
</tr>}}
+
</tr>|}}
{{if|eq| {{{role|}}} |"Developer"|
+
{{if|eq| {{{role|}}} |Developer|
 
<tr>
 
<tr>
 
<th class="infobox-role" colspan="2" bgcolor="#cc00dd" style="text-align: center;"><b>{{{role}}}</b></th>
 
<th class="infobox-role" colspan="2" bgcolor="#cc00dd" style="text-align: center;"><b>{{{role}}}</b></th>
</tr>}}
+
</tr>|}}
 
{{#if: {{{image|}}}|
 
{{#if: {{{image|}}}|
 
<tr>
 
<tr>

Revision as of 23:31, 7 February 2023