Difference between revisions of "Template:Ribbon2"

From Geohashing
(add fontcolor argument)
(fix Fippe's complaint using `grid-template-columns`)
Line 12: Line 12:
 
       "icon achv . ."
 
       "icon achv . ."
 
       "icon actn . .";
 
       "icon actn . .";
 +
  grid-template-columns: min-content auto auto auto;
 
   align-items: center;
 
   align-items: center;
 
}
 
}
Line 70: Line 71:
 
     {{#if:{{{extra|}}}|<div class="xkcd-ribbon2-xtra">{{{extra}}}</div>|}}
 
     {{#if:{{{extra|}}}|<div class="xkcd-ribbon2-xtra">{{{extra}}}</div>|}}
 
   </div>
 
   </div>
</div>
+
</div><noinclude>
 +
 
 +
== Tests ==
 +
 
 +
{{#vardefine:ribbonwidth|100%}}
 +
{{Ribbon2}}
 +
 
 +
</noinclude>

Revision as of 05:02, 4 March 2020

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


Tests

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