Template:Mobile: Difference between revisions

magic word PAGENAME -> FULLPAGENAME in order to include namespace (e.g. user pages)
mNo edit summary
(magic word PAGENAME -> FULLPAGENAME in order to include namespace (e.g. user pages))
 
Line 13: Line 13:
'''Page not optimized for mobile!'''<br/>
'''Page not optimized for mobile!'''<br/>
For a better experience, visit:<br/>
For a better experience, visit:<br/>
'''[[{{PAGENAME}}/Mobile|{{#if: {{{1|}}} | {{{1}}}/Mobile | {{PAGENAME}}/Mobile }}]]'''
'''[[{{FULLPAGENAME}}/Mobile|{{#if: {{{1|}}} | {{{1}}}/Mobile | {{FULLPAGENAME}}/Mobile }}]]'''
</div></includeonly>
</div></includeonly>
<noinclude>Simply insert this Template onto a page (wherever you want it) and it will generate a warning for mobile users + a redlink to create a mobile-optimized page. If you want, you can also include a single parameter to change the destination of the redlink.
<noinclude>Simply insert this Template onto a page (wherever you want it) and it will generate a warning for mobile users + a redlink to create a mobile-optimized page. If you want, you can also include a single parameter to change the destination of the redlink.
1,776

edits