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|}}}|then
 
<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|| {{{role='Admin'|}}}|
+
{{if||{{{role|}}}==Contributor||
 
<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|| {{{role|}}}=='Contributor'|
+
{{if|| {{{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|| {{{role|}}}=='Developer'
+
{{if|| {{{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>

Revision as of 23:19, 7 February 2023