Difference between revisions of "Template:Purge button"
Jump to navigation
Jump to search
test>Matt Fitzpatrick (removed redundant title attributes; noprint when transcluded; simplified switch logic and HTML/CSS markup) |
test>Matt Fitzpatrick (rewrote as single link rather than two repeated links; made whole box a tap target for mobile) |
||
Line 3: | Line 3: | ||
|center= margin:0 auto; | |center= margin:0 auto; | ||
|#default=float:left;margin:0 0.5em; | |#default=float:left;margin:0 0.5em; | ||
− | }};width:{{#expr:{{{iconsize|64}}}+ | + | }};position:relative;padding:0;width:{{#expr:{{{iconsize|64}}}+6}}px;font-size:smaller;text-align:center;"><span style="position:absolute;left:3px;top:3px;">[[File:View-refresh.svg|{{{iconsize|64}}}px|link=|alt=]]</span>[{{fullurl:{{FULLPAGENAME}}|action=purge}} <span style="display:block;position:relative;margin:-1px;padding:{{#expr:{{{iconsize|64}}}+10}}px 0.4em 0.4em;line-height:1.2em;font-weight:bold;{{{textstyle|}}}">Update this page</span>]</div><noinclude>{{clear}}<!--(to separate template and Documentation boxes)-->{{Documentation}}</noinclude> |