Help:Advanced editing: Difference between revisions

From SmashWiki, the Super Smash Bros. wiki
Jump to navigationJump to search
(not sure if finished...give ideas on talkpage)
 
No edit summary
Line 5: Line 5:


A common theme amongst these tips is to '''always preview before saving'''. All of these features have the potential to do strange, confusing, and sometimes scary things to pages if not perfectly synced.
A common theme amongst these tips is to '''always preview before saving'''. All of these features have the potential to do strange, confusing, and sometimes scary things to pages if not perfectly synced.
==Fonts and colours==
The simplest way of changing the font or the colour of text is the <code><nowiki>&lt;span></nowiki></code> tag. Here are some simple examples:
*<code><nowiki><span style="color:red">RED</span></nowiki></code> becomes <span style="color:red">RED</span>
*<code><nowiki><span style="color:#5f9f2f">some hex colour</span></nowiki></code> becomes <span style="color:#5f9f2f">some hex colour</span>
*<code><nowiki><span style="font-family:Times New Roman,serif">It has serifs</span></nowiki></code> becomes <span style="font-family:Times New Roman,serif">It has serifs</span>
*<code><nowiki><span style="font-family:Impact;color:blue">IMPACT</span></nowiki></code> becomes <span style="font-family:Impact;color:blue">IMPACT</span>
It is possible to use the <code><nowiki>&lt;font></nowiki></code> tag instead of <code><nowiki>&lt;span></nowiki></code> (which works slightly differently), but be warned that it's deprecated in HTML5, which means that you shouldn't be using it even if it works right now because it's planned to be deleted altogether.
Note that changing fonts and text colours should be reserved for signatures and user pages. Articles should be as easy-to-read as possible, which includes no font or colour changes.


==Code and nowiki tags==
==Code and nowiki tags==
Line 108: Line 119:
{{helpnav}}
{{helpnav}}
[[Category:Help]]
[[Category:Help]]
<code><nowiki></nowiki></code>