Minecraft Wiki
(apparently the nowrap class isn't standard)
mNo edit summary
Line 1: Line 1:
<includeonly><tt style=white-space:nowrap><code>—[[User:Kanegasi|<tt title=Userpage>Kanegasi</tt>]] [[User talk:Kanegasi|<tt title=Talk>☺</tt>]][[User:Kanegasi/ec|<tt title=Contribs>C</tt>]]</code> {{{{{|safesubst:}}}#ifeq: {{{date|}}} | no || {{{{{|safesubst:}}}CURRENTTIME}}, {{{{{|safesubst:}}}CURRENTDAY}} {{{{{|safesubst:}}}CURRENTMONTHNAME}} {{{{{|safesubst:}}}CURRENTYEAR}} (UTC)}}</tt></includeonly><noinclude>{{User:Kanegasi/stuff}}
+
<includeonly><tt style=white-space:nowrap><code>—[[User:Kanegasi|<tt title=Userpage>Kanegasi</tt>]] [[User talk:Kanegasi|<tt title=Talk>☺</tt>]][[User:Kanegasi/ec|<tt title=Contribs>C</tt>]]</code> {{{{{|safesubst:}}}#if:{{{1|}}}||{{{{{|safesubst:}}}CURRENTTIME}}, {{{{{|safesubst:}}}CURRENTDAY}} {{{{{|safesubst:}}}CURRENTMONTHNAME}} {{{{{|safesubst:}}}CURRENTYEAR}} (UTC)}}</tt></includeonly><noinclude>{{User:Kanegasi/stuff}}
   
 
'''<small><nowiki><tt style=white-space:nowrap><code>—[[User:Kanegasi|<tt title=Userpage>Kanegasi</tt>]] [[User talk:Kanegasi|<tt title=Talk>☺</tt>]][[User:Kanegasi/ec|<tt title=Contribs>C</tt>]]</code> {{{{{|safesubst:}}}CURRENTTIME}}, {{{{{|safesubst:}}}CURRENTDAY}} {{{{{|safesubst:}}}CURRENTMONTHNAME}} {{{{{|safesubst:}}}CURRENTYEAR}} (UTC)</tt></nowiki></small>'''
 
'''<small><nowiki><tt style=white-space:nowrap><code>—[[User:Kanegasi|<tt title=Userpage>Kanegasi</tt>]] [[User talk:Kanegasi|<tt title=Talk>☺</tt>]][[User:Kanegasi/ec|<tt title=Contribs>C</tt>]]</code> {{{{{|safesubst:}}}CURRENTTIME}}, {{{{{|safesubst:}}}CURRENTDAY}} {{{{{|safesubst:}}}CURRENTMONTHNAME}} {{{{{|safesubst:}}}CURRENTYEAR}} (UTC)</tt></nowiki></small>'''

Revision as of 02:33, 8 December 2013


<tt style=white-space:nowrap><code>—[[User:Kanegasi|<tt title=Userpage>Kanegasi</tt>]] [[User talk:Kanegasi|<tt title=Talk>☺</tt>]][[User:Kanegasi/ec|<tt title=Contribs>C</tt>]]</code> {{{{{|safesubst:}}}CURRENTTIME}}, {{{{{|safesubst:}}}CURRENTDAY}} {{{{{|safesubst:}}}CURRENTMONTHNAME}} {{{{{|safesubst:}}}CURRENTYEAR}} (UTC)</tt>

  • The full code, producing: Kanegasi C 07:48, 19 April 2024 (UTC).


<tt style=white-space:nowrap>

  • Ensures the entire signature doesn't split up as a result of word-wrapping (long lines breaking to the next line).


<code>

  • Creates the white background and Courier New font.


—[[User:Kanegasi|<tt title=Userpage>Kanegasi</tt>]]

  • Brackets create a link to my userpage, and the tt title changes the tooltip text from "User:Kanegasi" to "Userpage".
    • The <tt> tag does the same as <code>, but without the white background. Its usage, in this case though, is just a short tag allowing me to change the tooltip text with minimal characters used (compared to <span>).


[[User talk:Kanegasi|<tt title=Talk>☺</tt>]]


[[User:Kanegasi/ec|<tt title=Contribs>C</tt>]]

  • Normally, signatures include three links: userpage, talk page, and contributions. I use an edit counter script every once in awhile and I prefer to have a formatted layout of where all my contributions are, rather than just a straight list of everything I did. If you still want to see my contributions, you can go to any of my userpages (such as the one you are on now) and click "User contributions" in the left side menu, or the total count on my edit count page where this "C" links to.


</code>

  • Ending the code tag.


{{{{{|safesubst:}}}CURRENTTIME}}, {{{{{|safesubst:}}}CURRENTDAY}} {{{{{|safesubst:}}}CURRENTMONTHNAME}} {{{{{|safesubst:}}}CURRENTYEAR}} (UTC)</tt>

  • This substitution magic emulates the timestamp from a normal signature (~~~~), but allows me to put the closing </tt> at the end to include the timestamp in the nowrap function. This way, the entire signature does not wrap.