Difference between revisions of "Template talk:Center"

From Nookipedia, the Animal Crossing wiki
(→‎Deprecation of: new section)
m (Text replacement - "Emotion Icon - Pride (NL) cropped.png" to "Pride NL Icon.png")
 
(2 intermediate revisions by 2 users not shown)
Line 5: Line 5:
 
== Deprecation of <code><nowiki><center></nowiki></code> ==
 
== Deprecation of <code><nowiki><center></nowiki></code> ==
  
The current template uses the [https://developer.mozilla.org/en-US/docs/Web/HTML/Element/center obsolete <code><nowiki><center></nowiki></code> tag]. This could be improved by using the <code><nowiki><div style="text-align:center"></nowiki></code> tag, as demonstrated in my [[User:Decomposer/Sandbox/Center]]. In it contains a demonstration on how it can be integrated in templates, showing that it should not harm functionality. [[User:Decomposer|<span style="font-family:'Noto Sans', sans; color:#789922">&gt;Decomposer</span>]] [[File:Emotion Icon - Curiosity (NL) cropped.png|x20px|link=User talk:Decomposer]] [[File:Emotion Icon - Pride (NL) cropped.png|x20px|link=Special:Contributions/Decomposer]] 07:32, November 21, 2019 (EST)
+
The current template uses the [https://developer.mozilla.org/en-US/docs/Web/HTML/Element/center obsolete <code><nowiki><center></nowiki></code> tag]. This could be improved by using the <code><nowiki><div style="text-align:center"></nowiki></code> tag, as demonstrated in my [[User:Decomposer/Sandbox/Center]]. In it contains a demonstration on how it can be integrated in templates, showing that it should not harm functionality. [[User:Decomposer|<span style="font-family:'Noto Sans', sans; color:#789922">&gt;Decomposer</span>]] [[File:Curiosity NL Icon.png|x20px|link=User talk:Decomposer]] [[File:Pride NL Icon.png|x20px|link=Special:Contributions/Decomposer]] 07:32, November 21, 2019 (EST)
 +
 
 +
:Thanks for pointing this out; I've made the necessary changes. Sorry you couldn't edit it. The mobile version of site still transcludes some templates that use this one, which is why the cascading protection shows up. [[File:Sunmarshsignature.png|link=User:Sunmarsh]] '''<small><span style="font-variant:small-caps">([[User_talk:Sunmarsh|<span style="color:#7B7B7B">talk</span>]])</span></small>''' 20:09, November 21, 2019 (EST)

Latest revision as of 21:48, April 17, 2024

YAY MEMES! MikuLover Mudkip.jpgNintendoLover is AWESOME! You knew that! 11:38, 13 November 2010 (EST)

Yup. I couldn't think of anything else to put. Dragonfree 14:11, 13 November 2010 (EST)

Deprecation of <center>[edit]

The current template uses the obsolete <center> tag. This could be improved by using the <div style="text-align:center"> tag, as demonstrated in my User:Decomposer/Sandbox/Center. In it contains a demonstration on how it can be integrated in templates, showing that it should not harm functionality. >Decomposer Curiosity NL Icon.png Pride NL Icon.png 07:32, November 21, 2019 (EST)

Thanks for pointing this out; I've made the necessary changes. Sorry you couldn't edit it. The mobile version of site still transcludes some templates that use this one, which is why the cascading protection shows up. Sunmarshsignature.png (talk) 20:09, November 21, 2019 (EST)