Help:Wikitext: Difference between revisions
Content deleted Content added
Caleb Cooper (talk | contribs) No edit summary |
Caleb Cooper (talk | contribs) No edit summary |
||
Line 18:
====Section headings====
{{see|Help:Section|wikipedia:MOS:HEAD}}
The <code>=</code> through <code>======</code> markup are headings for the sections with which they are associated.
Line 159:
===Lists===
{{see|Help:List|wikipedia:MOS:LIST}}
Do not leave blank lines between items in a list unless there is a reason to do so, since this causes the MediaWiki software to interpret each item as beginning a new list.
Line 657:
====Characters in the Private Use Area, and invisible formatting characters====
{{main|wikipedia:MOS:TEXT#PUA and RTL}}
Invisible and [[Private Use Areas|PUA (Private Use Areas)]] characters should be avoided where possible. When needed, they should both be replaced with their (hexa)decimal code values (as "&#(x)...;"). This renders invisible characters visible, for manual editing, and allows [[Wikipedia:AutoWikiBrowser|AWB]] to process pages with PUA characters. The latter should also be tagged with the {{tl|PUA}} template for tracking and future maintenance.
Line 701:
{{main|Help:Displaying a formula}}
* Formulae that include mathematical letters, like {{math|x}}, and operators like <code>×</code> should not use the plain letter <code>x</code>. See [[wikipedia:MOS:MATH#Font_formatting|math font formatting]]. For a comprehensive set of symbols, and comparison between {{tag|math|o}} tags and the {{tl|math}} template see section [[Help:Displaying_a_formula#TeX_vs_HTML|''TeX vs HTML'']].
* The {{tag|math|o}} tag typesets using [[wikipedia:MOS:MATH#Typesetting_of_mathematical_formulae|LaTeX markup]],{{efn|The version of LaTeX used is a subset of AMS-LaTeX markup; see [[Help:Displaying a formula]] for details.}} which may render as an image or as HTML, depending on environmental settings. The {{tag|math|o}} tag is best for the complex formula on its own line in an image format. If you use this tag to put a formula in the line with text, put it in the {{tl|nowrap}} template.
* The {{tl|math}} template [[wikipedia:MOS:MATH#Using_HTML|uses HTML]], and will size-match a serif font, and will also prevent line-wrap. All templates are sensitive to the <code>=</code> sign, so remember to replace <code>=</code> with <code>{{tl|{{=}}}}</code> in template input, or start the input with <code>1=</code>. Use wikimarkup <code><nowiki>''</nowiki></code> and <code><nowiki>'''</nowiki></code> inside the {{tl|math}} template, as well as other [[Wikipedia:Mathematical_symbols|HTML entities]]. The {{tl|math}} template is best for typeset formulas in line with the text.
{{markup
| |||