Template:NPCInfo: Difference between revisions
mNo edit summary Tag: Manual revert |
m (Added if statements) |
||
Line 3: | Line 3: | ||
| | | | ||
{| class="wikitable" style="margin: 3px 3px 3px 3px; border:2px transparent; background-color: #ffffff;" width="250px" max-width="250px" | {| class="wikitable" style="margin: 3px 3px 3px 3px; border:2px transparent; background-color: #ffffff;" width="250px" max-width="250px" | ||
| colspan="2" align="center" style="border: 2px transparent;"|{{{Image|}}} | | colspan="2" align="center" style="border: 2px transparent;"|{{#if:{{{Image|}}}|{{{Image|}}}|''Image Unavailable''}} | ||
|- | |- | ||
! colspan="2" align="center" style=" border:2px transparent; color:white; background-color: #ffffff;"| | ! colspan="2" align="center" style=" border:2px transparent; color:white; background-color: #ffffff;"| | ||
Line 9: | Line 9: | ||
! colspan="2" align="center" style="color:white; background-color: #1195db; border:2px solid #1195db;"|{{{NPC Name|}}} | ! colspan="2" align="center" style="color:white; background-color: #1195db; border:2px solid #1195db;"|{{{NPC Name|}}} | ||
|- align="center" | |- align="center" | ||
| style="color:#1195db; border:2px solid #ffffff; border-left:2px solid #e1f5ff; border-right:2px solid #e1f5ff; background-color: #e1f5ff; width:30%;"|'''Race'''||style="border:2px transparent; border-bottom:2px solid #e1f5ff;"|{{{Race|}}} | | style="color:#1195db; border:2px solid #ffffff; border-left:2px solid #e1f5ff; border-right:2px solid #e1f5ff; background-color: #e1f5ff; width:30%;"|'''Race'''||style="border:2px transparent; border-bottom:2px solid #e1f5ff;"|{{#if:{{{Race|}}}|{{{Race|}}}|''N/A''}} | ||
|- align="center" | |- align="center" | ||
| style="color:#1195db; border:2px solid #ffffff; border-left:2px solid #e1f5ff; border-right:2px solid #e1f5ff; background-color: #e1f5ff;"|'''Gender'''||style="border:2px transparent; border-bottom:2px solid #e1f5ff;"|{{{Gender|}}} | | style="color:#1195db; border:2px solid #ffffff; border-left:2px solid #e1f5ff; border-right:2px solid #e1f5ff; background-color: #e1f5ff;"|'''Gender'''||style="border:2px transparent; border-bottom:2px solid #e1f5ff;"|{{#if:{{{Gender|}}}|{{{Gender|}}}|''N/A''}} | ||
|- align="center" | |- align="center" | ||
| style="color:#1195db; border:2px solid #ffffff; border-left:2px solid #e1f5ff; border-right:2px solid #e1f5ff; background-color: #e1f5ff;"|'''Occupation'''||style="border:2px transparent; border-bottom:2px solid #e1f5ff;"|{{{Occupation|}}} | | style="color:#1195db; border:2px solid #ffffff; border-left:2px solid #e1f5ff; border-right:2px solid #e1f5ff; background-color: #e1f5ff;"|'''Occupation'''||style="border:2px transparent; border-bottom:2px solid #e1f5ff;"|{{#if:{{{Occupation|}}}|{{{Occupation|}}}|''N/A''}} | ||
|- align="center" | |- align="center" | ||
| style="color:#1195db; border:2px solid #ffffff; border-left:2px solid #e1f5ff; border-right:2px solid #e1f5ff; background-color: #e1f5ff;"|'''Location'''||style="border:2px transparent; border-bottom:2px solid #e1f5ff;"|{{{Location|}}} | | style="color:#1195db; border:2px solid #ffffff; border-left:2px solid #e1f5ff; border-right:2px solid #e1f5ff; background-color: #e1f5ff;"|'''Location'''||style="border:2px transparent; border-bottom:2px solid #e1f5ff;"|{{#if:{{{Location|}}}|{{{Location|}}}|''N/A''}} | ||
|- align="center" | |- align="center" | ||
| rowspan="2" style="border:2px solid #ffffff; border-left:2px solid #e1f5ff; border-right:2px solid #e1f5ff; color:#1195db; background-color: #e1f5ff;"|'''Repair'''|| rowspan="1" style="padding: 0px 0px 0px 0px; text-align:center; border:2px transparent;"|{{{Type of Repairs|}}} | | rowspan="2" style="border:2px solid #ffffff; border-left:2px solid #e1f5ff; border-right:2px solid #e1f5ff; color:#1195db; background-color: #e1f5ff;"|'''Repair'''|| rowspan="1" style="padding: 0px 0px 0px 0px; text-align:center; border:2px transparent;"|{{#if:{{{Type of Repairs|}}}|{{{Type of Repairs|}}}|''N/A''}} | ||
|- | |- | ||
| rowspan="1" style="padding: 0px 0px 0px 0px; text-align:center; border:2px transparent; border-bottom:2px solid #e1f5ff;"|{{{Percent Chance|}}} | | rowspan="1" style="padding: 0px 0px 0px 0px; text-align:center; border:2px transparent; border-bottom:2px solid #e1f5ff;"|{{#if:{{{Percent Chance|}}}|{{{Percent Chance|}}}|}} | ||
|- align="center" | |- align="center" | ||
| style="color:#1195db; border:2px transparent; border-left:2px solid #e1f5ff; border-right:2px solid #e1f5ff; background-color: #e1f5ff;"|'''Track'''||style="border:2px transparent;"|{{{Track|}}} | | style="color:#1195db; border:2px transparent; border-left:2px solid #e1f5ff; border-right:2px solid #e1f5ff; background-color: #e1f5ff;"|'''Track'''||style="border:2px transparent;"|{{#if:{{{Track|}}}|{{{Track|}}}|''N/A''}} | ||
|} | |} | ||
|} | |} | ||
</includeonly> | </includeonly> | ||
<noinclude>[[Category:Templates]][[Category:NPCInfoTemplate]]</noinclude> | <noinclude>[[Category:Templates]][[Category:NPCInfoTemplate]]</noinclude> |