Template:Armor/full: Difference between revisions

From Regnum Online Wiki
Jump to navigation Jump to search
ROWiki>Eiram
Created page with "<onlyinclude>{{ Armor/full | {{{1|}}} | icon = | name = | material = | armor = | slashing = | piercing = | blunt = | fire = | ..."
 
Fixing template loop... you need the html in the template/full file, not wiki code
Line 1: Line 1:
<onlyinclude>{{ Armor/full | {{{1|}}}
{{#ifeq: {{FULLPAGENAME}} | Template:{{{name}}}
  | icon      =  
| Go back to [[{{{type}}}s]]<br/> <!--
  | name      =  
--> [[Category:Armor Templates|{{{name}}}]] [[Category:{{{type}}} Templates|{{{name}}}]]
  | material  =  
}}<!--
   | armor    =  
--><div style="padding-top:1em">{{main infobox
   | slashing  =  
    | name      = {{{name}}}
  | piercing  =  
    | type      = {{{type}}}
  | blunt    =  
    | classes   =  
  | fire      =  
    | bgcolor   = #AC97DB
  | ice      =  
    | icon      = {{{name}}} Icon.jpg
   | lightning =  
    | tbcontent =
  | image =  
  | category =  
      <div style="float:left; width:18em">'''Level:''' {{{level}}}</div>
  | durability =  
      <div style="float:left; width:24em">'''Bonuses:''' {{{bonuses}}}</div>
  | weight =
    | content   =  
  | requires =
      <table style="margin:0">
  | bonus 1 =
        <tr style="vertical-align:top">
  | bonus 2 =
          <td style="width:50em">
<noinclude>
'''Obtained from:'''
  | info =
*'''Alsius:''' {{ifempty  |{{{alsius|}}} | ? }}
</noinclude>}}</onlyinclude>
*'''Ignis:''' {{ifempty  |{{{ignis|}}} | ? }}
*'''Syrtis:''' {{ifempty  |{{{syrtis|}}} | ? }}
          </td>
          <td><!--
          -->{{#if: {{{notes|}}} | {{{notes}}} }}<!--
        --></td>
        </tr>
      </table>
  }}</div>

Revision as of 23:49, 23 June 2011

{{{name}}}

Level: {{{level}}}
Bonuses: {{{bonuses}}}
This div is put in here to make sure the box expands to the full width possible. Therefore it needs enough text for at least one line on the page. This a really ugly hack so please replace with a better solution if you can. Thanks!

Obtained from:

  • Alsius: ?
  • Ignis: ?
  • Syrtis: ?