Difference between revisions of "Template:Infobox Special Ability"
BrianFreud (talk | contribs) m |
BrianFreud (talk | contribs) m |
||
(17 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;"| {{#ifexist:File:UO Icon {{{1|}}}.png| [[File:UO Icon {{{1|}}}.png]] }} | |colspan="3" style="text-align:center;"| {{#ifexist:File:UO Icon {{{1|}}}.png| [[File:UO Icon {{{1|}}}.png]] }} | ||
+ | |- | ||
+ | |colspan="3"|<hr> | ||
{{#if: {{#varexists: damage type}} | | {{#if: {{#varexists: damage type}} | | ||
{{!}}- | {{!}}- | ||
Line 13: | Line 15: | ||
{{#if: {{#varexists: damage type}} || {{#if: {{#varexists: magical ability}} || | {{#if: {{#varexists: damage type}} || {{#if: {{#varexists: magical ability}} || | ||
{{!}}- | {{!}}- | ||
− | {{!}} | + | {{!}} colspan="3" {{!}} |
− | {{!}} Primary | + | {{!}}- |
− | {{!}} Secondary | + | {{!}} 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 |
− | {{!}} {{#var: | + | {{!}} style="{{#var:bottom}}{{#var:right}}{{#var:pad}} {{!}} {{CSV to LinkList|{{#var: archery primary}} }} |
− | {{!}} {{#var: | + | {{!}} 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}} }} |
{{!}}- | {{!}}- | ||
− | {{!}} Other | + | {{!}} style="{{#var:bottom}}{{#var:pad}} {{!}} Throwing |
− | {{!}} {{#var: other primary}} | + | {{!}} style="{{#var:bottom}}{{#var:right}}{{#var:pad}} {{!}} {{CSV to LinkList|{{#var: throwing primary}} }} |
− | {{!}} {{#var: other secondary}} | + | {{!}} style="{{#var:bottom}}{{#var:pad}} {{!}} {{CSV to LinkList|{{#var: throwing secondary}} }} |
+ | {{!}}- | ||
+ | {{!}} style="{{#var:pad}} {{!}} Other | ||
+ | {{!}} style="{{#var:right}}{{#var:pad}} {{!}} {{CSV to LinkList|{{#var: other primary}} }} | ||
+ | {{!}} style="{{#var:pad}} {{!}} {{CSV to LinkList|{{#var: other secondary}} }} | ||
}} }} | }} }} | ||
+ | |- | ||
+ | | colspan="3" | | ||
|} | |} |