Difference between revisions of "Template:Infobox Special Ability"
BrianFreud (talk | contribs) m |
BrianFreud (talk | contribs) m |
||
(24 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 {{#if: {{#varexists: damage type}} | Ability | Move }} | |class=titlecell colspan="3"| Special {{#if: {{#varexists: damage type}} | Ability | Move }} | ||
|- | |- | ||
− | |colspan="3" style="text-align:center;"| [[File:UO Icon {{{1|}}}]] | + | |colspan="3" style="text-align:center;"| {{#ifexist:File:UO Icon {{{1|}}}.png| [[File:UO Icon {{{1|}}}.png]] }} |
− | {{#if: {{#varexists: damage type}} | | + | |- |
+ | |colspan="3"|<hr> | ||
+ | {{#if: {{#varexists: damage type}} | | ||
{{!}}- | {{!}}- | ||
{{!}}Damage Type | {{!}}Damage Type | ||
Line 11: | Line 13: | ||
|Mana Cost | |Mana Cost | ||
| colspan="2" | {{#var: mana cost}} | | colspan="2" | {{#var: mana cost}} | ||
− | {{#if: {{#varexists: damage type}} || | + | {{#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" | | ||
|} | |} |