Help:Syntax

(Difference between revisions)
Jump to: navigation, search
m (File Links)
Line 1: Line 1:
 
{{TOC right}}
 
{{TOC right}}
== Access Control ==
+
= Access Control =
=== Write Access ===
+
== Write Access ==
 
All pages are only editable with a granted Novell Account. See [[here]] a list of all users.
 
All pages are only editable with a granted Novell Account. See [[here]] a list of all users.
  
=== Read Access ===
+
== Read Access ==
 
All pages are by default visible by everybody. Is you want to restrict a page to registered users only, add the following line at the begin of the page.
 
All pages are by default visible by everybody. Is you want to restrict a page to registered users only, add the following line at the begin of the page.
 
+
<pre><accesscontrol>Administrators,,wikieda</accesscontrol></pre>
 
This line is automatically added if a new page is created.
 
This line is automatically added if a new page is created.
  
== Formatting ==
+
= Formatting =
=== Headings ===
+
== Headings ==
 
<pre>
 
<pre>
 
= Heading 1 =
 
= Heading 1 =
Line 26: Line 26:
 
====== Heading 6 ======
 
====== Heading 6 ======
  
=== Bold & Italic ===
+
== Bold & Italic ==
 
<pre>
 
<pre>
 
'''This is a bold text'''
 
'''This is a bold text'''
Line 40: Line 40:
 
'''''This is a bold & italic text'''''
 
'''''This is a bold & italic text'''''
  
=== Code ===
+
== Code ==
==== Block Code ====
+
=== Block Code ===
 
<source lang="text">
 
<source lang="text">
 
<pre>
 
<pre>
Line 52: Line 52:
 
</pre>
 
</pre>
  
==== Inline code ====
+
=== Inline code ===
 
<pre>
 
<pre>
 
<code> This is Inline code </code>
 
<code> This is Inline code </code>
Line 59: Line 59:
 
<code> This is a Inline code </code>
 
<code> This is a Inline code </code>
  
