Changes


Jeff8356:Common wikitext

830 bytes added, 18:02, 12 September 2022
Added new section for pre and nowiki
An example of using citations and notes together inline:<br />
You can set the time zone in your cpap machine. <ref>Time Zone Map - https://www.timeanddate.com/time/map/</ref> Some machines may have special requirements. <ref group="note">S11 series machines will re-format the SD card</ref>
 
== Text block ==
Sample text without the text block
 
Sample text in a text block <nowiki>(Similar to <nowiki>, <pre>, or <code>)</nowiki> but still interprets wiki code.
 
Just indent the line with a space(s) and the text is placed in a block like above. No tags required. Preserves formatting.
 
Testing multiple lines
Line 2
Line 3
 
== Math symbols ==
&pi;&middot;r<sup>2</sup>&middot;h | E=mc<sup>2</sup> | H<sub>2</sub>O | CO<sub>2</sub> = <code><nowiki>&amp;pi;&amp;middot;r<sup>2</sup>&amp;middot;h E=mc<sup>2</sup> H<sub>2</sub>O CO<sub>2</sub></nowiki></code>
To convert Hours:minutes:seconds to decimal. Example: 8:23:17
More info on highlighting and coloring can be found here: [https://meta.wikimedia.org/wiki/Wiki_color_formatting_help Wiki color formatting help]
 
== Limiting text formatting ==
=== Leading space ===
 
Sample text in a text block <nowiki>(Similar to <nowiki>, <pre>, or <code>)</nowiki> but still interprets wiki code, and preserves extra spaces.
 
Testing multiple lines
Line 2
Line 3
 
Just indent the line with a space(s) and the text is placed in a block like above. No tags required. Preserves formatting and extra spaces.
 
=== &lt;pre&gt; ===
<nowiki><pre></pre></nowiki> Does not interpret wikicode, and preserves extra spaces. Displays special characters. <pre> Some sample text using &lt;pre&gt; with [[wikimarkup]] tags and extra spaces. Also displays special characters using &amp;</pre>
 
=== &lt;nowiki&gt; ===
<nowiki><nowiki></nowiki></nowiki> Does not interpret wikicode, but strips extra spaces and new lines. Also displays special characters. Does not use a text block like &lt;pre&gt; or "leading space".<br />
 
<nowiki>Some sample text with [[wikimarkup]], but strips extra spaces. Displays special characters using &amp;</nowiki>
 
Moderator
453
edits



Donate to Apnea Board