Template:Weapon page: Difference between revisions

Jump to navigation Jump to search
(Fewer line breaks in the HTML (no difference to browser rendering but still).)
No edit summary
Line 24: Line 24:
<!-- HERE BE DRAGONS!  The following monstrosity will auto-generate a nice, sensible introduction paragraph for ''any'' combination of parameters.  So, technically, you never have to provide descriptions for weapons, but for those with unique special properties you might want to do so anyway. -->
<!-- HERE BE DRAGONS!  The following monstrosity will auto-generate a nice, sensible introduction paragraph for ''any'' combination of parameters.  So, technically, you never have to provide descriptions for weapons, but for those with unique special properties you might want to do so anyway. -->


{{RarityColor | {{{rarity|}}} | '''{{{name | {{PAGENAME}} }}}''' }} is {{#if: {{{enchantment|}}} {{{rarity|}}} {{{special|}}}
<strong>{{RarityColor | {{{rarity|}}} | {{{name | {{PAGENAME}} }}} }}</strong> is {{#if: {{{enchantment|}}} {{{rarity|}}} {{{special|}}}
|
|
   {{#if: {{{rarity|}}}
   {{#if: {{{rarity|}}}
     | {{RarityWithArticle | {{{rarity}}} }}{{#if: {{{enchantment|}}} |,}}
     | {{RarityWithArticle | {{{rarity}}} }}{{#if: {{{enchantment|}}} |,}}
     | a
     | a
   }} {{#switch: {{{enchantment|}}}
   }}{{#switch: {{{enchantment|}}}
     | +1 = lightly enchanted (+1)
     | +1 = {{blank}} lightly enchanted (+1)
     | +2 = moderately enchanted (+2)
     | +2 = {{blank}} moderately enchanted (+2)
     | +3 = highly enchanted (+3)
     | +3 = {{blank}} highly enchanted (+3)
     | +4 = very strongly enchanted (+4)
     | +4 = {{blank}} very strongly enchanted (+4)
     | +5 = supremely enchanted (+5)
     | +5 = {{blank}} supremely enchanted (+5)
   }} {{#if: {{{special|}}}
   }}{{#if: {{{special|}}}
     | special
     | {{blank}} special
   }}
   }}
|
|