Help:Editing: Difference between revisions
No edit summary |
|||
(10 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
For help with the wiki syntax, please see [http://en.wikipedia.org/wiki/Wikipedia:How_to_edit_a_page Wikipedia's guide]. | == The Basics == | ||
Please review [[how-to-play]]. | |||
== Using HTML == | |||
MediaWiki supports a lot of simple HTML markup which you should use to enhance the semantics of your wiki pages (for [[SEO]] and other related good reasons). | |||
Here is a short list of common HTML tags that you may find useful (consult a good [[semantic HTML]] reference if you need more info about when to use which element). | |||
* <code><abbr></code> | |||
* <code><cite></code> | |||
* <code><code></code>, <code><kbd></code>, <code><samp></code>, <code><var></code> | |||
* <code><dfn></code> | |||
* <code><div></code> & <code><span></code> | |||
* <code><em></code> & <code><strong></code> | |||
* <code><li></code> / <code><ol></code> / <code><ul></code> | |||
* <code><table></code>, <code><thead></code>, <code><tbody></code>, <code><tfoot></code>, <code><tr></code>, <code><th></code>, <code><td></code> | |||
* <code><time></code> | |||
If you find additional semantic HTML elements that seem to work just fine in MediaWiki pages, please add them. | |||
In addition to using HTML elements directly in your MediaWiki pages, feel free to use common attributes like: | |||
* <code>style</code> | |||
* <code>class</code> | |||
Use the <code>class</code> attribute in particular, e.g. with <code><div></code> & <code><span></code>, to add microformats like [[hCard]] for people mentioned in wiki pages, [[hCalendar]] for events, etc. And instead of span/div, be sure to use <code><abbr></code> and <code><time></code> when appropriate! | |||
== See Also == | |||
For more help with the wiki syntax, presentational markup, please see also: | |||
* [http://en.wikipedia.org/wiki/Wikipedia:How_to_edit_a_page Wikipedia's guide] | |||
* https://wiki.mozilla.org/Help:Editing |
Latest revision as of 04:59, 7 April 2013
The Basics
Please review how-to-play.
Using HTML
MediaWiki supports a lot of simple HTML markup which you should use to enhance the semantics of your wiki pages (for SEO and other related good reasons).
Here is a short list of common HTML tags that you may find useful (consult a good semantic HTML reference if you need more info about when to use which element).
<abbr>
<cite>
<code>
,<kbd>
,<samp>
,<var>
<dfn>
<div>
&<span>
<em>
&<strong>
<li>
/<ol>
/<ul>
<table>
,<thead>
,<tbody>
,<tfoot>
,<tr>
,<th>
,<td>
<time>
If you find additional semantic HTML elements that seem to work just fine in MediaWiki pages, please add them.
In addition to using HTML elements directly in your MediaWiki pages, feel free to use common attributes like:
style
class
Use the class
attribute in particular, e.g. with <div>
& <span>
, to add microformats like hCard for people mentioned in wiki pages, hCalendar for events, etc. And instead of span/div, be sure to use <abbr>
and <time>
when appropriate!
See Also
For more help with the wiki syntax, presentational markup, please see also: