Template:Member Infobox: Difference between revisions
From KSI Wiki
(Added Min/Max Width properties & changed Width to percentage.) Tags: mobile web edit mobile edit |
No edit summary |
||
(44 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
<table border="0" cellspacing="0" cellpadding="0" style="float:right; clear:right; margin: 0 0 .5em 1em; min-width:20px;max-width:250px; width:30%; background:# | <table border="0" cellspacing="0" cellpadding="0" style="float:right; clear:right; margin: 0 0 .5em 1em; min-width:20px;max-width:250px; width:30%; background:#3333333; border-collapse:collapse; border:0px solid #999999; font-size:smaller; line-height:1.5;"> | ||
<td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">{{{gamertag|}}}</td></tr> | <tr> | ||
<td colspan="2"> | |||
{{{psn|}}}</td></tr> | <div id="infoboxinternal"> | ||
<td style="border-top: 1px solid #999; border-bottom: 1px solid #999;"> | <table border="0" cellspacing="0" cellpadding="4" style="float:right; margin:0 0 0 0; width:100%; background:#3333333; border-collapse:collapse;"> | ||
{{{ | <tr style="text-align:center;"> | ||
<td colspan="2" style="padding:0; background:{{{imageBG|#444444}}};">{{{image|}}}</td> | |||
</tr> | |||
<tr style="text-align:center; color:#ffffff; background:#444444; font-size:larger;"> | |||
<th colspan="2">{{{displayname}}}</th> | |||
</tr> | |||
{{#if: {{{hidea|}}} | | |||
| <tr><th colspan="2" style="text-align:left; font-weight:normal; background:#777777;">'''General Information'''</th></tr> | |||
}} | |||
{{#if: {{{gamertag|}}} | | |||
<tr style="vertical-align: middle; background: {{{3|#333333}}};"> | |||
<td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Xbox Gamertag:</td> | |||
<td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">{{{gamertag|}}}</td> | |||
</tr> | |||
}} | |||
{{#if: {{{psn|}}} | | |||
<tr style="vertical-align: middle; background: {{{3|#333333}}};"> | |||
<td style="border-top: 0px solid #999; border-bottom: 1px solid #999;">Playstation ID:</td> | |||
<td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">{{{psn|}}}</td> | |||
</tr> | |||
}} | |||
{{#if: {{{steamid|}}} | | |||
<tr style="vertical-align: middle; background: {{{3|#333333}}};"> | |||
<td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Steam ID:</td> | |||
<td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">{{{steamid|}}}</td> | |||
</tr> | |||
}} | |||
{{#if: {{{name|}}} | | |||
<tr style="vertical-align: middle; background: {{{3|#333333}}};"> | |||
<td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Name:</td> | |||
<td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">{{{name|}}}</td> | |||
</tr> | |||
}} | |||
{{#if: {{{gender|}}} | | |||
<tr style="vertical-align: middle; background: {{{3|#333333}}};"> | |||
<td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Gender:</td> | |||
<td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">{{{gender|}}}</td> | |||
</tr> | |||
}} | |||
{{#if: {{{location|}}} | | |||
<tr style="vertical-align: middle; background: {{{3|#333333}}};"> | |||
<td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Location:</td> | |||
<td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">{{{location|}}}</td> | |||
</tr> | |||
}} | |||
{{#if: {{{info|}}} | | |||
<tr style="vertical-align: middle; background: {{{3|#333333}}};"> | |||
<td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Other Info:</td> | |||
<td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">{{{info|}}}</td> | |||
</tr> | |||
}} | |||
{{#if: {{{hideb|}}} | | |||
| <tr><th colspan="2" style="text-align:left; font-weight:normal; background:#777777;">'''Community Info'''</th></tr> | |||
}} | |||
{{#if: {{{datejoined|}}} | | |||
<tr style="vertical-align: middle; background: {{{3|#3333333}}};"> | |||
<td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Date Joined:</td> | |||
<td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">{{{datejoined|}}}</td> | |||
</tr> | |||
}} | |||
{{#if: {{{squad|}}} | | |||
<tr style="vertical-align: middle; background: {{{3|#333333}}};"> | |||
<td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Previous Squads:</td> | |||
<td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">{{{squad|}}}</td> | |||
</tr> | |||
}} | |||
{{#if: {{{pastdivisions|}}} | | |||
<tr style="vertical-align: middle; background: {{{3|#3333333}}};"> | |||
<td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Divisions</td> | |||
<td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">{{{pastdivisions|}}}</td> | |||
</tr> | |||
}} | |||
{{#if: {{{currentrank|}}} | | |||
<tr style="vertical-align: middle; background: {{{3|#333333}}};"> | |||
<td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Last Known Rank:</td> | |||
<td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">{{{currentrank|}}}</td> | |||
</tr> | |||
}} | |||
{{#if: {{{highestrank|}}} | | |||
<tr style="vertical-align: middle; background: {{{3|#333333}}};"> | |||
<td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Highest Known Rank:</td> | |||
<td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">{{{highestrank|}}}</td> | |||
</tr> | |||
}} | |||
{{#if: {{{affiliations|}}} | | |||
<tr style="vertical-align: middle; background: {{{3|#333333}}};"> | |||
<td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Previous Affiliations</td> | |||
<td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">{{{affiliations|}}}</td> | |||
</tr> | |||
}} | |||
{{#if: {{{notes|}}} | | |||
<tr style="vertical-align: middle; background: {{{3|#333333}}};"> | |||
<td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Other Notes:</td> | |||
<td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">{{{notes|}}}</td> | |||
</tr> | |||
}} | |||
{{#if: {{{hidec|}}} | | |||
| <tr><th colspan="2" style="text-align:left; font-weight:normal; background:#777777;">'''Department Info'''</th></tr> | |||
}} | |||
{{#if: {{{departments|}}} | | |||
<tr style="vertical-align: middle; background: {{{3|#333333}}};"> | |||
<td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Departments:</td> | |||
<td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">{{{departments|}}}</td> | |||
</tr> | |||
}} | |||
</table> | |||
</div> | |||
</td> | |||
</tr> | |||
<tr> | |||
<td id="infoboxend" class="plainlinks" style="text-align:center; width:50%;"></td> | |||
</tr> | |||
<tr> | |||
<td style="text-align:center; width:50%;"> | |||
[[Template:Member_Infobox|[Source]]] | |||
</td> | |||
</tr> | |||
</table> | |||
<noinclude> | |||
{{clear}} | {{clear}} | ||
{{Member Infobox | |||
|displayname=Deadmeat | |||
|gamertag=KSI DEADMEAT 777 | |||
|psn=KSI_DEADMEAT_777 | |||
|steamid=KSI DEADMEAT 777 | |||
|name=Deadmeat | |||
|gender=Male | |||
|location=Unknown | |||
|info=None | |||
|datejoined= 2002 | |||
|squad=N/A | |||
|division=All of KSI | |||
|pastdivisions=All of KSI | |||
|currentrank=N/A | |||
|highestrank=Creator/Owner | |||
|affiliations=KSI | |||
|notes=None | |||
|departments=Retired | |||
}}[[Category:infoboxes|{{PAGENAME}}]]</noinclude> | |||
<noinclude> | |||
===Usage instructions=== | ===Usage instructions=== | ||
Paste the following code into the top of an article, filling all known fields: | Paste the following code into the top of an article, filling all known fields: | ||
Line 18: | Line 153: | ||
|gamertag= | |gamertag= | ||
|psn= | |psn= | ||
|steamid= | |||
|name= | |name= | ||
|gender= | |gender= | ||
|location= | |location= | ||
|info= | |info= | ||
|datejoined= | |||
|squad= | |squad= | ||
| | |divisions= | ||
|currentrank= | |currentrank= | ||
|highestrank= | |highestrank= | ||
|affiliations= | |affiliations= | ||
|notes= | |notes= | ||
| | |departments= | ||
}}</nowiki></pre> | }}</nowiki></pre></noinclude> | ||
Latest revision as of 22:19, 7 October 2024
|
|||||||||||
[Source] |
|
|||||||||||||||||||||||||||||||||||||||||
[Source] |
Usage instructions
Paste the following code into the top of an article, filling all known fields:
{{Member Infobox |displayname= |image= |gamertag= |psn= |steamid= |name= |gender= |location= |info= |datejoined= |squad= |divisions= |currentrank= |highestrank= |affiliations= |notes= |departments= }}