=== No Wiki Markup ===
+
=== Syntax Highlighting ===
<pre>
+
For syntax highlighted code see the [[Help:Extentions#Syntax_Highlighting_Geshi|Geshi Extension]].
<nowiki><nowiki>Text without wiki markup</nowiki></nowiki>
+
</pre>
+
<nowiki>Text without wiki markup</nowiki>
+
  
=== Horizontal rule ===
+
== No Wiki Markup ==
 
<pre>
 
<pre>
----
+
<nowiki><nowiki>Text ''without'' '''wiki''' markup</nowiki></nowiki>
 
</pre>
 
</pre>
----
+
<nowiki>Text ''without'' '''wiki''' markup</nowiki>
  
=== Lists ===
+
== Lists ==
==== Bullet list ====
+
=== Bullet list ===
 
<pre>
 
<pre>
 
* Start each line
 
* Start each line
Line 91: Line 88:
 
Any other start ends the list.
 
Any other start ends the list.
  
==== Numbered list ====
+
=== Numbered list ===
 
<pre>
 
<pre>
 
# Start each line
 
# Start each line
Line 103: Line 100:
  
 
# end the list and start another.
 
# end the list and start another.
Any other start also
+
Any other start also ends the list.
ends the list.
+
 
</pre>
 
</pre>
  
Line 117: Line 113:
  
 
# end the list and start another.
 
# end the list and start another.
Any other start also
+
Any other start also ends the list.
ends the list.
+
  
==== Indent text ====
+
== Indent ==
 
<pre>
 
<pre>
 
: Single indent
 
: Single indent
Line 174: Line 169:
 
== Links ==
 
== Links ==
 
=== Internal Links ===
 
=== Internal Links ===
'''Note: Double Brackets and | for separation'''
+
'''Note: Double square brackets and | for separation.'''
 
<pre>
 
<pre>
 
[[Namelink|DisplayName]]
 
[[Namelink|DisplayName]]
Line 183: Line 178:
  
 
=== External Links ===
 
=== External Links ===
'''Note: Single Bracket and <space> for separation'''
+
'''Note: Single square brackets and <space> for separation.'''
 
<pre>
 
<pre>
 
[http://urladdress Display name]
 
[http://urladdress Display name]
Line 191: Line 186:
 
[http://hevs.ch HES-SO//VS Webpage]
 
[http://hevs.ch HES-SO//VS Webpage]
  
=== File & Picture Upload ===
+
= File & Picture Upload =
 
To upload a file click on the [[Special:Upload|Upload File]] button that is located on the left panel. Your file must be smaller than 2MB and the extension must be authorized.
 
To upload a file click on the [[Special:Upload|Upload File]] button that is located on the left panel. Your file must be smaller than 2MB and the extension must be authorized.
  
 
For the moment the authorized extensions are: png, gif, jpg, jpeg, pdf, zip, rar, tar, tgz, gz, txt, bash, config, vhdl, do
 
For the moment the authorized extensions are: png, gif, jpg, jpeg, pdf, zip, rar, tar, tgz, gz, txt, bash, config, vhdl, do
  
=== File Links ===
+
== File Links ==
 
In order to download a file. It can be an image or any other type of authorized file.
 
In order to download a file. It can be an image or any other type of authorized file.
  
Line 207: Line 202:
 
[[Media:edawiki.jpg|Display name]]
 
[[Media:edawiki.jpg|Display name]]
  
=== Images ===
+
== Images ==
 
'''Note: Double Brackets and | for separation with type ''File''.'''
 
'''Note: Double Brackets and | for separation with type ''File''.'''
 
<pre>
 
<pre>
Line 224: Line 219:
 
[[File:edawiki.jpg|link=Help:Syntax|200px]]
 
[[File:edawiki.jpg|link=Help:Syntax|200px]]
  
== Table of Content ==
+
= Table of Content =
 
To put the Table of Content (TOC) that the right side of the page write the following at the beginning of a page
 
To put the Table of Content (TOC) that the right side of the page write the following at the beginning of a page
 
<pre>
 
<pre>
Line 230: Line 225:
 
</pre>
 
</pre>
  
== Categories ==
+
= Categories =
 
In order to put a page into a Category add the following line at the end of the page:
 
In order to put a page into a Category add the following line at the end of the page:
 
<pre>
 
<pre>

Revision as of 10:50, 22 May 2012

Contents

Access Control

Write Access

All pages are only editable with a granted Novell Account. See here a list of all users.

Read Access

All pages are by default visible by everybody. Is you want to restrict a page to registered users only, add the following line at the begin of the page.

<accesscontrol>Administrators,,wikieda</accesscontrol>

This line is automatically added if a new page is created.

Formatting

Headings

= Heading 1 =
== Heading 2 ==
=== Heading 3 ===
==== Heading 4 ====
===== Heading 5 =====
====== Heading 6 ======

Heading 1

Heading 2

Heading 3

Heading 4

Heading 5
Heading 6

Bold & Italic

'''This is a bold text'''

This is a bold text

''This is an italic text''

This is an italic text

'''''This is a bold & italic text'''''

This is a bold & italic text

Code

Block Code

<pre>
Code formatted style here
</pre>
Code formatted style here

Inline code

<code> This is Inline code </code>

This is a Inline code

Syntax Highlighting

For syntax highlighted code see the Geshi Extension.

No Wiki Markup

<nowiki>Text ''without'' '''wiki''' markup</nowiki>

Text ''without'' '''wiki''' markup

Lists

Bullet list

* Start each line
* with an [[Wikipedia:asterisk|asterisk]] (*).
** More asterisks gives deeper
*** and deeper levels.
* Line breaks<br/>don't break levels.
*** But jumping levels creates empty space.
Any other start ends the list.
  • Start each line
  • with an asterisk (*).
    • More asterisks gives deeper
      • and deeper levels.
  • Line breaks
    don't break levels.
      • But jumping levels creates empty space.

Any other start ends the list.

Numbered list

# Start each line
# with a [[Wikipedia:Number_sign|number sign]] (#).
## More number signs gives deeper
### and deeper
### levels.
# Line breaks<br/>don't break levels.
### But jumping levels creates empty space.
# Blank lines

# end the list and start another.
Any other start also ends the list.
  1. Start each line
  2. with a number sign (#).
    1. More number signs gives deeper
      1. and deeper
      2. levels.
  3. Line breaks
    don't break levels.
      1. But jumping levels creates empty space.
  4. Blank lines
  1. end the list and start another.

Any other start also ends the list.

Indent

: Single indent
:: Double indent
::::: Multiple indent
Single indent
Double indent
Multiple indent

Tables

{| <table> Tabellenanfang
|+   Tabellenüberschrift, optional; nur einmal pro Tabelle zwischen Tabellenanfang und erster Zeile definierbar
|- <tr> neue Tabellenzeile
! <th> Tabellenkopfzelle, optional. Aufeinanderfolgende Kopfzellen können, durch doppelte Ausrufezeichen (!!) getrennt, in der gleichen Zeile folgen oder mit einfachen Ausrufezeichen (!) auf einer neuen Zeile beginnen.
| <td> Tabellenzelle, Pflicht! Aufeinanderfolgende Zellen können, durch doppelte Striche (||) getrennt, in der gleichen Zeile folgen oder mit einfachem Strich (|) auf einer neuen Zeile beginnen.
|} </table> Tabellenende
{|class=wikitable
|-
| Cell 1-1 || Cell 1-2 || Cell 1-3
|-
| Cell 2-1 || Cell 2-2 ||
|- 
| Cell 3-1 || Cell 3-2
|-
| Cell 4
|-
|}
Cell 1-1 Cell 1-2 Cell 1-3
Cell 2-1 Cell 2-2
Cell 3-1 Cell 3-2
Cell 4

Links

Internal Links

Note: Double square brackets and | for separation.

[[Namelink|DisplayName]]
e.g.
[[Help:Extentions|Extention page]]

Extention page

External Links

Note: Single square brackets and <space> for separation.

[http://urladdress Display name]
e.g.
[http://hevs.ch HES-SO//VS Webpage]

HES-SO//VS Webpage

File & Picture Upload

To upload a file click on the Upload File button that is located on the left panel. Your file must be smaller than 2MB and the extension must be authorized.

For the moment the authorized extensions are: png, gif, jpg, jpeg, pdf, zip, rar, tar, tgz, gz, txt, bash, config, vhdl, do

File Links

In order to download a file. It can be an image or any other type of authorized file.

Note: Double Brackets and | for separation with type Media.

[[Media:filename.extension|Display name]]
e.g.
[[Media:edawiki.jpg|Display name]]

Display name

Images

Note: Double Brackets and | for separation with type File.

[[File:filename.extension|options|caption]]
e.g.
[[File:edawiki.jpg|left|100px|EDA Wiki Logo left]]
[[File:edawiki.jpg|center|100px|EDA Wiki Logo center]]
[[File:edawiki.jpg|right|100px|EDA Wiki Logo right]]
[[File:edawiki.jpg|thumb|100px|EDA Wiki Logo thumbnail]]
[[File:edawiki.jpg|link=Help:Syntax|200px]]
EDA Wiki Logo left
EDA Wiki Logo center
EDA Wiki Logo right
EDA Wiki Logo thumbnail

Edawiki.jpg

Table of Content

To put the Table of Content (TOC) that the right side of the page write the following at the beginning of a page

{{TOC right}}

Categories

In order to put a page into a Category add the following line at the end of the page:

[[Category:Category name]]


To see a list of all available Categories see here.

Personal tools
Namespaces
Variants
Actions
Navigation
Browse
Toolbox