https://wiki.hevs.ch/ete/index.php5?title=Help:Syntax&feed=atom&action=historyHelp:Syntax - Revision history2024-03-29T15:23:20ZRevision history for this page on the wikiMediaWiki 1.18.1https://wiki.hevs.ch/ete/index.php5?title=Help:Syntax&diff=15&oldid=prevAdmin ete: Created page with "{{TOC right}} = Access Control = == Write Access == All pages are only editable with a granted Novell Account. See ListUsers for a list of all users. ==..."2014-07-21T08:20:12Z<p>Created page with "{{TOC right}} = Access Control = == Write Access == All pages are only editable with a granted Novell Account. See <a href="/ete/index.php5/Special:ListUsers" title="Special:ListUsers">ListUsers</a> for a list of all users. ==..."</p>
<p><b>New page</b></p><div>{{TOC right}}<br />
= Access Control =<br />
== Write Access ==<br />
All pages are only editable with a granted Novell Account. See [[Special:ListUsers|ListUsers]] for a list of all users.<br />
<br />
== Read Access ==<br />
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.<br />
<pre>{{private}}</pre><br />
This line is automatically added if a new page is created.<br />
<br />
for a page to be readable by everybody you can simply erase the <code><nowiki>{{private}}</nowiki></code> tag and/or add the following tag<br />
<pre>{{public}}</pre><br />
<br />
= Formatting =<br />
== Headings ==<br />
<pre><br />
= Heading 1 =<br />
== Heading 2 ==<br />
=== Heading 3 ===<br />
==== Heading 4 ====<br />
===== Heading 5 =====<br />
====== Heading 6 ======<br />
</pre><br />
= Heading 1 =<br />
== Heading 2 ==<br />
=== Heading 3 ===<br />
==== Heading 4 ====<br />
===== Heading 5 =====<br />
====== Heading 6 ======<br />
<br />
== Bold & Italic ==<br />
<pre><br />
'''This is a bold text'''<br />
</pre><br />
'''This is a bold text'''<br />
<pre><br />
''This is an italic text''<br />
</pre><br />
''This is an italic text''<br />
<pre><br />
'''''This is a bold & italic text'''''<br />
</pre><br />
'''''This is a bold & italic text'''''<br />
<br />
== Code ==<br />
=== Block Code ===<br />
<source lang="text"><br />
<pre><br />
Code formatted style here<br />
</pre><br />
</source><br />
<br />
<pre><br />
Code formatted style here<br />
</pre><br />
<br />
=== Inline code ===<br />
<pre><br />
<code> This is Inline code </code><br />
</pre><br />
<br />
<code> This is a Inline code </code><br />
<br />
=== Syntax Highlighting ===<br />
For syntax highlighted code see the [[Help:Extentions#Syntax_Highlighting_Geshi|Geshi Extension]].<br />
<br />
== No Wiki Markup ==<br />
<pre><br />
<nowiki><nowiki>Text ''without'' '''wiki''' markup</nowiki></nowiki><br />
</pre><br />
<nowiki>Text ''without'' '''wiki''' markup</nowiki><br />
<br />
== Lists ==<br />
=== Bullet list ===<br />
<pre><br />
* Start each line<br />
* with an [[Wikipedia:asterisk|asterisk]] (*).<br />
** More asterisks gives 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 gives 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 />
=== Numbered list ===<br />
<pre><br />
# Start each line<br />
# with a [[Wikipedia:Number_sign|number sign]] (#).<br />
## More number signs gives 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 ends the list.<br />
</pre><br />
<br />
# Start each line<br />
# with a [[Wikipedia:Number_sign|number sign]] (#).<br />
## More number signs gives 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 ends the list.<br />
<br />
== Indent ==<br />
<pre><br />
: Single indent<br />
:: Double indent<br />
::::: Multiple indent<br />
</pre><br />
<br />
: Single indent<br />
:: Double indent<br />
::::: Multiple indent<br />
<br />
== Tables ==<br />
{|class=wikitable<br />
|-<br />
|<nowiki>{|</nowiki> || <nowiki><table></nowiki> || '''Tabellenanfang'''<br />
|-<br />
|<nowiki>|+</nowiki> || <nowiki>&nbsp;</nowiki> || '''Tabellenüberschrift''', ''optional;'' nur einmal pro Tabelle zwischen Tabellenanfang und erster Zeile definierbar<br />
|-<br />
|<nowiki>|-</nowiki> || <nowiki><tr></nowiki> || neue '''Tabellenzeile'''<!-- , Unklar ''optional in der ersten Zeile'' -- wiki engine assumes the first row --><br />
|-<br />
|<nowiki>!</nowiki> || <nowiki><th></nowiki> || '''Tabellenkopfzelle''', ''optional.'' Aufeinanderfolgende Kopfzellen können, durch doppelte Ausrufezeichen (!!) getrennt, in der gleichen Zeile folgen oder mit einfachen Ausrufezeichen (!) auf einer neuen Zeile beginnen.<br />
|- <br />
|<nowiki>|</nowiki> || <nowiki><td></nowiki> || '''Tabellenzelle''', ''Pflicht!'' Aufeinanderfolgende Zellen können, durch doppelte Striche (<nowiki>||</nowiki>) getrennt, in der gleichen Zeile folgen oder mit einfachem Strich (<nowiki>|</nowiki>) auf einer neuen Zeile beginnen.<br />
|-<br />
|<nowiki>|}</nowiki> || <nowiki></table></nowiki> || '''Tabellenende'''<br />
|}<br />
<br />
<pre><br />
{|class=wikitable<br />
|-<br />
| Cell 1-1 || Cell 1-2 || Cell 1-3<br />
|-<br />
| Cell 2-1 || Cell 2-2 ||<br />
|- <br />
| Cell 3-1 || Cell 3-2<br />
|-<br />
| Cell 4<br />
|-<br />
|}<br />
</pre><br />
{|class=wikitable<br />
|-<br />
| Cell 1-1 || Cell 1-2 || Cell 1-3<br />
|-<br />
| Cell 2-1 || Cell 2-2 ||<br />
|- <br />
| Cell 3-1 || Cell 3-2<br />
|-<br />
| Cell 4<br />
|-<br />
|}<br />
<br />
== Links ==<br />
=== Internal Links ===<br />
'''Note: Double square brackets and | for separation.'''<br />
<pre><br />
[[Namelink|DisplayName]]<br />
e.g.<br />
[[Help:Extentions|Extention page]]<br />
</pre><br />
[[Help:Extentions|Extention page]]<br />
<br />
You can also omit the part after the separator and only the important part of the link will be displayed.<br />
<pre><br />
[[Help:Extentions|]]<br />
</pre><br />
[[Help:Extentions|Extentions]]<br />
=== External Links ===<br />
'''Note: Single square brackets and <space> for separation.'''<br />
<pre><br />
[http://urladdress Display name]<br />
e.g.<br />
[http://hevs.ch HES-SO//VS Webpage]<br />
</pre><br />
[http://hevs.ch HES-SO//VS Webpage]<br />
<br />
= File & Picture Upload =<br />
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.<br />
<br />
For the moment the authorized extensions are: png, gif, jpg, jpeg, pdf, zip, rar, tar, tgz, gz, txt, bash, config, vhdl, do<br />
<br />
== File Links ==<br />
In order to download a file. It can be an image or any other type of authorized file.<br />
<br />
'''Note: Double Brackets and | for separation with type ''Media''.'''<br />
<pre><br />
[[Media:filename.extension|Display name]]<br />
e.g.<br />
[[Media:wiki.jpg|Display name]]<br />
</pre><br />
[[Media:wiki.jpg|Display name]]<br />
<br />
== Images ==<br />
'''Note: Double Brackets and | for separation with type ''File''.'''<br />
<pre><br />
[[File:filename.extension|options|caption]]<br />
e.g.<br />
[[File:wiki.jpg|left|100px|Wiki Logo left]]<br />
[[File:wiki.jpg|center|100px|Wiki Logo center]]<br />
[[File:wiki.jpg|right|100px|Wiki Logo right]]<br />
[[File:wiki.jpg|thumb|100px|Wiki Logo thumbnail]]<br />
[[File:wiki.jpg|link=Help:Syntax|200px]]<br />
</pre><br />
[[File:wiki.jpg|left|100px|Wiki Logo left]]<br />
[[File:wiki.jpg|center|100px|Wiki Logo center]]<br />
[[File:wiki.jpg|right|100px|Wiki Logo right]]<br />
[[File:wiki.jpg|thumb|100px|Wiki Logo thumbnail]]<br />
[[File:wiki.jpg|link=Help:Syntax|200px]]<br />
<br />
=Templates=<br />
<br />
== Table of Content ==<br />
To put the Table of Content (TOC) that the right side of the page write the following at the beginning of a page<br />
<pre><br />
{{TOC right}}<br />
</pre><br />
<br />
== Navigation ==<br />
If somebody want to use some kind of Navigation inside pages, a template was created called <pre>nav</pre><br />
<br />
Use the put the pages you want to refer to into the appropriate parameters. If a parameter is not specified it will point to the [[Main_Page]].<br />
<br />
{|class=wikitable<br />
|-<br />
| Parameter || Description<br />
|-<br />
| left || Previous page<br />
|-<br />
| right || Next page<br />
|- <br />
| up || Parent page<br />
|-<br />
|}<br />
<br />
The detailed syntax is shown below.<br />
<br />
<pre><br />
{{nav|left=page/to/the/left|up=parent|right=page/to/the/right}}<br />
e.g.<br />
{{nav|up=Help:Contents|right=Help:Extentions}}<br />
</pre><br />
<br />
The above example will create following field:<br />
{{nav|up=Help:Contents|right=Help:Extentions}}<br />
<br />
==Floating Box==<br />
<br />
<pre>{{FloatBox|left|The title here|The content here}}</pre><br />
<br />
{{FloatBox|left|The title here|<br />
The content here<br />
}}<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
= Categories =<br />
In order to put a page into a Category add the following line at the end of the page:<br />
<pre><br />
[[Category:Category name]]<br />
</pre><br />
To see a list of all available Categories see [[Special:Categories|here]].<br />
<br />
<br />
[[Category:Help]]</div>Admin ete