Difference between revisions of "Template:Big Red Button"

From blackwiki
Jump to navigation Jump to search
imported>Matt Fitzpatrick
(reduced font-size to leave room for browser differences)
imported>Matt Fitzpatrick
m (self rv 1 edit, font size, will think of a different solution for browser differences)
 
Line 1: Line 1:
<div style="position: relative; padding: 1.6em 0 1.76em; width: {{{size|200px}}}; height: {{{size|200px}}}; {{#if:{{{float|}}}|float: {{{float}}};|margin: auto;}} font-size: 110%; white-space: nowrap; text-align: center; font-weight: bold;"><!--
+
<div style="position: relative; padding: 1.6em 0 1.92em; width: {{{size|200px}}}; height: {{{size|200px}}}; {{#if:{{{float|}}}|float: {{{float}}};|margin: auto;}} font-size: 120%; white-space: nowrap; text-align: center; font-weight: bold;"><!--
 
  -->{{Random page in category|All unreferenced BLPs|2|text=
 
  -->{{Random page in category|All unreferenced BLPs|2|text=
 
         <span style="display: block; position: absolute; top: 0; width: 100%; height: 100%;"><!--
 
         <span style="display: block; position: absolute; top: 0; width: 100%; height: 100%;"><!--
 
         -->Click this button.<!--
 
         -->Click this button.<!--
         --><span style="display: block; position: absolute; bottom: 0; width: 100%; font-size: 110%;"><!--
+
         --><span style="display: block; position: absolute; bottom: 0; width: 100%; font-size: 120%;"><!--
 
             -->{{#ifeq:{{{delete}}}|yes|Delete this unsourced BLP.|Reference this BLP}}<!--
 
             -->{{#ifeq:{{{delete}}}|yes|Delete this unsourced BLP.|Reference this BLP}}<!--
 
         --></span><!--
 
         --></span><!--

Latest revision as of 20:06, 15 October 2017

Template:Random page in category
Template documentation[view] [edit] [history] [purge]

This button, when pressed, generates a link to a random article in Category:All unreferenced BLPs.