Difference between revisions of "Template:Ribbon2"

From Geohashing
m
(add background agrument)
Line 1: Line 1:
 +
<!-- this css MUST NOT have any variables in it - someday, it'll be moved to [[MediaWiki:Common.css]] -->
 
{{#css:
 
{{#css:
 
.xkcd-ribbon2 {
 
.xkcd-ribbon2 {
Line 5: Line 6:
 
   margin: 2px 0;
 
   margin: 2px 0;
 
   max-width: 100%;
 
   max-width: 100%;
  width: {{#var:ribbonwidth|auto}};
 
 
   border: 1px solid lightgray;
 
   border: 1px solid lightgray;
 
   border-left: 5px solid #bada55;
 
   border-left: 5px solid #bada55;
   background-color: {{{background|transparent}}};
+
   background-color: blue;
 
   grid-template-areas:  
 
   grid-template-areas:  
 
       "icon achv . ."
 
       "icon achv . ."
Line 63: Line 63:
  
 
}}<div class="xkcd-ribbon2-wrapper">
 
}}<div class="xkcd-ribbon2-wrapper">
   <div class="xkcd-ribbon2 xkcd-ribbon2-theme-{{#var:ribbontheme|default}}" style="border-left-color: {{{color|#bada55}}}">
+
   <div class="xkcd-ribbon2 xkcd-ribbon2-theme-{{#var:ribbontheme|default}}" style="border-left-color: {{{color|#bada55}}}; background-color: {{{background|transparent}}}; width:{{{width|{{#var:ribbonwidth|auto}}}}}">
 
     <div class="xkcd-ribbon2-icon">{{{iconcode|[[File:{{{icon|Landgeohash.png}}}|70px]]}}}</div>
 
     <div class="xkcd-ribbon2-icon">{{{iconcode|[[File:{{{icon|Landgeohash.png}}}|70px]]}}}</div>
 
     <div class="xkcd-ribbon2-achv">{{{achievement}}}</div>
 
     <div class="xkcd-ribbon2-achv">{{{achievement}}}</div>

Revision as of 20:51, 3 March 2020

Landgeohash.png
{{{achievement}}}
{{{action}}}