Difference between revisions of "Help:Advanced cheatsheet"

From Pirate Party Belgium
Jump to: navigation, search
(Created page with "<!--COMMENT MARKUP. Displays:Edit mode only.--> {|align="center" style="width:100%; border:2px #a3b1bf solid; background:#f5faff; text-align:left;" |colspan="3" align="center"...")
 
m (from Valérie)
 
(7 intermediate revisions by the same user not shown)
Line 2: Line 2:
 
{|align="center" style="width:100%; border:2px #a3b1bf solid; background:#f5faff; text-align:left;"
 
{|align="center" style="width:100%; border:2px #a3b1bf solid; background:#f5faff; text-align:left;"
 
|colspan="3" align="center" style="background:#cee0f2; text-align:center;" |
 
|colspan="3" align="center" style="background:#cee0f2; text-align:center;" |
<h2 style="margin:.5em; margin-top:.1em; margin-bottom:.1em; border-bottom:0; font-weight:bold;">Wiki Advanced Cheatsheet</h2>  
+
<h2 style="margin:.5em; margin-top:.1em; margin-bottom:.1em; border-bottom:0; font-weight:bold;">Advanced Wiki Cheatsheet</h2>  
 
|-<!--COLUMN HEADINGS--> style="background:#E6F2FF; padding:0.3em; font-size: 0.9em; text-align:center;"
 
|-<!--COLUMN HEADINGS--> style="background:#E6F2FF; padding:0.3em; font-size: 0.9em; text-align:center;"
 
| style="border-bottom:2px #a3b1bf solid" width="30%" | Description
 
| style="border-bottom:2px #a3b1bf solid" width="30%" | Description
 
| style="border-bottom:2px #a3b1bf solid" | You type
 
| style="border-bottom:2px #a3b1bf solid" | You type
 
| style="border-bottom:2px #a3b1bf solid" width="30%" | You get
 
| style="border-bottom:2px #a3b1bf solid" width="30%" | You get
 +
|-
 +
|Show an image
 +
<div style="padding: 0.7em .5em; font-size:0.9em;">''see [[Special:Upload|here]] for uploading.
 +
''</div>
 +
|
 +
<tt><nowiki>[[File:Logo_partipiratenpartij_135px.png]]</nowiki></tt>
 +
|
 +
[[File:Logo_partipiratenpartij_135px.png]]
 
|-
 
|-
 
|colspan="3" style="border-top:1px solid #cee0f2;"|
 
|colspan="3" style="border-top:1px solid #cee0f2;"|
 
|-
 
|-
|Show an image
+
|Show an image with caption
<div style="padding: 0.7em .5em; font-size:0.9em;">''for uploading, see the [[Help:Introduction to uploading images|intro to uploading images]]
+
<div style="padding: 0.7em .5em; font-size:0.9em;">''see [[Special:Upload|here]] for uploading.
 
''</div>
 
''</div>
 
|
 
|
<tt><nowiki>[[</nowiki></tt>File:Wiki.png<tt>|thumb|</tt>Caption<tt><nowiki>]]</nowiki></tt>
+
<tt><nowiki>[[File:Logo_partipiratenpartij_135px.png|thumb|Caption]]</nowiki></tt>
 
|
 
|
[[File:Wiki.png|thumb|Caption]]
+
[[File:Logo_partipiratenpartij_135px.png|thumb|Caption]]
 
|-
 
|-
 
|colspan="3" style="border-top:1px solid #cee0f2;"|
 
|colspan="3" style="border-top:1px solid #cee0f2;"|
 
|-
 
|-
|Add a page to a [[Wikipedia:FAQ/Categories|category]]
+
|Add a "download" link to a file
|<tt><nowiki>[[Category:Category name]]</nowiki></tt><br /><br /><span style="font-size:0.9em;">''place near the bottom of a page''</span>
+
<div style="padding: 0.7em .5em; font-size:0.9em;">''see [[Special:Upload|here]] for uploading.
|<span style="font-size:0.9em;">''shows''</span> "Category name" <span style="font-size:0.9em;">''in a bar at bottom when the page is previewed or saved''</span>
+
''</div>
 +
|
 +
<tt><nowiki>[[Media:StatutsduPartiPirate.pdf|Statutes of the party]]</nowiki></tt>
 +
|
 +
[[Media:StatutsduPartiPirate.pdf|Statutes of the party]]
 
|-
 
|-
 
|colspan="3" style="border-top:1px solid #cee0f2;"|
 
|colspan="3" style="border-top:1px solid #cee0f2;"|
 
|-
 
|-
|Hide text somewhere for editors
 
<div style="padding: 0.7em .5em; font-size:0.9em;">''[[WP:CON|consensus]] is how things are decided''</div>
 
 
|
 
|
<tt><nowiki><!--This had consensus, discuss at talk page--></nowiki></tt>
+
{| class="wikitable"
 +
|+ Make a table
 +
|--
 +
! Syntax
 +
! desciption
 +
|--
 +
| <tt><nowiki>{| class="wikitable"</nowiki></tt>
 +
| Starts the table
 +
|--
 +
| <tt><nowiki>|+</nowiki></tt>
 +
| Title
 +
|--
 +
| <tt><nowiki>|--</nowiki></tt>
 +
| New line
 +
|--
 +
| <tt><nowiki>|</nowiki></tt>
 +
| New column
 +
|--
 +
| <tt><nowiki>!</nowiki></tt>
 +
| New column in the table head
 +
|--
 +
| <tt><nowiki>|}</nowiki></tt>
 +
| Ends the table
 +
|}
 +
|
 +
<pre><nowiki>
 +
{| class="wikitable"
 +
|+ Title
 +
|--
 +
! column
 +
! other column
 +
|--
 +
| hello!
 +
| other hello!
 +
|--
 +
| first column of last line
 +
| last column
 +
|}
 +
</nowiki></pre>
 
|
 
|
<!--This had consensus, discuss at talk page-->
+
{| class="wikitable"
 +
|+ Title
 +
|--
 +
! column
 +
! other column
 +
|--
 +
| hello!
 +
| other hello!
 +
|--
 +
| 1st column of last line
 +
| last column
 +
|}
 
|-
 
|-
 
|colspan="3" style="border-top:1px solid #cee0f2;"|
 
|colspan="3" style="border-top:1px solid #cee0f2;"|
 
|-
 
|-
 
|References and footnotes
 
|References and footnotes
<div style="padding: 0.7em .5em; font-size:0.9em;">''sources in the article will appear where <nowiki>{{reflist}}</nowiki> is put, typically under a level 2 section heading (see below) towards the bottom of the page; text between <nowiki>{{}}</nowiki> is for a template''</div>
 
<div style="padding: 0.7em .5em; font-size:0.9em;"></div>
 
 
|
 
|
 
<tt><nowiki>Hello,<ref>[http://www.loc.gov/about/ Library of Congress]</ref> World.<ref>http://www.w3.org/</ref></nowiki></tt>
 
<tt><nowiki>Hello,<ref>[http://www.loc.gov/about/ Library of Congress]</ref> World.<ref>http://www.w3.org/</ref></nowiki></tt>
Line 44: Line 101:
 
References:
 
References:
  
{{reflist}}</nowiki>
+
<references /></nowiki>
  
 
</tt>
 
</tt>
Line 52: Line 109:
 
References:
 
References:
  
{{reflist}}
+
<references />
 +
|-
 +
|colspan="3" style="border-top:1px solid #cee0f2;"|
 +
|-
 +
|[[Help:Extension:EtherpadLite|Embed a piratepad]]
 +
|
 +
<tt><nowiki><eplite id="name_of_the_pad"></eplite></nowiki></tt>
 +
|
 +
|-
 +
|colspan="3" style="border-top:1px solid #cee0f2;"|
 +
|-
 +
|Use a template
 +
|
 +
<tt><nowiki>{{template_name|param1=value1|param2=value2...}}</nowiki></tt>
 +
|
 +
|-
 +
|colspan="3" style="border-top:1px solid #cee0f2;"|
 +
|-
 +
|Add a page to a [[Wikipedia:FAQ/Categories|category]]
 +
|<tt><nowiki>[[Category:Category name]]</nowiki></tt><br /><br /><span style="font-size:0.9em;">''place near the bottom of a page''</span>
 +
|<span style="font-size:0.9em;">''shows''</span> "Category name" <span style="font-size:0.9em;">''in a bar at bottom when the page is previewed or saved''</span>
 +
|-
 +
|colspan="3" style="border-top:1px solid #cee0f2;"|
 +
|-
 +
|Hide text somewhere for editors
 +
|
 +
<tt><nowiki><!--This had consensus, discuss at talk page--></nowiki></tt>
 +
|
 +
<!--This had consensus, discuss at talk page-->
 +
|-
 +
|colspan="3" style="border-top:1px solid #cee0f2;"|
 
|-
 
|-
 
|Redirect to another page
 
|Redirect to another page

Latest revision as of 22:24, 18 January 2014

Advanced Wiki Cheatsheet

Description You type You get
Show an image
see here for uploading.

[[File:Logo_partipiratenpartij_135px.png]]

Logo partipiratenpartij 135px.png

Show an image with caption
see here for uploading.

[[File:Logo_partipiratenpartij_135px.png|thumb|Caption]]

Caption
Add a "download" link to a file
see here for uploading.

[[Media:StatutsduPartiPirate.pdf|Statutes of the party]]

Statutes of the party

Make a table
Syntax desciption
{| class="wikitable" Starts the table
|+ Title
|-- New line
| New column
! New column in the table head
|} Ends the table
{| class="wikitable"
|+ Title
|--
! column
! other column
|--
| hello!
| other hello!
|--
| first column of last line
| last column
|}
Title
column other column
hello! other hello!
1st column of last line last column
References and footnotes

Hello,<ref>[http://www.loc.gov/about/ Library of Congress]</ref> World.<ref>http://www.w3.org/</ref>

References: <references />

Hello,[1] World.[2]

References:

Embed a piratepad

<eplite id="name_of_the_pad"></eplite>

Use a template

{{template_name|param1=value1|param2=value2...}}

Add a page to a category [[Category:Category name]]

place near the bottom of a page
shows "Category name" in a bar at bottom when the page is previewed or saved
Hide text somewhere for editors

<!--This had consensus, discuss at talk page-->

Redirect to another page
redirects must be placed at the start of the first line

#REDIRECT [[Target page]]

Redirect arrow without text.svg Target page