Editing Paragraph Declaration 1 You are editing an old version of this page. If you save it, any changes made since this version will be lost. You are editing an old version of this page. If you save it, any changes made since this version will be lost. You are not logged in. The rich text editor does not work with JavaScript switched off. Please either enable it in your browser options, or visit your preferences to switch to the old MediaWiki editor Paragraphs are declared with the text "{{code|keyword|I learned}}", followed by the name of the paragraph and a [[punctuation]]. [[#Mane Paragraphs|Mane paragraphs]] start with "{{code|keyword|<strong>Today</strong> I learned}}". * {{codeblock|{{code|keyword|I learned}}{{tag|whitespace}}{{tag|paragraph|paragraph name}}{{tag|punctuation}}}} * {{codeblock|{{code|keyword|<strong>Today</strong> I learned}}{{tag|whitespace}}{{tag|paragraph|paragraph name}}{{tag|punctuation}}}} Return types can be left blank for a void return type, or will follow the paragraph name and the word "{{code|keyword|with}}" or "{{code|keyword|as}}. * {{codeblock|{{code|keyword|I learned}}{{tag|whitespace}}{{tag|paragraph|paragraph name}}{{tag|whitespace}}{{tag|keyword|as}}{{tag|whitespace}}{{tag|type}}{{tag|punctuation}}}} * {{codeblock|{{code|keyword|I learned}}{{tag|whitespace}}{{tag|paragraph|paragraph name}}{{tag|whitespace}}{{tag|keyword|with}}{{tag|whitespace}}{{tag|type}}{{tag|punctuation}}}} * {{codeblock|{{code|keyword|<strong>Today</strong> I learned}}{{tag|whitespace}}{{tag|paragraph|paragraph name}}{{tag|whitespace}}{{tag|keyword|as}}{{tag|whitespace}}{{tag|type}}{{tag|punctuation}}}} * {{codeblock|{{code|keyword|<strong>Today</strong> I learned}}{{tag|whitespace}}{{tag|paragraph|paragraph name}}{{tag|whitespace}}{{tag|keyword|with}}{{tag|whitespace}}{{tag|type}}{{tag|punctuation}}}} Parameters ([[values]] that are sent to the paragraph) follow the return type and the word "{{code|keyword|using}}" and are separated from each other with "{{code|keyword|and}}". * {{codeblock|{{code|keyword|I learned}}{{tag|whitespace}}{{tag|paragraph|paragraph name}}{{tag|whitespace}}{{tag|keyword|using}}{{tag|whitespace}}{{tag|type}}{{tag|whitespace}}{{tag|value}}{{tag|punctuation}}}} * {{codeblock|{{code|keyword|<strong>Today</strong> I learned}}{{tag|whitespace}}{{tag|paragraph|paragraph name}}{{tag|whitespace}}{{tag|keyword|using}}{{tag|whitespace}}{{tag|type}}{{tag|punctuation}}}} === Examples === Plain declaration (no return, no parameters): : {{codeblock|{{code|keyword|I learned}}{{code|whitespace| }}{{code|paragraph|how to multiply}}{{code|punctuation|.}}}} Declaration for a paragraph which returns a [[number]]: : {{codeblock|{{code|keyword|I learned}}{{code|whitespace| }}{{code|paragraph|how to multiply}}{{code|whitespace| }}{{code|keyword|with}}{{code|whitespace| }}{{code|type|a number}}{{code|punctuation|.}}}} Declaration for a paragraph which takes in an [[arrays|array]] of numbers called "{{code|variable|Fibonacci}}": : {{codeblock|{{code|keyword|I learned}}{{code|whitespace| }}{{code|paragraph|how to multiply}}{{code|whitespace| }}{{code|keyword|as}}{{code|whitespace| }}{{code|type|a number}}{{code|whitespace| }}{{code|keyword|using}}{{code|whitespace| }}{{code|type|the numbers}}{{code|whitespace| }}{{code|variable|Fibonacci}}{{code|punctuation|.}}}} Loading editor Below are some commonly used wiki markup codes. Simply click on what you want to use and it will appear in the edit box above. Insert: – — … ° ≈ ≠ ≤ ≥ ± − × ÷ ← → · § Sign your username: ~~~~ Wiki markup: {{}} | [] [[]] [[Category:]] #REDIRECT [[]] <s></s> <sup></sup> <sub></sub> <code></code> <blockquote></blockquote> <ref></ref> {{Reflist}} <references/> <includeonly></includeonly> <noinclude></noinclude> {{DEFAULTSORT:}} <nowiki></nowiki> <!-- --> <span class="plainlinks"></span> Symbols: ~ | ¡ ¿ † ‡ ↔ ↑ ↓ • ¶ # ¹ ² ³ ½ ⅓ ⅔ ¼ ¾ ⅛ ⅜ ⅝ ⅞ ∞ ‘ “ ’ ” «» ¤ ₳ ฿ ₵ ¢ ₡ ₢ $ ₫ ₯ € ₠ ₣ ƒ ₴ ₭ ₤ ℳ ₥ ₦ № ₧ ₰ £ ៛ ₨ ₪ ৳ ₮ ₩ ¥ ♠ ♣ ♥ ♦ View this template This field is a spam trap. DO NOT fill it in! Edit summary Preview Mobile Desktop Show changes