User talk:Tony1/Advanced editing exercises: Difference between revisions

Content deleted Content added
MalnadachBot (talk | contribs)
m Fixed Lint errors. (Task 12)
MalnadachBot (talk | contribs)
m Fixed Lint errors. (Task 12)
Line 85:
 
Not sure if this is just my browser or what, but in at least one section ([[User:Tony1/Advanced editing exercises#Jane Zhang|Jane Zhang]]) the strikeout text doesn't show up as strikeout, it's just regular (ie, I'm seeing "During Throughout" instead of "During <s>Throughout</s>"). Is this happening for anyone else? Any ideas what might be causing it? '''[[User:Rjanag|r<font color="#8B0000"><span class="Unicode">ʨ</span></font>ana<span class="Unicode">ɢ</span>]]''' <sup><small>[[User talk:Rjanag|talk]]</small></sup>/<sub><small>[[Special:Contributions/Rjanag|contribs]]</small></sub> 07:20, 14 February 2009 (UTC)
: It happens to me, too. The most recent version that works fine is [http://en.wikipedia.org/w/index.php?title=User:Tony1/Advanced_editing_exercises&oldid=261420933 this one]. The page has a lot of opened HTML tags to begin with, so they should be closed. <fontspan facestyle="font-family:Verdana;">[[User:Gary King|<fontspan colorstyle="color:#02b;">Gary&nbsp;<b>King</b></fontspan>]]&nbsp;([[User talk:Gary King|<fontspan colorstyle="color:#02e;">talk</fontspan>]])</fontspan> 07:45, 14 February 2009 (UTC)
:::Thanks to both of you. Rjanang, You want to have a play with it? Looks perfect to me. Are you using ''Internet Explorer''? I do these in ''Safari''. Gary, maybe that is the problem. Can you give me an example of what an HTML tag is? I can then fix them. [[User:Tony1|<span style="color:darkgreen;">'''Tony'''</span>]] [[User talk:Tony1|<span style="color:darkgreen;">(talk)</span>]] 07:47, 14 February 2009 (UTC)
:::: I strongly suggest you use templates. It's a lot cleaner, easier to use, and makes it harder to break things in general. I [http://en.wikipedia.org/w/index.php?title=User:Tony1/Advanced_editing_exercises&diff=270629080&oldid=270621943 updated the first section to show how it's done], which you can do for the rest of the sections. I'll do a few now but it's 4 am for me, so I won't be up for long. <fontspan facestyle="font-family:Verdana;">[[User:Gary King|<fontspan colorstyle="color:#02b;">Gary&nbsp;<b>King</b></fontspan>]]&nbsp;([[User talk:Gary King|<fontspan colorstyle="color:#02e;">talk</fontspan>]])</fontspan> 09:08, 14 February 2009 (UTC)
::::: This is an example of an open HTML tag: {{bcode|1=<font color=maroon>This is maroon. <font color=black>This is black.}} This is incorrectly done; the {{bcode|<font>}} tags should be closed with a {{bcode|</font>}}. In fact, the page uses the tag correctly most of the time, but wherever {{bcode|1=<font color=black>}} is used in the code, it is used incorrectly like in my example, which is causing the page to appear a bit differently depending on the browser. <fontspan facestyle="font-family:Verdana;">[[User:Gary King|<fontspan colorstyle="color:#02b;">Gary&nbsp;<b>King</b></fontspan>]]&nbsp;([[User talk:Gary King|<fontspan colorstyle="color:#02e;">talk</fontspan>]])</fontspan> 09:27, 14 February 2009 (UTC)
*Oh Gary, beyond the call of duty. Thank you '''so much'''. It looks like a truckload of work, and your explanation here was very helpful. After 4 March, when my work-hell ends, I'm going through your changes to learn; then, I'll apply them to my other tutorial pages. I owe you! [[User:Tony1|<span style="color:darkgreen;">'''Tony'''</span>]] [[User talk:Tony1|<span style="color:darkgreen;">(talk)</span>]] 09:33, 14 February 2009 (UTC)
:: Okay, the entire page should be converted. The page loads much faster now than before; previously, the page took longer to load because of all the open HTML tags. At the end of the page, the browser had about 80 open tags; think about it like having 80 open applications on your computer. It slows down the computer. Closing the tag is like closing an application, allowing the computer to do something else.
 
:: If you want, even code like {{bcode|1=<font color=darkgreen>'''This text is dark green AND bold.'''</font>}} can be converted to a template, like {{bcode|1=<nowiki>{{bold and colored|darkgreen|This text is dark green AND bold.}}</nowiki>}}, but that's up to you. If you check the History, you'll see that using the templates decreases the size of the page; the page size for [[User:Tony1/Know your Manual of Style]], which I just converted, has decreased by 33%. <fontspan facestyle="font-family:Verdana;">[[User:Gary King|<fontspan colorstyle="color:#02b;">Gary&nbsp;<b>King</b></fontspan>]]&nbsp;([[User talk:Gary King|<fontspan colorstyle="color:#02e;">talk</fontspan>]])</fontspan> 20:26, 14 February 2009 (UTC)
 
== Suggestions re Wind power and SR Merchant Navy Class ==