Template:Infobox npc: Difference between revisions
From Ultimate Dragon Ball Online Wiki
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
{| class="infobox" style="border: 1px solid #ccc; width: 300px; background-color: #f9f9f9; font-family: Arial, sans-serif; margin: 0 auto; border-radius: 10px;" | {| class="infobox" style="border: 1px solid #ccc; width: 300px; background-color: #f9f9f9; font-family: Arial, sans-serif; margin: 0 auto; border-radius: 10px;" | ||
! colspan="2" style="background-color: #2161c0; color: white; text-align: center; font-size: 1.25em; font-weight: bold; padding: 5px 0; border-top-left-radius: 10px; border-top-right-radius: 10px;" | <span style="font-weight: bold; text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000; text-align: center;">{{#if: {{{title|}}} | {{{title}}} | {{PAGENAME}} }}</span>{{#if: {{{race|Unknown Race}}} | <br /><span style="font-size: 0.9em; font-weight: bold; text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000; color: {{#switch: {{{rarity}}} | ! colspan="2" style="background-color: #2161c0; color: white; text-align: center; font-size: 1.25em; font-weight: bold; padding: 5px 0; border-top-left-radius: 10px; border-top-right-radius: 10px;" | <span style="font-weight: bold; text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000; text-align: center;">{{#if: {{{title|}}} | {{{title}}} | {{PAGENAME}} }}</span>{{#if: {{{race|Unknown Race}}} | <br /><span style="font-size: 0.9em; font-weight: bold; text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000; color: {{#switch: {{{rarity}}} | ||
| Human = # | | Human = #ffffff <!-- White --> | ||
| Namek = # | | Namek = #ffffff <!-- White --> | ||
| Majin = # | | Majin = #ffffff <!-- White --> | ||
| Beast = # | | Beast = #ffffff <!-- White --> | ||
| Soldier = # | | Humanoid = #ffffff <!-- White --> | ||
| Dino = # | | Soldier = #ffffff <!-- White --> | ||
| Alien = # | | Dino = #ffffff <!-- White --> | ||
| Android = # | | Alien = #ffffff <!-- White --> | ||
| Robot = # | | Android = #ffffff <!-- White --> | ||
| Dragon = # | | Robot = #ffffff <!-- White --> | ||
| Demon = # | | Dragon = #ffffff <!-- White --> | ||
| Ghost = # | | Demon = #ffffff <!-- White --> | ||
| Saibaman = # | | Ghost = #ffffff <!-- White --> | ||
| Bug = # | | Saibaman = #ffffff <!-- White --> | ||
| Saiyan = # | | Bug = #ffffff <!-- White --> | ||
| default = #ffffff }}">{{{race|<span style="font-size: 0.9em; font-weight: bold; text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000; color: # | | Saiyan = #ffffff <!-- White --> | ||
| default = #ffffff }}">{{{race|<span style="font-size: 0.9em; font-weight: bold; text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000; color: #bbbbbb;>Unknown Race</span>}}}</span>}} | |||
|- | |- | ||
| colspan="2" style="text-align: center; padding | | colspan="2" style="text-align: center; padding: 10px;" | [[File:{{#if: {{{image|}}} | {{{image}}} | npc_no_image.png }}|200px]] | ||
|- | |- | ||
! colspan="2" style="background-color: #dcdcdc; color: black; text-align: center; font-size: 1.1em; font-weight: bold; padding: 5px;" | General Information | ! colspan="2" style="background-color: #dcdcdc; color: black; text-align: center; font-size: 1.1em; font-weight: bold; padding: 5px;" | General Information | ||
|- | |- | ||
{{#if: {{{level|}}} | | {{#if: {{{level|}}} | | ||
| Line 32: | Line 28: | ||
}} | }} | ||
|- | |- | ||
{{#if: {{{ | {{#if: {{{power|}}} | | ||
! <span style="display: inline-block; text-align: left; padding-left: 10px; width: 100%;"> | ! <span style="display: inline-block; text-align: left; padding-left: 10px; width: 100%;">Power</span> | ||
{{!}}<span style="display: inline-block; width: 100%;">{{{ | {{!}}<span style="display: inline-block; width: 100%;">{{{power}}}</span> | ||
}} | }} | ||
|- | |- | ||
| Line 62: | Line 48: | ||
| race = Saiyan | | race = Saiyan | ||
| level = 20 | | level = 20 | ||
| power = 367 | |||
}} | }} | ||
</pre> | </pre> | ||
| Line 69: | Line 56: | ||
| race = Saiyan | | race = Saiyan | ||
| level = 20 | | level = 20 | ||
| power = 367 | |||
}} | }} | ||
|} | |} | ||
</noinclude> | </noinclude> | ||
