Template:Item infobox: Difference between revisions

From HyruleGamingGroup Wiki
Jump to navigation Jump to search
No edit summary
mNo edit summary
 
(65 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude><!--
{{#css:


This is going to be a challenge
  .item_info a {
    color: {{{color}}};
}


--></noinclude>
  .item_info a:visited {
    color: {{{color}}};
}


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


{{{type}}}
  .item_box a {
{{{image}}}
    color: #888;
{{{available}}}
}
{{{slot}}}
 
{{{description}}}
  .item_info {
    background:rgba(0,0,0,1);
    padding: 5px;
    font-size: 16pt;
    width: 275px;
    text-align: center;
    color: {{{color}}};
    line-height: 24px;
    border-radius:15px;
    margin-bottom: 5px;
  }
 
  .item_image {
    padding: 5px;
    font-size: 16pt;
    width: 275px;
    height: 275px;
    text-align: center;
    background: rgba(255,255,255,0.8);
    color: {{{color}}};
    text-align: center;
    border-radius:15px;
    margin-bottom: 5px;
  }
 
  .item_image img {
    width: 225px;
    height: 225px;
    image-rendering: pixelated;
    margin: auto;
    display: inline-block;
    position: relative;
    top: 25px;
  }
 
  .item_quality {
    background:rgba(0,0,0,1);
    padding: 5px;
    font-size: 13pt;
    text-align: center;
    color: #ffffff;
    border-radius:7.5px;
    margin-bottom: 5px;
    padding-left: 7.5px;
    padding-right: 7.5px;
    margin-left: auto;
    margin-right: auto;
    line-height: 24px;
  }
 
  .item_quality a {
    color: inherit;
}
 
  .item_desc {
    background:rgba(0,0,0,1);
    padding: 5px;
    font-size: 13pt;
    width: 275px;
    text-align: center;
    color: #ffffff;
    border-radius:7.5px;
    margin-bottom: 5px;
  }
 
  .item_usage {
    background:rgba(0,0,0,1);
    padding: 5px;
    font-size: 13pt;
    width: 275px;
    text-align: left;
    color: #ffffff;
    border-radius:7.5px;
    margin-bottom: 5px;
  }
 
  .item_type {
    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_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_info">{{{name}}}<br/><font style="font-size:12px;color:#fff;">ID: {{{id}}}</font></div>
  <div class="item_image">[[File:{{{image}}}]]</div>
  <div class="item_quality">{{{quality}}}</div>
  <div class="item_desc">{{{desc}}}</div>
  <div class="item_type">[[Items#{{{type}}}|{{{type}}}]]</div>
  <div class="item_available">[[Gamemodes#{{{available}}}|{{{available}}}]]</div>
  <div class="item_origin">{{{origin}}}</div>
</div>

Latest revision as of 09:02, 8 December 2023

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