Template:Item Info: Difference between revisions

From Slippy Studios
Jump to navigation Jump to search
Create template for "Item Information"
 
mNo edit summary
 
(64 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#css:
{{#css:
 
.item_info a {
  .item_info a {
     color: {{{color}}};
     color: {{{color}}};
}
}


  .item_info a:visited {
.item_info a:visited {
     color: {{{color}}};
     color: {{{color}}};
}
}


  .item_box {
.item_box {
     background:{{{color}}};
     background: {{{color}}};
     padding: 5px;
     padding: 5px;
     font-size: 16pt;
     font-size: 16pt;
    border: 1px solid;
     float: right;
     float: right;
     text-align: center;
     text-align: center;
     margin-left: 30px;
     margin-left: 30px;
     font-weight: 1600px;
     font-weight: bold;
     font-family: Roboto;
     font-family: Roboto, sans-serif;
     border-radius: 15px;
     border-radius: 15px;
  }
}
 
.item_box a {
    color: #ffffff;
}


  .item_box a {
.item_box_img {
     color: #888;
     background-color: rgba(0,0,0,0.75);
    background-repeat: no-repeat;
    background-position: center;
    text-align: center;
    width: 275px;
    padding: 5px;
    height: 21px;
    border-radius: 7.5px 7.5px 0px 0px;
    margin: 0 auto;
}
}


  .item_info {
.item_info {
     background:rgba(0,0,0,1);
    position: relative;
     background: rgba(0, 0, 0, 0.7);
     padding: 5px;
     padding: 5px;
     font-size: 16pt;
     font-size: 16pt;
Line 34: Line 45:
     color: {{{color}}};
     color: {{{color}}};
     line-height: 24px;
     line-height: 24px;
     border-radius:15px;
     border-radius: 0px 0px 15px 15px;
     margin-bottom: 5px;
     margin-bottom: 5px;
  }
}


  .item_image {
.item_image {
    position: relative;
     padding: 5px;
     padding: 5px;
     font-size: 16pt;
     font-size: 16pt;
Line 44: Line 56:
     height: 275px;
     height: 275px;
     text-align: center;
     text-align: center;
     background: rgba(255,255,255,0.8);
     background: rgba(255, 255, 255, 0.8);
     color: {{{color}}};
     color: {{{color}}};
    text-align: center;
     border-radius: 15px;
     border-radius:15px;
     margin-bottom: 5px;
     margin-bottom: 5px;
  }
}


  .item_image img {
.item_image img {
     width: 225px;
     width: 225px;
     height: 225px;
     height: 225px;
Line 59: Line 70:
     position: relative;
     position: relative;
     top: 25px;
     top: 25px;
  }
}
 
.item_level {
    position: relative;
    background: rgba(0, 0, 0, 0.7);
    padding: 5px;
    font-size: 13pt;
    width: 275px;
    text-align: center;
    color: #ffffff;
    border-radius: 0px 0px 7.5px 7.5px;
    margin-bottom: 5px;
}


  .item_quality {
.item_quality {
     background:rgba(0,0,0,1);
    position: relative;
     background: rgba(0, 0, 0, 0.7);
     padding: 5px;
     padding: 5px;
    padding-top: 10px;
     font-size: 13pt;
     font-size: 13pt;
     text-align: center;
     text-align: center;
     color: #ffffff;
     color: #ffffff;
     border-radius:7.5px;
     border-radius: 0px 0px 7.5px 7.5px;
     margin-bottom: 5px;
     margin-bottom: 5px;
    padding-left: 7.5px;
    padding-right: 7.5px;
     margin-left: auto;
     margin-left: auto;
     margin-right: auto;
     margin-right: auto;
     line-height: 24px;
     line-height: 24px;
  }
    width: 275px;
    max-width: 275px;
}


  .item_quality a {
.item_quality a {
     color: inherit;
     color: inherit;
}
}


  .item_desc {
.item_desc {
     background:rgba(0,0,0,1);
    position: relative;
     background: rgba(0, 0, 0, 0.7);
     padding: 5px;
     padding: 5px;
     font-size: 13pt;
     font-size: 13pt;
Line 87: Line 113:
     text-align: center;
     text-align: center;
     color: #ffffff;
     color: #ffffff;
     border-radius:7.5px;
     border-radius: 0px 0px 7.5px 7.5px;
     margin-bottom: 5px;
     margin-bottom: 5px;
  }
}


  .item_usage {
.item_usage {
     background:rgba(0,0,0,1);
    position: relative;
     background: rgba(0, 0, 0, 0.7);
     padding: 5px;
     padding: 5px;
     font-size: 13pt;
     font-size: 13pt;
Line 98: Line 125:
     text-align: left;
     text-align: left;
     color: #ffffff;
     color: #ffffff;
     border-radius:7.5px;
     border-radius: 0px 0px 7.5px 7.5px;
     margin-bottom: 5px;
     margin-bottom: 5px;
  }
}


  .item_type {
.item_type,
     background:rgba(0,0,0,1);
.item_available,
.item_origin {
    position: relative;
     background: rgba(0, 0, 0, 0.7);
     font-size: 13pt;
     font-size: 13pt;
     width: 275px;
     width: 275px;
Line 109: Line 139:
     text-align: center;
     text-align: center;
     color: #ffffff;
     color: #ffffff;
     border-radius:7.5px;
     border-radius: 0px 0px 7.5px 7.5px;
     margin-bottom: 5px;
     margin-bottom: 5px;
  }
}
 
  .item_available {
    background:rgba(0,0,0,1);
    font-size: 13pt;
    width: 275px;
    padding: 5px;
    text-align: center;
    color: #ffffff;
    border-radius:7.5px;
    margin-bottom: 5px;
  }
 
  .item_origin {
    background:rgba(0,0,0,1);
    font-size: 13pt;
    width: 275px;
    padding: 5px;
    text-align: center;
    color: #ffffff;
    margin-top: -1.2px;
    border-radius:7.5px;
    margin-bottom: 5px;
  }
 
}}
}}
<div class="item_box">
<div class="item_box">
   <div class="item_info">{{{name}}}<br/><font style="font-size:12px;color:#fff;">ID: {{{id}}}</font></div>
   <html><div class="item_box_img" style="background-image:url('https://slippystudios.com/media/wiki/u-name.png');"></div></html><div class="item_info">{{{name}}}<br/><font style="font-size:12px;color:#fff;">ID: {{{id}}}</font></div>
   <div class="item_image">[[File:{{{image}}}]]</div>
   <div class="item_image">[[File:{{{image}}}|link={{{name}}}]]</div>
   <div class="item_quality">{{{quality}}}</div>
   <html><div class="item_box_img" style="background-image:url('https://slippystudios.com/media/wiki/u-quality.png');"></div></html><div class="item_quality">{{{quality}}}</div>
   <div class="item_desc">{{{desc}}}</div>
   <html><div class="item_box_img" style="background-image:url('https://slippystudios.com/media/wiki/u-level.png');"></div></html><div class="item_level">{{{level}}}</div>
   <div class="item_type">[[Items#{{{type}}}|{{{type}}}]]</div>
  <html><div class="item_box_img" style="background-image:url('https://slippystudios.com/media/wiki/u-description.png');"></div></html><div class="item_desc">{{{desc}}}</div>
   <div class="item_available">[[Gamemodes#{{{available}}}|{{{available}}}]]</div>
   <html><div class="item_box_img" style="background-image:url('https://slippystudios.com/media/wiki/u-type.png');"></div></html><div class="item_type">[[Items#{{{type}}}|{{{type}}}]]</div>
   <div class="item_origin">{{{origin}}}</div>
   <html><div class="item_box_img" style="background-image:url('https://slippystudios.com/media/wiki/u-gamemode.png');"></div></html><div class="item_available">[[Gamemodes#{{{available}}}|{{{available}}}]]</div>
   <html><div class="item_box_img" style="background-image:url('https://slippystudios.com/media/wiki/u-category.png');"></div></html><div class="item_origin">{{{origin}}}</div>
</div>
</div>

Latest revision as of 19:57, 30 September 2025

{{{name}}}
ID: {{{id}}}
[[File:{{{image}}}|link={{{name}}}]]
{{{quality}}}
{{{level}}}
{{{desc}}}
[[Items#{{{type}}}|{{{type}}}]]
[[Gamemodes#{{{available}}}|{{{available}}}]]
{{{origin}}}