Template:Character/sandbox: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<includeonly> |
<includeonly><table class="wikitable character"> |
||
<nowiki> |
|||
<style type="text/css"> |
|||
.character { |
|||
background-color:#ecf5f9; |
|||
float:right; |
|||
clear:right; |
|||
margin-left: 24px!important; |
|||
text-align:center; |
|||
width:320px; |
|||
box-sizing: border-box; |
|||
} |
|||
.character th.character-header { |
|||
background-color:#2d4c72; |
|||
color:white; |
|||
} |
|||
.rarity, |
|||
.character-rarity { |
|||
margin: 4px auto 8px auto; |
|||
line-height: 19px; |
|||
} |
|||
.character-rarity > img { |
|||
margin: 0 1px; |
|||
} |
|||
.character-images { |
|||
width:100%; |
|||
} |
|||
.character-school, |
|||
.character-role { |
|||
width:50%; |
|||
} |
|||
.character-affinity, .character-equipment { |
|||
width: 100%; |
|||
border-spacing: 0; |
|||
margin: 0; |
|||
display: table!important; |
|||
} |
|||
.character-affinity td:nth-child(2) { |
|||
border: solid #a2a9b1; border-width: 0 1px; |
|||
} |
|||
.character-affinity-types > td { |
|||
width: calc(100% / 3); |
|||
padding: 5px 0 4px; |
|||
} |
|||
.character-affinity-types img { |
|||
filter: grayscale(1.0) opacity(0.9); |
|||
} |
|||
.character-affinity-values > td { |
|||
padding: 0 0 3px; |
|||
} |
|||
.character-equipment td { |
|||
width: 20%; |
|||
padding: 0; |
|||
} |
|||
.character-equipment .weapon { |
|||
width: 40%; |
|||
padding-top: 2px; |
|||
padding-bottom: 0; |
|||
position:relative; |
|||
} |
|||
.weapon-text { |
|||
position:absolute; |
|||
z-index:1; |
|||
top:0px; |
|||
left:0px; |
|||
margin:0; |
|||
padding:2px 0 0 4px; |
|||
font-weight: bold; |
|||
color: #2d4c72; |
|||
} |
|||
.weapon-text img { |
|||
margin-left: 3px; |
|||
} |
|||
</style> |
|||
</nowiki> |
|||
<table class="wikitable character"> |
|||
<tr><th colspan="2" class="character-name character-header">{{{Name|}}}</th></tr> |
<tr><th colspan="2" class="character-name character-header">{{{Name|}}}</th></tr> |
||
<tr><td colspan="2" style="padding: 3px;"><div class="character-rarity">{{Rarity/sandbox|{{{Rarity|}}}}}</div><div class="character-images"><tabber> |
<tr><td colspan="2" style="padding: 3px;"><div class="character-rarity">{{Rarity/sandbox|{{{Rarity|}}}}}</div><div class="character-images"><tabber> |
||
Line 172: | Line 80: | ||
| WeaponImage = |
| WeaponImage = |
||
| UsesCover = |
| UsesCover = |
||
⚫ | |||
| CityTownAffinity = |
| CityTownAffinity = |
||
⚫ | |||
| IndoorAffinity = |
| IndoorAffinity = |
||
| EquipmentSlot1 = |
| EquipmentSlot1 = |
||
Line 265: | Line 173: | ||
"suggested": true |
"suggested": true |
||
}, |
}, |
||
" |
"CityTownAffinity": { |
||
"description": "Character's affinity for |
"description": "Character's affinity for urban/city combat (one of S, A, B, C, D).", |
||
"example": " |
"example": "B", |
||
"type": "string", |
"type": "string", |
||
"suggested": true |
"suggested": true |
||
}, |
}, |
||
" |
"OutdoorAffinity": { |
||
"description": "Character's affinity for |
"description": "Character's affinity for outdoor combat (one of S, A, B, C, D).", |
||
"example": " |
"example": "S", |
||
"type": "string", |
"type": "string", |
||
"suggested": true |
"suggested": true |