InfoItem: Difference between revisions
From Necroxia Origin
 (Created page with "<table class="item-box" style="width:100%;">  <tr>   <td colspan="2" style="text-align:center;">{{#ifexist:File:{{{name}}}.png|[[File:{{{name}}}.png]]|[[File:item_unknown.gif]...")  | 
				mNo edit summary  | 
				||
| (6 intermediate revisions by the same user not shown) | |||
| Line 3: | Line 3: | ||
   <td colspan="2" style="text-align:center;">{{#ifexist:File:{{{name}}}.png|[[File:{{{name}}}.png]]|[[File:item_unknown.gif]]}}  |    <td colspan="2" style="text-align:center;">{{#ifexist:File:{{{name}}}.png|[[File:{{{name}}}.png]]|[[File:item_unknown.gif]]}}  | ||
{{#if:{{{description|}}}|<br>{{{description|}}} }}</td>  | {{#if:{{{description|}}}|<br>{{{description|}}} }}</td>  | ||
{{#if:{{{type|}}}|<tr>  | |||
  <td class="property">Category:</td>  | |||
  <td class="value">[[{{{type|}}}]]</td>  | |||
 </tr>}}  | |||
{{#if:{{{info|}}}|<tr>  | |||
  <td class="property">Info:</td>  | |||
  <td class="value">{{{info|}}}</td>  | |||
 </tr>}}  | |||
{{#if:{{{weight|}}}|<tr>  | {{#if:{{{weight|}}}|<tr>  | ||
   <td class="property">Weight:</td>  |    <td class="property">Weight:</td>  | ||
   <td class="value">{{{weight|}}}</td>  |    <td class="value">{{{weight|}}}</td>  | ||
  </tr>}}  |   </tr>}}  | ||
{{#if:{{{capacity|}}}|<tr>  | |||
   <td class="property">Capacity:</td>  |    <td class="property">Capacity:</td>  | ||
   <td class="value">{{{capacity|}}} Slots</td>  |    <td class="value">{{{capacity|}}} Slots</td>  | ||
  </tr>}}  |   </tr>}}  | ||
  {{#if:{{{  | {{#if:{{{uses|}}}|<tr>  | ||
  <td class="property">  |   <td class="property">Uses:</td>  | ||
   <td class="value">  |   <td class="value">{{{uses|}}}</td>  | ||
  </tr>}}  | |||
{{#if:{{{quests|}}}|<tr>  | |||
  <td class="property">Quests:</td>  | |||
   <td class="value">{{{quests|}}}</td>  | |||
  </tr>}}  |   </tr>}}  | ||
{{#if:{{{droppedby|}}}|<tr>  | {{#if:{{{droppedby|}}}|<tr>  | ||
| Line 21: | Line 33: | ||
{{#if:{{{buyfrom|}}}|<tr>  | {{#if:{{{buyfrom|}}}|<tr>  | ||
  <td class="property">Buy From:</td>  |   <td class="property">Buy From:</td>  | ||
   <td class="value">  |    <td class="value">{{{buyfrom|}}}</td>  | ||
  </tr>}}  |   </tr>}}  | ||
{{#if:{{{sellto|}}}|<tr>  | {{#if:{{{sellto|}}}|<tr>  | ||
  <td class="property">Sell To:</td>  |   <td class="property">Sell To:</td>  | ||
   <td class="value">  |    <td class="value">{{{sellto|}}}</td>  | ||
  </tr>}}  |   </tr>}}  | ||
</table>  | </table>  | ||