https://www.biopolicywiki.org/api.php?action=feedcontributions&user=Cag&feedformat=atom BioPolicyWiki - User contributions [en] 2022-05-20T16:56:10Z User contributions MediaWiki 1.21.2 https://www.biopolicywiki.org/index.php?title=Cheatsheet Cheatsheet 2014-04-30T17:38:44Z <p>Cag: </p> <hr /> <div>You can format your text by using wiki markup. This consists of normal characters like asterisks, apostrophes or equal signs which have a special function in the wiki, sometimes depending on their position. For example, to format a word in italic, you include it in two pairs of apostrophes like ''this''.<br /> <br /> MediaWiki ignores single line breaks. To start a new paragraph, leave an empty line. You can force a line break within a paragraph with the HTML tag < br / >.<br /> <br /> Some HTML tags are allowed in MediaWiki, for example < code >, < div >, < span > and < font >. These apply anywhere you insert them. What follows are examples of formatting commands.<br /> <br /> <br /> == Text formatting markup == <br /> <br /> {| class="wikitable"<br /> ! <br /> Description<br /> ! <br /> You type<br /> ! <br /> You get<br /> |-<br /> ! colspan="3" style="background: #ABE" | <br /> Character (inline) formatting – ''applies anywhere''<br /> |-<br /> | <br /> Italic text<br /> | <pre><br /> ''italic''<br /> </pre><br /> |<br /> ''italic''<br /> |-<br /> | <br /> Bold text<br /> | <pre><br /> '''bold'''<br /> </pre><br /> |<br /> '''bold'''<br /> |-<br /> | <br /> Bold and italic<br /> | <pre><br /> '''''bold & italic'''''<br /> </pre><br /> |<br /> '''''bold & italic'''''<br /> |-<br /> | <br /> Strike text<br /> | <pre><br /> <strike>strike text</strike><br /> </pre><br /> |<strike>strike text</strike><br /> |-<br /> | <br /> Escape wiki markup<br /> | <pre><br /> &lt;nowiki&gt; no ''markup''&lt;/nowiki&gt;<br /> </pre><br /> |-<br /> ! colspan="3" style="background: #ABE" | <br /> Section formatting – ''only at the beginning of the line''<br /> |-<br /> <br /> | extension <br /> Headings of different levels<br /> | <pre><br /> <br /> == Level 2 == <br /> <br /> === Level 3 === <br /> <br /> ==== Level 4 ==== <br /> <br /> ===== Level 5 ===== <br /> <br /> ====== Level 6 ====== <br /> <br /> </pre><br /> <br /> |<br /> <!-- using HTML markup to avoid creating new sections --><br /> <h2>Level 2</h2><br /> <br /> <h3>Level 3</h3><br /> <br /> <h4>Level 4</h4><br /> <br /> <h5>Level 5</h5><br /> <br /> <h6>Level 6</h6><br /> <br /> |-<br /> | <br /> Horizontal rule<br /> <br /> Text before<br /> ----<br /> <translate><br /> Text after<br /> </pre><br /> |<br /> Text before<br /> ----<br /> Text after<br /> |-<br /> | <br /> Bullet list<br /> |<br /> <pre><br /> * Start each line<br /> * with an [[Wikipedia:asterisk|asterisk]] (*).<br /> ** More asterisks give deeper<br /> *** and deeper levels.<br /> * Line breaks <br />don't break levels.<br /> *** But jumping levels creates empty space.<br /> Any other start ends the list.<br /> </pre><br /> |<br /> * Start each line<br /> * with an [[Wikipedia:asterisk|asterisk]] (*).<br /> ** More asterisks give deeper<br /> *** and deeper levels.<br /> * Line breaks <br />don't break levels.<br /> *** But jumping levels creates empty space.<br /> Any other start ends the list.<br /> |-<br /> | <br /> Numbered list<br /> |<br /> <pre><br /> # Start each line<br /> # with a [[Wikipedia:Number_sign|number sign]] (#).<br /> ## More number signs give deeper<br /> ### and deeper<br /> ### levels.<br /> # Line breaks <br />don't break levels.<br /> ### But jumping levels creates empty space.<br /> # Blank lines<br /> <br /> <br /> # end the list and start another.<br /> Any other start also<br /> ends the list.<br /> <br /> </pre><br /> |<br /> # Start each line<br /> # with a [[Wikipedia:Number_sign|number sign]] (#).<br /> ## More number signs give deeper<br /> ### and deeper<br /> ### levels.<br /> # Line breaks <br />don't break levels.<br /> ### But jumping levels creates empty space.<br /> # Blank lines<br /> <br /> # end the list and start another.<br /> Any other start also<br /> ends the list.<br /> <br /> |-<br /> | <br /> Definition list<br /> | <pre><br /> <br /> ;item 1<br /> : definition 1<br /> ;item 2<br /> : definition 2-1<br /> : definition 2-2<br /> <br /> </pre><br /> |<br /> <br /> ;item 1<br /> : definition 1<br /> ;item 2<br /> : definition 2-1<br /> : definition 2-2<br /> <br /> |-<br /> | <br /> Indent text<br /> | <pre><br /> : Single indent<br /> :: Double indent<br /> ::::: Multiple indent<br /> </pre><br /> <br /> |<br /> : Single indent<br /> :: Double indent<br /> ::::: Multiple indent<br /> |-<br /> | <br /> Mixture of different types of list<br /> |<br /> <pre><br /> # one<br /> # two<br /> #* two point one<br /> #* two point two<br /> # three<br /> #; three item one<br /> #: three def one<br /> # four<br /> #: four def one<br /> #: this looks like a continuation<br /> #: and is often used<br /> #: instead <br />of &lt;nowiki><br />&lt;/nowiki><br /> # five<br /> ## five sub 1<br /> ### five sub 1 sub 1<br /> ## five sub 2<br /> </pre><br /> <br /> |<br /> # one<br /> # two<br /> #* two point one<br /> #* two point two<br /> # three<br /> #; three item one<br /> #: three def one<br /> # four<br /> #: four def one<br /> #: this looks like a continuation<br /> #: and is often used<br /> #: instead <br />of <nowiki><br /></nowiki><br /> # five<br /> ## five sub 1<br /> ### five sub 1 sub 1<br /> ## five sub 2<br /> |-<br /> | <br /> Preformatted text<br /> | <pre><br /> Start each line with a space.<br /> Text is '''preformatted''' and<br /> ''markups'' '''''can''''' be done.<br /> </pre><br /> <br /> |<br /> Start each line with a space.<br /> Text is '''preformatted''' and<br /> ''markups'' '''''can''''' be done.<br /> |-<br /> | <br /> Preformatted text blocks<br /> | <pre> <br /> <nowiki><nowiki>Start with a space in the first column,<br /> (before the <nowiki>).<br /> <br /> Then your block format will be<br /> maintained.<br /> <br /> This is good for copying in code blocks:<br /> <br /> def function():<br /> """documentation string"""<br /> <br /> if True:<br /> print True<br /> else:<br /> print False</nowiki></nowiki><br /> </pre><br /> |<br /> <nowiki>Start with a space in the first column,<br /> (before the <nowiki>).<br /> <br /> Then your block format will be<br /> maintained.<br /> <br /> This is good for copying in code blocks:<br /> <br /> def function():<br /> """documentation string"""<br /> <br /> if True:<br /> print True<br /> else:<br /> print False</nowiki><br /> |}</div> Cag https://www.biopolicywiki.org/index.php?title=Cheatsheet Cheatsheet 2014-04-29T22:16:16Z <p>Cag: Created page with "You can format your text by using wiki markup. This consists of normal characters like asterisks, apostrophes or equal signs which have a special function in the wiki, sometim..."</p> <hr /> <div>You can format your text by using wiki markup. This consists of normal characters like asterisks, apostrophes or equal signs which have a special function in the wiki, sometimes depending on their position. For example, to format a word in italic, you include it in two pairs of apostrophes like ''this''.<br /> <br /> == Text formatting markup == <br /> <br /> {| class="wikitable"<br /> ! <br /> Description<br /> ! <br /> You type<br /> ! <br /> You get<br /> |-<br /> ! colspan="3" style="background: #ABE" | <br /> Character (inline) formatting – ''applies anywhere''<br /> |-<br /> | <br /> Italic text<br /> | <pre><br /> ''italic''<br /> </pre><br /> |<br /> ''italic''<br /> |-<br /> | <br /> Bold text<br /> | <pre><br /> '''bold'''<br /> </pre><br /> |<br /> '''bold'''<br /> |-<br /> | <br /> Bold and italic<br /> | <pre><br /> '''''bold & italic'''''<br /> </pre><br /> |<br /> '''''bold & italic'''''<br /> |-<br /> | <br /> Strike text<br /> | <pre><br /> <strike>strike text</strike><br /> </pre><br /> |<strike>strike text</strike><br /> |-<br /> | <br /> Escape wiki markup<br /> | <pre><br /> &lt;nowiki&gt; no ''markup''&lt;/nowiki&gt;<br /> </pre><br /> |-<br /> ! colspan="3" style="background: #ABE" | <br /> Section formatting – ''only at the beginning of the line''<br /> |-<br /> <br /> | extension <br /> Headings of different levels<br /> | <pre><br /> <br /> == Level 2 == <br /> <br /> === Level 3 === <br /> <br /> ==== Level 4 ==== <br /> <br /> ===== Level 5 ===== <br /> <br /> ====== Level 6 ====== <br /> <br /> </pre><br /> <br /> |<br /> <!-- using HTML markup to avoid creating new sections --><br /> <h2>Level 2</h2><br /> <br /> <h3>Level 3</h3><br /> <br /> <h4>Level 4</h4><br /> <br /> <h5>Level 5</h5><br /> <br /> <h6>Level 6</h6><br /> <br /> |-<br /> | <br /> Horizontal rule<br /> <br /> Text before<br /> ----<br /> <translate><br /> Text after<br /> </pre><br /> |<br /> Text before<br /> ----<br /> Text after<br /> |-<br /> | <br /> Bullet list<br /> |<br /> <pre><br /> * Start each line<br /> * with an [[Wikipedia:asterisk|asterisk]] (*).<br /> ** More asterisks give deeper<br /> *** and deeper levels.<br /> * Line breaks <br />don't break levels.<br /> *** But jumping levels creates empty space.<br /> Any other start ends the list.<br /> </pre><br /> |<br /> * Start each line<br /> * with an [[Wikipedia:asterisk|asterisk]] (*).<br /> ** More asterisks give deeper<br /> *** and deeper levels.<br /> * Line breaks <br />don't break levels.<br /> *** But jumping levels creates empty space.<br /> Any other start ends the list.<br /> |-<br /> | <br /> Numbered list<br /> |<br /> <pre><br /> # Start each line<br /> # with a [[Wikipedia:Number_sign|number sign]] (#).<br /> ## More number signs give deeper<br /> ### and deeper<br /> ### levels.<br /> # Line breaks <br />don't break levels.<br /> ### But jumping levels creates empty space.<br /> # Blank lines<br /> <br /> <br /> # end the list and start another.<br /> Any other start also<br /> ends the list.<br /> <br /> </pre><br /> |<br /> # Start each line<br /> # with a [[Wikipedia:Number_sign|number sign]] (#).<br /> ## More number signs give deeper<br /> ### and deeper<br /> ### levels.<br /> # Line breaks <br />don't break levels.<br /> ### But jumping levels creates empty space.<br /> # Blank lines<br /> <br /> # end the list and start another.<br /> Any other start also<br /> ends the list.<br /> <br /> |-<br /> | <br /> Definition list<br /> | <pre><br /> <br /> ;item 1<br /> : definition 1<br /> ;item 2<br /> : definition 2-1<br /> : definition 2-2<br /> <br /> </pre><br /> |<br /> <br /> ;item 1<br /> : definition 1<br /> ;item 2<br /> : definition 2-1<br /> : definition 2-2<br /> <br /> |-<br /> | <br /> Indent text<br /> | <pre><br /> : Single indent<br /> :: Double indent<br /> ::::: Multiple indent<br /> </pre><br /> <br /> |<br /> : Single indent<br /> :: Double indent<br /> ::::: Multiple indent<br /> |-<br /> | <br /> Mixture of different types of list<br /> |<br /> <pre><br /> # one<br /> # two<br /> #* two point one<br /> #* two point two<br /> # three<br /> #; three item one<br /> #: three def one<br /> # four<br /> #: four def one<br /> #: this looks like a continuation<br /> #: and is often used<br /> #: instead <br />of &lt;nowiki><br />&lt;/nowiki><br /> # five<br /> ## five sub 1<br /> ### five sub 1 sub 1<br /> ## five sub 2<br /> </pre><br /> <br /> |<br /> # one<br /> # two<br /> #* two point one<br /> #* two point two<br /> # three<br /> #; three item one<br /> #: three def one<br /> # four<br /> #: four def one<br /> #: this looks like a continuation<br /> #: and is often used<br /> #: instead <br />of <nowiki><br /></nowiki><br /> # five<br /> ## five sub 1<br /> ### five sub 1 sub 1<br /> ## five sub 2<br /> |-<br /> | <br /> Preformatted text<br /> | <pre><br /> Start each line with a space.<br /> Text is '''preformatted''' and<br /> ''markups'' '''''can''''' be done.<br /> </pre><br /> <br /> |<br /> Start each line with a space.<br /> Text is '''preformatted''' and<br /> ''markups'' '''''can''''' be done.<br /> |-<br /> | <br /> Preformatted text blocks<br /> | <pre> <br /> <nowiki><nowiki>Start with a space in the first column,<br /> (before the <nowiki>).<br /> <br /> Then your block format will be<br /> maintained.<br /> <br /> This is good for copying in code blocks:<br /> <br /> def function():<br /> """documentation string"""<br /> <br /> if True:<br /> print True<br /> else:<br /> print False</nowiki></nowiki><br /> </pre><br /> |<br /> <nowiki>Start with a space in the first column,<br /> (before the <nowiki>).<br /> <br /> Then your block format will be<br /> maintained.<br /> <br /> This is good for copying in code blocks:<br /> <br /> def function():<br /> """documentation string"""<br /> <br /> if True:<br /> print True<br /> else:<br /> print False</nowiki><br /> |}</div> Cag