Difference between revisions of "Template:Ribbon2"

From Geohashing
(add iconcode parameter)
(add `color` argument.)
Line 6: Line 6:
 
   width:max-content;
 
   width:max-content;
 
   border: 1px solid lightgray;
 
   border: 1px solid lightgray;
   border-left: 5px solid green;
+
   border-left: 5px solid #bada55;
 
   background-color: #eee;
 
   background-color: #eee;
 
   grid-template-areas:  
 
   grid-template-areas:  
Line 52: Line 52:
  
 
}}
 
}}
<div class="xkcd-ribbon2 xkcd-ribbon2-theme-{{#var:ribbontheme|default}}">
+
<div class="xkcd-ribbon2 xkcd-ribbon2-theme-{{#var:ribbontheme|default}}" style="border-left-color: {{{color|#bada55}}}">
 
   <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 15:07, 13 February 2020

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