Difference between revisions of "Template:Ribbon2"

From Geohashing
((Didn't mean to save previous) give image a default width; will generalize later.)
Line 16: Line 16:
 
.xkcd-ribbon2-icon {
 
.xkcd-ribbon2-icon {
 
   grid-area: icon;
 
   grid-area: icon;
}
 
.xkcd-ribbon2-icon img {
 
  width:135px;
 
 
}
 
}
 
.xkcd-ribbon2-achv {
 
.xkcd-ribbon2-achv {
Line 35: Line 32:
 
}}
 
}}
 
<div class="xkcd-ribbon2 xkcd-ribbon2-{{#var:ribbontheme|default}}">
 
<div class="xkcd-ribbon2 xkcd-ribbon2-{{#var:ribbontheme|default}}">
   <div class="xkcd-ribbon2-icon">[[File:{{{icon|Bus.PNG}}}]]</div>
+
   <div class="xkcd-ribbon2-icon">[[File:{{{icon|Bus.PNG}}}|135px]]</div>
 
   <div class="xkcd-ribbon2-achv">{{{achievement}}}</div>
 
   <div class="xkcd-ribbon2-achv">{{{achievement}}}</div>
 
   <div class="xkcd-ribbon2-actn">{{{action}}}</div>
 
   <div class="xkcd-ribbon2-actn">{{{action}}}</div>
 
{{#if:{{{extra|}}}|<div class="xkcd-ribbon2-xtra">{{{extra}}}</div>|}}
 
{{#if:{{{extra|}}}|<div class="xkcd-ribbon2-xtra">{{{extra}}}</div>|}}
 
</div>
 
</div>

Revision as of 12:19, 11 February 2020

Bus.PNG
{{{achievement}}}
{{{action}}}