Wikihelp: Difference between revisions
Creepymoto (talk | contribs) No edit summary |
Creepymoto (talk | contribs) m (Protected "Wikihelp" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite))) |
(No difference)
|
Revision as of 23:54, 17 June 2014
Wikihelp brings you a page where you will find the simple slash advanced instructions to how to add a infobox to the right side of the page and more.
Infobox
In order to add an infobox to the page you have to add one of the following codes into your page.
Infobox of a Person: ( You can see an example here on the right side )
{{Infobox person |image = [[File:name.gif]] |fullname = |residence = |born = |gender = |status = |rank = }}
Infobox of a Community: ( You can see an example here on the right side )
{{Infobox community |image = [[File:|300px]] |founded = |founders = |members = |website = |status = }}
Table of Content
What is Table of Content ? It is the thing up before infobox header stating what is the content inside this article.
To add Table of Content to your article use this in the article edit. Suggested after introduction before first paragraph. Like on this page.
__TOC__
Formmating
Description |
You type |
You get |
---|---|---|
Character (inline) formatting – applies anywhere | ||
Italic text |
''<!--T:8--> italic'' |
italic |
Bold text |
'''<!--T:11--> bold''' |
bold |
Bold and italic |
'''''<!--T:14--> bold & italic''''' |
bold & italic |
Strike text |
<strike> <!--T:17--> strike text </strike> |
|
Escape wiki markup |
<nowiki><!--T:20--> no ''markup''</nowiki> |
no ''markup'' |
Escape wiki markup once |
[[API]]<nowiki/><!--T:22--> extension |
API extension |
Section formatting – only at the beginning of the line | ||
Headings of different levels |
== Level 2 == <!--T:26--> === Level 3 === <!--T:27--> ==== Level 4 ==== <!--T:28--> ===== Level 5 ===== <!--T:29--> ====== Level 6 ====== <!--T:30--> Usage{{note|Foo}} {{note|Foo|reminder}} {{note|Foo|error}} {{note|Foo|gotcha}} {{tip|Foo}} {{note}} <!--T:6--> Loose test {{tip}} <!--T:7--> Loose test |
Level 2Level 3Level 4Level 5Level 6 |
Horizontal rule |
<!--T:41--> Text before ---- <!--T:42--> Text after |
Text before Text after |
Bullet list |
<!--T:46--> * Start each line * with an [[Wikipedia:asterisk|asterisk]] (*). ** More asterisks give deeper *** and deeper levels. * Line breaks <br />don't break levels. *** But jumping levels creates empty space. Any other start ends the list. |
Any other start ends the list. |
Numbered list |
<!--T:49--> # Start each line # with a [[Wikipedia:Number_sign|number sign]] (#). ## More number signs give deeper ### and deeper ### levels. # Line breaks <br />don't break levels. ### But jumping levels creates empty space. # Blank lines <!--T:50--> # end the list and start another. Any other start also ends the list. |
Any other start also ends the list. |
Definition list |
<!--T:54--> ;item 1 : definition 1 ;item 2 : definition 2-1 : definition 2-2 |
|
Indent text |
<!--T:57--> : Single indent :: Double indent ::::: Multiple indent Usage{{note|Foo}} {{note|Foo|reminder}} {{note|Foo|error}} {{note|Foo|gotcha}} {{tip|Foo}} {{note}} <!--T:6--> Loose test {{tip}} <!--T:7--> Loose test |
|
Mixture of different types of list |
<!--T:61--> # one # two #* two point one #* two point two # three #; three item one #: three def one # four #: four def one #: this looks like a continuation #: and is often used #: instead <br />of <nowiki><br /></nowiki> # five ## five sub 1 ### five sub 1 sub 1 ## five sub 2 Usage{{note|Foo}} {{note|Foo|reminder}} {{note|Foo|error}} {{note|Foo|gotcha}} {{tip|Foo}} {{note}} <!--T:6--> Loose test {{tip}} <!--T:7--> Loose test |
|
Preformatted text |
<!--T:65--> Start each line with a space. Text is '''preformatted''' and ''markups'' '''''can''''' be done. Usage{{note|Foo}} {{note|Foo|reminder}} {{note|Foo|error}} {{note|Foo|gotcha}} {{tip|Foo}} {{note}} <!--T:6--> Loose test {{tip}} <!--T:7--> Loose test |
Start each line with a space. Text is preformatted and markups can be done. |
Preformatted text blocks |
<!--T:69--> <nowiki>Start with a space in the first column, (before the <nowiki>). <!--T:70--> Then your block format will be maintained. This is good for copying in code blocks: <!--T:71--> def function(): """documentation string""" <!--T:72--> if True: print True else: print False</nowiki> |
Start with a space in the first column, (before the <nowiki>). <!--T:74--> Then your block format will be maintained. <!--T:75--> This is good for copying in code blocks: <!--T:76--> def function(): """documentation string""" <!--T:77--> if True: print True else: print False |
Paragraphs
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 />
.
HTML tags
Some HTML tags are allowed in MediaWiki, for example <code>
, <div>
, <span>
and <font>
. These apply anywhere you insert them.
Description |
You type |
You get |
---|---|---|
Inserted |
<ins><!--T:86--> Inserted</ins> <!--T:87--> or <u><!--T:88--> Underline</u> |
Inserted or Underline |
Deleted |
<s><!--T:93--> Struck out</s> <!--T:94--> or <del><!--T:95--> Deleted</del> |
or
|
Fixed width text |
<code><!--T:100--> Source code</code> <!--T:101--> or <tt>Fixed width text</tt> |
or Fixed width text |
Blockquotes |
<!--T:105--> Text before <blockquote><!--T:106--> Blockquote</blockquote> <!--T:107--> Text after |
Text before
Text after |
Comment |
<!--T:112--> <!-- This is a comment --> Comments are visible only in the edit zone. |
Comments are visible only in the edit zone. |
Completely preformatted text |
<pre> <!--T:115--> Text is '''preformatted''' and ''markups'' '''''cannot''''' be done</pre> Usage{{note|Foo}} {{note|Foo|reminder}} {{note|Foo|error}} {{note|Foo|gotcha}} {{tip|Foo}} {{note}} <!--T:6--> Loose test {{tip}} <!--T:7--> Loose test |
<!--T:117--> Text is '''preformatted''' and ''markups'' '''''cannot''''' be done |
Customized preformatted text |
<pre style="color: red"> <!--T:119--> Text is '''preformatted''' with a style and ''markups'' '''''cannot''''' be done </pre> Usage{{note|Foo}} {{note|Foo|reminder}} {{note|Foo|error}} {{note|Foo|gotcha}} {{tip|Foo}} {{note}} <!--T:6--> Loose test {{tip}} <!--T:7--> Loose test |
<!--T:121--> Text is '''preformatted''' with a style and ''markups'' '''''cannot''''' be done |
continued:
Description |
You type |
You get |
---|---|---|
Customized preformatted text with text wrap according to available width |
<pre style="white-space: pre-wrap; white-space: -moz-pre-wrap; white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: break-word;"> <!--T:127--> This long sentence is used to demonstrate text wrapping. This additional sentence makes the text even longer.</translate> </pre> |
<!--T:128--> This long sentence is used to demonstrate text wrapping. This additional sentence makes the text even longer.</translate> |
Preformatted text with text wrap according to available width</translate> |
<code> <!--T:130--> This long sentence is used to demonstrate text wrapping. This additional sentence makes the text even longer.</translate> </code> |
|