Template:Armor/full: Difference between revisions

From Regnum Online Wiki
Jump to navigation Jump to search
Fixing template loop... you need the html in the template/full file, not wiki code
m 5 revisions imported
 
(3 intermediate revisions by 2 users not shown)
Line 7: Line 7:
     | type      = {{{type}}}
     | type      = {{{type}}}
     | classes  =  
     | classes  =  
     | bgcolor  = #AC97DB
     | bgcolor  = #808080
     | icon      = {{{name}}} Icon.jpg
     | icon      = {{#if: {{{icon}}} | {{{icon}}} | {{{name}}} }} Icon.jpg
     | tbcontent =
     | tbcontent =
   
   
Line 16: Line 16:
       <table style="margin:0">
       <table style="margin:0">
         <tr style="vertical-align:top">
         <tr style="vertical-align:top">
           <td style="width:50em">
           <td>
'''Obtained from:'''
'''Obtained from:'''
*'''Alsius:''' {{ifempty  |{{{alsius|}}} | ? }}
*'''Alsius:''' {{ifempty  |{{{alsius|}}} | ? }}
Line 22: Line 22:
*'''Syrtis:''' {{ifempty  |{{{syrtis|}}} | ? }}
*'''Syrtis:''' {{ifempty  |{{{syrtis|}}} | ? }}
           </td>
           </td>
        </tr>
        <tr>
           <td><!--
           <td><!--
           -->{{#if: {{{notes|}}} | {{{notes}}} }}<!--
           -->{{#if: {{{notes|}}} | {{{notes}}} }}<!--
         --></td>
         --></td>
         </tr>
         </tr>
       </table>
       </table>
   }}</div>
   }}</div>

Latest revision as of 18:08, 6 November 2020

{{{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: ?