Difference between revisions of "Template:Bditem"

From NeoDex
Jump to navigation Jump to search
m (Protected "Template:Bditem" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)))
(Will display fields only if one of the values is given, adjusted padding to bottom of table)
Line 1: Line 1:
{| style="width:120px;{{border-radius|15px}}; box-shadow:2px 2px 2px #888898; border: 0px;padding:0px;overflow:hidden;text-align:center;background-color:#ffcc00;color:inherit;table-layout:fixed;border-collapse:collapse;"  
{| style="width:120px;{{border-radius|15px}}; box-shadow:2px 2px 2px #888898; border: 0px;padding:;overflow:hidden;text-align:center;background-color:#ffcc00;color:inherit;table-layout:fixed;border-collapse:collapse;"  
|- style="height:120px;"
|- style="height:120px;"
|
|
Line 7: Line 7:
|}
|}
|-
|-
!style="word-wrap:break-word;background-color:#ffcc00;color:#000000;"|{{{name}}}
!style="word-wrap:break-word;background-color:#ffcc00;color:#000000;"|{{{name|Item Name}}}
|-
|- style="padding:0;"
|style="font-size:75%;word-wrap:break-word;background-color:#ffffff;"|{{{desc}}}
|style="font-size:75%;word-wrap:break-word;background-color:#ffffff;font-style:italic;"|{{{desc|}}}
|-
|- {{#if: {{{attack|}}} | style="display:block;" | {{#if: {{{defence|}}} | style="display:block;" | style="display:none;" }} }}
|style="padding:0;background-color:#ffffff;"|
|style="padding:0;background-color:#ffffff;"|
{| class="collapsible collapsed" style="table-layout:fixed;font-size:75%;background-color:transparent;color:inherit;width:100%;border:0;margin:0;padding:0;border-collapse:collapse;"
{| class="collapsible collapsed" style="table-layout:fixed;font-size:75%;background-color:transparent;color:inherit;width:100%;border:0;margin:0;padding:0;border-collapse:collapse;"
!style="color:#000000;"|Stats
!style="color:#000000;"|Stats
|-
|-
!style="background-color:#ffcc00;color:#000000;padding:0px;"|Attack
!style="background-color:#ffcc00;color:#000000;padding:0px;"|Attack
|-
|-
|style="background-color:#ffffff;color:inherit;"|{{{attack}}}
|style="background-color:#ffffff;color:inherit;"|{{{attack|None}}}
|-
|-
!style="background-color:#ffcc00;color:#000000;padding:0px;"|Defence
!style="background-color:#ffcc00;color:#000000;padding:0px;"|Defence
|-
|-  
|style="background-color:#ffffff;color:inherit;"|{{{defence}}}
|style="background-color:#ffffff;color:inherit;"|{{{defence|None}}}
|}
|}
|-
|- {{#if: {{{IBID|}}} | style="display:block;" | {{#if: {{{JNID|}}} | style="display:block;" | {{#if: {{{TDNWeapID|}}} | style="display:block;" | style="display:none;" }} }} }}
|style="padding:0;background-color:#ffffff;"|
|style="padding:0;background-color:#ffffff;"|
{| class="collapsible collapsed" style="table-layout:fixed;font-size:75%;background-color:transparent;color:inherit;width:100%;border:0;margin:0;padding:0;border-collapse:collapse;"
{| class="collapsible collapsed" style="table-layout:fixed;font-size:75%;background-color:transparent;color:inherit;width:100%;border:0;margin:0;padding:0;border-collapse:collapse;"
Line 32: Line 32:
{{#if: {{{IDBID|}}}|<span title="View this item on Jellyneo's Battlepedia"><span class="plainlinks">[http://battlepedia.jellyneo.net/?go=showweapon&id={{{IDBID}}} http://www.pinkpt.com/neodex/images/d/d8/Jellyneo_idb_favicon.png]</span></span>}}
{{#if: {{{IDBID|}}}|<span title="View this item on Jellyneo's Battlepedia"><span class="plainlinks">[http://battlepedia.jellyneo.net/?go=showweapon&id={{{IDBID}}} http://www.pinkpt.com/neodex/images/d/d8/Jellyneo_idb_favicon.png]</span></span>}}
|}
|}
|- style="height:8px;background-color:#fff;"
|
|}
|}

Revision as of 09:42, 4 June 2017

Item Name