Template:Material: Difference between revisions

The official GemStone IV encyclopedia.
Jump to navigation Jump to search
(set bonus as a semantic property)
(added spot for AvD bonus, if any.)
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{| style="width: 23em; font-size: 95%; text-align: left; background: #F9F9F9; margin: 10px 10px 10px 10px; border: 1px #aaa solid; float:right;"
{| style="width: 23em; font-size: 95%; text-align: left; background: #F9F9F9; margin: 0 0 10px 10px; border: 1px #aaa solid; float:right;"
! colspan=2 style="background: #DDD; font-size: larger; text-align: center;" | {{PAGENAME}}
! colspan=2 style="background: #DDD; font-size: larger; text-align: center;" | {{PAGENAME}}
{{#if: {{{image|}}} |
|-
{{!}}-
{{ #ifeq: {{{bonus}}} | N/A | | ! [[Enchantment|Bonus]]
{{!}} colspan="2" align="center" valign="top" style="white-space: nowrap; background-color: #C7C5AC;" {{!}} [[File:{{{image}}}]]
{{!}}align=right{{!}} [[Has offensive bonus::{{{bonus}}}]]
|}} <!-- image field should be filename.jpg (or other image extension) -->
{{!}}-}}
{{ #ifeq: {{{strdur}}} | N/A | | ! [[Breakage|ST/DU]]
{{#ifeq:{{{use}}}|N/A
|
{{!}}align=right{{!}} {{{strdur}}}
{{!}}-}}
|{{!}}-
!Use
{{ #ifeq: {{{weight}}} | N/A | | ! [[Material weight modifier|Weight Modifier]]
{{!}}align=right{{!}} {{{weight}}}
{{!}}align=right{{!}}{{{use}}}
{{!}}-}}
{{!}}-}}
{{ #ifeq: {{{use}}} | N/A | | ! Uses
{{#ifeq:{{{bonus|N/A}}}|N/A
|
{{!}}align=right{{!}} {{{use}}}
{{!}}-}}
|{{!}}-
!Bonus
{{ #ifeq: {{{rarity}}} | N/A | | ! Rarity
{{!}}align=right{{!}} {{{rarity}}}
{{!}}align=right{{!}}[[Has offensive bonus::{{{bonus}}}]][[Has defensive bonus::{{{bonus}}}|]]
{{!}}-}}
{{!}}-}}
{{ #ifeq: {{{special}}} | N/A | | ! Special Properties
{{#ifeq:{{{off|N/A}}}|N/A
|
{{!}}align=right{{!}} {{{special}}}
{{!}}-}}
|{{!}}-
!Offensive Bonus
{{ #ifeq: {{{color}}} | N/A | | ! Primary Color
{{!}}align=right{{!}} {{{color}}}
{{!}}align=right{{!}}[[Has offensive bonus::{{{off}}}]]
{{!}}-}}
{{!}}-}}
{{ #ifeq: {{{dye}}} | N/A | | ! Dyeable
{{#ifeq:{{{def|N/A}}}|N/A
|
{{!}}align=right{{!}} {{{dye}}}
{{!}}-}}
|{{!}}-
!Defensive Bonus
{{!}}align=right{{!}}[[Has defensive bonus::{{{def}}}]]
{{!}}-}}
{{#ifeq:{{{AvD|N/A}}}|N/A
|
|{{!}}-
!AvD
{{!}}align=right{{!}}[[Has AvD bonus::{{{AvD}}}]]
{{!}}-}}
{{#ifeq:{{{str}}}|N/A
|
|{{!}}-
!ST/DU
{{!}}align=right{{!}}{{{str}}}/{{{dur}}}
{{!}}-}}
{{#ifeq:{{{rarity}}}|N/A
|
|{{!}}-
!Rarity
{{!}}align=right{{!}}{{{rarity}}}
{{!}}-}}
{{#ifeq:{{{weight}}}|N/A
|
|{{!}}-
!Weight Modifier
{{!}}align=right{{!}}{{{weight}}}
{{!}}-}}
{{#ifeq:{{{lvl|N/A}}}|N/A
|
|{{!}}-
!Level Required
{{!}}align=right{{!}}[[Has level requirement::{{{lvl}}}]]
{{!}}-}}
{{#ifeq:{{{special}}}|N/A
|
|{{!}}-
!Special Properties
{{!}}align=right{{!}}{{{special}}}
{{!}}-}}
{{#ifeq:{{{color}}}|N/A
|
|{{!}}-
!Primary Color
{{!}}align=right{{!}}{{{color}}}
{{!}}-}}
{{#ifeq:{{{dye}}}|N/A
|
|{{!}}-
!Dyeable
{{!}}align=right{{!}}{{{dye}}}
{{!}}-}}
|}<includeonly>[[Category:Materials]]</includeonly>
|}<includeonly>[[Category:Materials]]</includeonly>

Latest revision as of 12:35, 3 February 2024

Material
Use {{{use}}}
ST/DU {{{str}}}/{{{dur}}}
Rarity {{{rarity}}}
Weight Modifier {{{weight}}}
Special Properties {{{special}}}
Primary Color {{{color}}}
Dyeable {{{dye}}}