We are actively looking for staff to help us build the wiki. If you are interested please join our Discord server and apply.

Template:Iteminfo: Difference between revisions

From Moonbounce Wiki
Jump to navigation Jump to search
No edit summary
mNo edit summary
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Documentation}}
<div class="infobox" style="width: 300px; border: 2px solid #90FAFF; background-color: #CAEBEC; padding: 10px; font-size: 90%; line-height: 1.4em; text-align: left; border-radius: 10px;">
{| class="iteminfo" style="width: 20em; font-size: 90%; text-align: left; border: 1px solid #aaa; background-color: #f9f9f9; margin: 0.5em 0 0.5em 1em; padding: 0.2em;"
  <table style="width: 100%; border-collapse: separate; border-spacing: 0 10px;">
|-
    <tr>
| colspan="2" style="text-align:center;" | '''{{PAGENAME}}'''
      <th colspan="2" style="background-color: #90FAFF; text-align: center; padding: 10px; border: 1px solid #90FAFF; border-radius: 10px; font-size: 110%;">{{{name}}}</th>
|-
    </tr>
| colspan="2" style="text-align:center;" | [[File:Example.jpg|128px|center]]
    <tr>
|-
      <td colspan="2" style="text-align: center; padding: 0px;">
! colspan="2" style="background-color: #ccc; text-align:center;" | Item Info
        <div style="overflow: hidden; border-radius: 10px;">
{{#if: {{{item_number|}}} |
          [[File:{{{image}}}|128px|center|]]
|-
        </div>
| style="width: 6em; padding-right: 1em;" | Item #
      </td>
| {{{item_number}}}
    </tr>
}}
    <tr>
{{#if: {{{rarity|}}} |
      <td style="padding: 10px; background: linear-gradient(to right, #90FAFF, white); border: 1px solid #90FAFF; border-radius: 10px; margin-bottom: 10px;"><strong>Item #</strong></td>
|-
      <td style="padding: 10px; background-color: white; border: 1px solid #90FAFF; border-radius: 10px; margin-bottom: 10px;">{{{item_no}}}</td>
| style="width: 6em; padding-right: 1em;" | Rarity
    </tr>
| {{{rarity}}}
    <tr>
}}
      <td style="padding: 10px; background: linear-gradient(to right, #90FAFF, white); border: 1px solid #90FAFF; border-radius: 10px; margin-bottom: 10px;"><strong>Rarity</strong></td>
{{#if: {{{type|}}} |
      <td style="padding: 10px; background-color: white; border: 1px solid #90FAFF; border-radius: 10px; margin-bottom: 10px;">{{{rarity}}}</td>
|-
    </tr>
| style="width: 6em; padding-right: 1em;" | Type
    <tr>
| {{{type}}}
      <td style="padding: 10px; background: linear-gradient(to right, #90FAFF, white); border: 1px solid #90FAFF; border-radius: 10px; margin-bottom: 10px;"><strong>Type</strong></td>
}}
      <td style="padding: 10px; background-color: white; border: 1px solid #90FAFF; border-radius: 10px; margin-bottom: 10px;">{{{type}}}</td>
{{#if: {{{description|}}} |
    </tr>
|-
    <tr>
| style="width: 6em; padding-right: 1em;" | Description
      <td style="padding: 10px; background: linear-gradient(to right, #90FAFF, white); border: 1px solid #90FAFF; border-radius: 10px; margin-bottom: 10px;"><strong>Description</strong></td>
| {{{description}}}
      <td style="padding: 10px; background-color: white; border: 1px solid #90FAFF; border-radius: 10px; margin-bottom: 10px;">{{{description}}}</td>
}}
    </tr>
{{#if: {{{diffuse_value|}}} |
    <tr>
|-
      <td style="padding: 10px; background: linear-gradient(to right, #90FAFF, white); border: 1px solid #90FAFF; border-radius: 10px; margin-bottom: 10px;"><strong>Diffuse Value</strong></td>
| style="width: 6em; padding-right: 1em;" | Diffuse Value
      <td style="padding: 10px; background-color: white; border: 1px solid #90FAFF; border-radius: 10px; margin-bottom: 10px;">{{{diffuse_value}}}</td>
| {{{diffuse_value}}}
    </tr>
}}
    <tr>
{{#if: {{{drops|}}} |
      <td style="padding: 10px; background: linear-gradient(to right, #90FAFF, white); border: 1px solid #90FAFF; border-radius: 10px; margin-bottom: 10px;"><strong>Drops</strong></td>
|-
      <td style="padding: 10px; background-color: white; border: 1px solid #90FAFF; border-radius: 10px; margin-bottom: 10px;">{{{drops}}}</td>
| style="width: 6em; padding-right: 1em;" | Drops
    </tr>
| {{{drops}}}
    <tr>
}}
      <td style="padding: 10px; background: linear-gradient(to right, #90FAFF, white); border: 1px solid #90FAFF; border-radius: 10px; margin-bottom: 10px;"><strong>Craftable</strong></td>
{{#if: {{{craftable|}}} |
      <td style="padding: 10px; background-color: white; border: 1px solid #90FAFF; border-radius: 10px; margin-bottom: 10px;">{{{craftable}}}</td>
|-
    </tr>
| style="width: 6em; padding-right: 1em;" | Craftable
    <tr>
| {{{craftable}}}
      <td style="padding: 10px; background: linear-gradient(to right, #90FAFF, white); border: 1px solid #90FAFF; border-radius: 10px; margin-bottom: 10px;"><strong>Found in</strong></td>
}}
      <td style="padding: 10px; background-color: white; border: 1px solid #90FAFF; border-radius: 10px; margin-bottom: 10px;">{{{found_in}}}</td>
{{#if: {{{sponsorship|}}} |
    </tr>
|-
  </table>
| style="width: 6em; padding-right: 1em;" | Sponsorship
</div>
| {{{sponsorship}}}
}}
{{#if: {{{found_in|}}} |
|-
| style="width: 6em; padding-right: 1em;" | Found In
| {{{found_in}}}
}}
|}

Latest revision as of 15:13, 21 June 2024

{{{name}}}
         [[File:{{{image}}}|128px|center|]]
Item # {{{item_no}}}
Rarity {{{rarity}}}
Type {{{type}}}
Description {{{description}}}
Diffuse Value {{{diffuse_value}}}
Drops {{{drops}}}
Craftable {{{craftable}}}
Found in {{{found_in}}}