Template:Mobile: Difference between revisions

m
Still working on functionality
m (Fixing Template code; Attempting to make it display only on mobile, but be visible on template pages)
m (Still working on functionality)
Line 2: Line 2:
   <!-- This content will be hidden by default -->
   <!-- This content will be hidden by default -->
   <!-- Parser function to check if the current page is a template -->
   <!-- Parser function to check if the current page is a template -->
   {{#ifeq: {{NAMESPACE}}|Template||
   {{#ifeq: {{PAGENAME}}|Template:Mobile||
   <style>
   <style>
     @media screen and (max-width: 767px) {
     @media screen and (max-width: 767px) {