Help:Editing: Difference between revisions

From Math Puzzle Wiki
Jump to navigation Jump to search
Oscarlevin (talk | contribs)
No edit summary
Oscarlevin (talk | contribs)
No edit summary
Line 12: Line 12:


<pre>{{Solution |
<pre>{{Solution |
1+1<nowiki><</nowiki>nowiki<nowiki>></nowiki>=<nowiki></</nowiki>nowiki<nowiki>></nowiki>2
1 + 1 <nowiki><</nowiki>nowiki<nowiki>></nowiki> = <nowiki></</nowiki>nowiki<nowiki>></nowiki> 2
}}</pre>
}}</pre>


Alternatively, if you wish to use an '''=''' in an equation, you can drop into math mode as in:
Alternatively, if you wish to use an '''=''' in an equation, you can drop into math mode as in:
  <nowiki><math>1 + 1 = 2</math></nowiki>  
  <nowiki>{{Solution | <math>1 + 1 = 2</math>}}</nowiki>  
or
or
  <nowiki>\$1 + 1 = 2\$</nowiki>.
  <nowiki>{{Solution | \$1 + 1 = 2\$}}</nowiki>.

Revision as of 10:30, 14 October 2010

General assistance

Pending the completion of this page, see the editing help page on Wikipedia for further editing assistance, and the Wiki markup page for even more information.

On talk pages, sign comments with ~~~~.

Templates

Use of the equals sign

Within the body of a template, such as the {{Solution | ... }} template, the wiki will interpret an = sign as indicating a named parameter, which will lead to the template not being displayed correctly. Therefore, either avoid the use of the = sign, or surround it in nowiki tags, like this:

{{Solution |
1 + 1 <nowiki> = </nowiki> 2
}}

Alternatively, if you wish to use an = in an equation, you can drop into math mode as in:

{{Solution | <math>1 + 1 = 2</math>}} 

or

{{Solution | \$1 + 1 = 2\$}}.