Difference between revisions of "Template:Infobox Special Ability"
BrianFreud (talk | contribs) (Created page with "<includeonly>{{#vardefine: graphic |{{#replace:{{PAGENAME}}|UO:Items using graphic |}} }}{{#vardefine:image|{{#ifeq: {{UOUnusedGraphicTest | {{#var: graphic}} }} | 1 | There c...") |
BrianFreud (talk | contribs) m |
||
(30 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | <includeonly>{{#vardefine: graphic |{{#replace:{{PAGENAME}}|UO:Items using graphic |}} }}{{#vardefine:image|{{#ifeq: {{UOUnusedGraphicTest | {{#var: graphic}} }} | 1 | There currently is no graphic at this position in the client files. | [[File:UO-Item-{{#var:graphic}}-0.png]] }} }} | + | {{#vardefine: bottom|border-bottom:1px #ddd solid;}}{{#vardefine: right|border-right:1px #ddd dotted;}}{{#vardefine: pad|padding:2px;}}<includeonly>{{#vardefine: graphic |{{#replace:{{PAGENAME}}|UO:Items using graphic |}} }}{{#vardefine:image|{{#ifeq: {{UOUnusedGraphicTest | {{#var: graphic}} }} | 1 | There currently is no graphic at this position in the client files. | [[File:UO-Item-{{#var:graphic}}-0.png]] }} }} |
− | {| class=infobox | + | {| class=infobox |
− | |class=titlecell colspan="3"| Special Ability | + | |class=titlecell colspan="3"| Special {{#if: {{#varexists: damage type}} | Ability | Move }} |
|- | |- | ||
− | |colspan="3" style="text-align:center;"| [[File:UO Icon {{{ | + | |colspan="3" style="text-align:center;"| {{#ifexist:File:UO Icon {{{1|}}}.png| [[File:UO Icon {{{1|}}}.png]] }} |
+ | |- | ||
+ | |colspan="3"|<hr> | ||
+ | {{#if: {{#varexists: damage type}} | | ||
{{!}}- | {{!}}- | ||
{{!}}Damage Type | {{!}}Damage Type | ||
− | {{!}} colspan="2" {{!}} {{#var: damage type}} }} | + | {{!}} colspan="2" {{!}} {{ucfirst: {{#var: damage type}} }} }} |
|- | |- | ||
|Mana Cost | |Mana Cost | ||
− | | colspan="2" | {{ | + | | colspan="2" | {{#var: mana cost}} |
+ | {{#if: {{#varexists: damage type}} || {{#if: {{#varexists: magical ability}} || | ||
+ | {{!}}- | ||
+ | {{!}} colspan="3" {{!}} | ||
+ | {{!}}- | ||
+ | {{!}} class=titlecell style="background-color:#23415a;" {{!}} Weapons | ||
+ | {{!}} class=titlecell style="background-color:#23415a;font-weight:900;" {{!}} Primary | ||
+ | {{!}} class=titlecell style="background-color:#23415a;font-weight:900;" {{!}} Secondary | ||
+ | {{!}}- | ||
{{!}}- | {{!}}- | ||
− | {{!}} | + | {{!}} style="{{#var:bottom}}{{#var:pad}} {{!}} Archery |
− | {{!}} | + | {{!}} style="{{#var:bottom}}{{#var:right}}{{#var:pad}} {{!}} {{CSV to LinkList|{{#var: archery primary}} }} |
− | {{!}} | + | {{!}} style="{{#var:bottom}}{{#var:pad}} {{!}} {{CSV to LinkList|{{#var: archery secondary}} }} |
{{!}}- | {{!}}- | ||
− | {{!}} | + | {{!}} style="{{#var:bottom}}{{#var:pad}} {{!}} Fencing |
− | {{!}} {{#var: | + | {{!}} style="{{#var:bottom}}{{#var:right}}{{#var:pad}} {{!}} {{CSV to LinkList|{{#var: fencing primary}} }} |
− | {{!}} {{#var: | + | {{!}} style="{{#var:bottom}}{{#var:pad}} {{!}} {{CSV to LinkList|{{#var: fencing secondary}} }} |
{{!}}- | {{!}}- | ||
− | {{!}} | + | {{!}} style="{{#var:bottom}}{{#var:pad}} {{!}} Macing |
− | {{!}} {{#var: | + | {{!}} style="{{#var:bottom}}{{#var:right}}{{#var:pad}} {{!}} {{CSV to LinkList|{{#var: macing primary}} }} |
− | {{!}} {{#var: | + | {{!}} style="{{#var:bottom}}{{#var:pad}} {{!}} {{CSV to LinkList|{{#var: macing secondary}} }} |
{{!}}- | {{!}}- | ||
− | {{!}} | + | {{!}} style="{{#var:bottom}}{{#var:pad}} {{!}} Swords |
− | {{!}} {{#var: | + | {{!}} style="{{#var:bottom}}{{#var:right}}{{#var:pad}} {{!}} {{CSV to LinkList|{{#var: swords primary}} }} |
− | {{!}} {{#var: | + | {{!}} style="{{#var:bottom}}{{#var:pad}} {{!}} {{CSV to LinkList|{{#var: swords secondary}} }} |
{{!}}- | {{!}}- | ||
− | {{!}} | + | {{!}} style="{{#var:bottom}}{{#var:pad}} {{!}} Throwing |
− | {{!}} {{#var: | + | {{!}} style="{{#var:bottom}}{{#var:right}}{{#var:pad}} {{!}} {{CSV to LinkList|{{#var: throwing primary}} }} |
− | {{!}} {{#var: | + | {{!}} style="{{#var:bottom}}{{#var:pad}} {{!}} {{CSV to LinkList|{{#var: throwing secondary}} }} |
{{!}}- | {{!}}- | ||
− | {{!}} | + | {{!}} style="{{#var:pad}} {{!}} Other |
− | {{!}} {{#var: | + | {{!}} style="{{#var:right}}{{#var:pad}} {{!}} {{CSV to LinkList|{{#var: other primary}} }} |
− | {{!}} {{#var: | + | {{!}} style="{{#var:pad}} {{!}} {{CSV to LinkList|{{#var: other secondary}} }} |
− | }} | + | }} }} |
+ | |- | ||
+ | | colspan="3" | | ||
|} | |} |