Template:Mobile: Difference between revisions

m
no edit summary
m (Attempting new method (thanks Jovenan!))
mNo edit summary
Line 10: Line 10:
   }
   }
}}
}}
<div class="MobileLink" style="{{#ifeq: {{{template|}}} | true | display: block; | display: none; }} margin: 1em auto; padding: 10px; background-color: lemonchiffon; border: 2px solid darkgoldenrod; text-align: center;">
<div class="MobileLink" style="{{#ifeq: {{{template|}}} | true | display: block; | }} margin: 1em auto; padding: 10px; background-color: lemonchiffon; border: 2px solid darkgoldenrod; text-align: center;">
'''This page is not optimized for mobile users!'''<br/>
'''This page is not optimized for mobile users!'''<br/>
For a better reading experience on mobile, visit the mobile-optimized version of this page: '''[[{{#if: {{{1|}}} | {{{1}}}/Mobile | {{PAGENAME}}/Mobile }}]]'''
For a better reading experience on mobile, visit the mobile-optimized version of this page: '''[[{{#if: {{{1|}}} | {{{1}}}/Mobile | {{PAGENAME}}/Mobile }}]]'''