Help:Editing: Difference between revisions

From Hattrick
Jump to navigationJump to search
Crazycompgeek (talk | contribs)
 
(18 intermediate revisions by 10 users not shown)
Line 1: Line 1:
== Wiki Editing ==
{{Help}}
Wikis are easy to edit, giving the user a wide array of options without having to learn any programming or markup languages.
Wikis are easy to edit, giving the user a wide array of options without having to learn any programming or markup languages.


== Editing Resources ==
== Editing Resources ==
# Use the [[Hattrick:Sandbox|Hattrick wiki sandbox]] to try out your editing skills.
# Use the [[Hattrick:Sandbox|Hattrick wiki sandbox]] to try out your editing skills.
# Start with [[Getting started]] to know more about editing in Hattrick wiki.
# Start with [[Getting started]] to know more about editing in Hattrick wiki.
# You can see more generic details in [[Help:Contents]].
# You can see more generic details in [[Help:Contents]].
# Detailed help for Editors can be found on the Wikimedia site: [http://meta.wikimedia.org/wiki/Help:Contents#For_editors Wikimedia for Editors].
# Detailed help for Editors can be found on the Wikimedia site: [http://meta.wikimedia.org/wiki/Help:Contents#For_editors Wikimedia for Editors] (due to the fact that they may have add-ons installed that aren't installed on the hattrick wiki, some features described there are possibly not available here).


== Short examples ==
== Short examples ==
The best way to see how an editing option works is to click ''edit'' at the top of any page (you should actually use the [[Hattrick:Sandbox|Sandbox]] for testing purposes) to see the source of the content to see how things are done.


The best example is to click EDIT at the top of any page to see the source of the content to see how things are done.
Some basic features:
 
* To create a list (like this one) just start every line with an asterisk: *
Some basic examples to get you going (click EDIT to see the source of how this is done):
* To create a numbered list, start each line with a hash: #
* To create a list (like this one) just start every line with an asterisk: *  
* To create a numbered list, start each line with a hash: #  
* ''Italic text'' is created by enclosing your text with two apostrophes: <nowiki>''Italic text''</nowiki>.
* ''Italic text'' is created by enclosing your text with two apostrophes: <nowiki>''Italic text''</nowiki>.
* '''Bold text''' is created by enclosing your text with three apostrophes: <nowiki>'''Bold text'''</nowiki>.
* '''Bold text''' is created by enclosing your text with three apostrophes: <nowiki>'''Bold text'''</nowiki>.
Line 25: Line 23:
In the left column of the table below, you can see what effects are possible. In the right column, you can see how those effects were achieved. In other words, to make text look like it looks in the left column, type it in the format you see in the right column.
In the left column of the table below, you can see what effects are possible. In the right column, you can see how those effects were achieved. In other words, to make text look like it looks in the left column, type it in the format you see in the right column.


You may want to keep this page open in a separate browser window for reference. If you want to try out things without danger of doing any harm, you can do so '''in the [[Hattrick:Sandbox|Sandbox]]'''.
You may want to keep this page open in a separate browser window for reference. If you want to try out things without danger of doing any harm, you can do so in the [[Hattrick:Sandbox|Sandbox]].


'''Note''': ''The more up to date version of the MediaWiki User's Guide (editing overview) can be found  
'''Note''': ''The more up to date version of the MediaWiki User's Guide (editing overview) can be found  
[http://meta.wikimedia.org/wiki/MediaWiki_User%27s_Guide:_Editing_overview here].''
[http://meta.wikimedia.org/wiki/MediaWiki_User%27s_Guide:_Editing_overview here].''


__TOC__
=== Sections, paragraphs, lists and lines ===
 
See: [[Help:Editing (sections, paragraphs, lists and lines)]].
===Sections, paragraphs, lists and lines===
This section has been moved to [[Help:Editing (sections, paragraphs, lists and lines)]].


=== Links and URLs ===
=== Links and URLs ===
This section has been moved to [[Help:Editing (links and URLs)]].
See: [[Help:Editing (links and URLs)]].


=== Images ===
* To upload an image, go to [[Special:Upload|Upload file]] link in the tools menu on the left side. Follow instructions to upload an image. When "Upload file" button is clicked, the image will be uploaded and redirect to the image page. Note the name of the page (will be used to added into other wiki pages).
* To view recently upload file, go to [[Special:Log/upload|Upload logs]] to view all the recently uploaded files.
* To reupload the image, go to the page of the image that is previously uploaded. If you forgot, find it in [[Special:Log/upload|Upload logs]]. Follow instruction to reupload the image. Any page with the image will be updated with the new image.


=== Images ===
{| border="1" cellpadding="2" cellspacing="0"
{| border="1" cellpadding="2" cellspacing="0"
|-
|-  
! What it looks like
! What it looks like
! What you type
! What you type
|- valign="top"
|- valign="top"
| A picture: [[Image:Wiki.png]]
|  
;A picture: [[File:Hattrick Wiki.jpg]]


or, with alternative text:
;or, with alternative text:
[[Image:Wiki.png|jigsaw globe]]
[[File:Hattrick Wiki.jpg]]


or, floating to the right side of the page and with a caption:
;or, floating to the right side of the page and with a caption:
[[Image:Wiki.png|frame|Wikipedia Encyclopedia]]<br clear=all>
[[File:Hattrick Wiki.jpg|frame|The Hattrick Wiki]]<br clear=all>


or, floating to the right side of the page ''without'' a caption:
;or, floating to the right side of the page ''without'' a caption:
[[Image:Wiki.png|right|Wikipedia Encyclopedia]]<br clear=all>
[[File:Hattrick Wiki.jpg|right|The Hattrick Wiki]]<br clear=all>


* Only images that have been uploaded to Wikipedia can be used. To upload images, use the [[Special:Upload|upload page]]. You can find the uploaded image on the [[Special:Imagelist|image list]].
* Only images that have been uploaded to Hattrick Wiki can be used. To upload images, use the [[Special:Upload|upload page]]. You can find the uploaded image on the [[Special:Imagelist|image list]].
* See the [[Wikipedia:Image use policy|image use policy]], [[Wikipedia:Image markup|extended image markup/syntax]] (also possibly [[Wikipedia:Image markup with HTML|image HTML markup]]) for more hints.
* See the [[Hattrick:Image policy|image policy]] for more information.
* Alternative text, used when the image isn't loaded, in a text-only browser, or when spoken aloud, is '''strongly''' encouraged. See [[Wikipedia:Alternate text for images|Alternate text for images]] for help on choosing it.
* Alternative text, used when the image isn't loaded or in a text-only browser, is '''strongly''' encouraged.
* The frame tag automatically floats the image right.
* The frame tag automatically floats the image right.
| <pre><nowiki>
| <pre><nowiki>
A picture: [[Image:Wiki.png]]</nowiki>
A picture: [[Image:Wiki.png]]</nowiki>
 
</pre><br><br><br><br><br><br><br><br><br><pre>
or, with alternative text:
or, with alternative text:
<nowiki>[[Image:Wiki.png|jigsaw globe]]</nowiki>
<nowiki>[[Image:Wiki.png|The Hattrick Wiki]]</nowiki>
 
</pre><br><br><br><br><br><br><br><br><br><pre>
or, floating to the right side of the page and with a caption:
or, floating to the right side of the page and with a caption:
<nowiki>[[Image:Wiki.png|frame|Wikipedia Encyclopedia]]</nowiki>
<nowiki>[[Image:Wiki.png|frame|The Hattrick Wiki]]</nowiki>
 
</pre><br><br><br><br><br><br><br><br><pre>
or, floating to the right side of the page ''without'' a caption:
or, floating to the right side of the page ''without'' a caption:
<nowiki>[[Image:Wiki.png|right|Wikipedia Encyclopedia]]</nowiki></pre>
<nowiki>[[Image:Wiki.png|right|The Hattrick Wiki]]</nowiki></pre>
|-
|-
|
|
Line 79: Line 79:
</nowiki></pre>
</nowiki></pre>
|-
|-
|
To include links to images shown as links instead of drawn on the page, use a "media" link.
<br/>[[media:Tornado.jpg|Image of a Tornado]]
|
<pre>
<nowiki>
[[media:Tornado.jpg|Image of a Tornado]]
</nowiki></pre>
|}
|}


[[http://davte.info/library/html/quam-mirabilis.htm quam mirabilis]] [[http://saibso.org/vacanza-lavoro.htm vacanza lavoro]] [[http://amohseni.info/img/styles/its-a/ its a kind of magic]] [[http://amohseni.info/img/styles/gary-oldman/ gary oldman foto]] [[http://nobinters.org/wolfgang-amadeus.htm wolfgang amadeus mozart il flauto]] [[http://helmed.info/topic/diffusori-da/ diffusori da esterno]] [[http://kinunia.cn/leccami.htm leccami]] [[http://helmed.info/topic/www-mls/ www mls com]] [[http://ashythro.info/library/html/zafferano-bicchieri/ zafferano bicchieri]] [[http://ustall.org/web/zoran-jelenkovic.htm zoran jelenkovic]] [[http://amohseni.info/img/styles/tv-studio/ tv studio pctv]] [[http://bloprofeldi.info/lib/ati-fire.htm ati fire]] [[http://chaba.info/incanto-classic/ incanto classic saeco]] [[http://bloprofeldi.info/lib/risultati-motomondiale.htm risultati motomondiale 2004]] [[http://chaba.info/km-mitsubishi/ km0 mitsubishi pajero sport auto km 0]] [[http://bloprofeldi.info/lib/schede-madri.htm schede madri asus p4p800s]] [[http://saibso.org/sigma.htm sigma 12-24]] [[http://nobinters.org/sn-una.htm sn una tettona]] [[http://saibso.org/cittadinanza.htm cittadinanza]] [[http://psisemiya.com/images/small/canon-lbp/ canon lbp 2000 toner]] [[http://davte.info/library/html/microfono-ps.htm microfono ps2]] [[http://saibso.org/chi-ha.htm chi ha vinto piu coppe al mondo calcio]] [[http://ustall.org/web/dinotopia.htm dinotopia]] [[http://chaba.info/tablet-pc/ tablet pc 12 1 hp]] [[http://psisemiya.com/images/small/manifesto-ringraziamenti/ manifesto ringraziamenti]] [[http://chaba.info/fiat-coupe/ fiat coupe 1 8 turbo]] [[http://nobinters.org/nh-hotel.htm nh hotel]] [[http://bloprofeldi.info/lib/chacker.htm chacker]] [[http://ustall.org/web/soho-square.htm soho square]] [[http://ashythro.info/library/html/erikson-e/ erikson e la crisi psico sociale]] [[http://ustall.org/web/gioco-all.htm gioco all aperto bambino]] [[http://davte.info/library/html/minolta-toner.htm minolta toner]] [[http://nobinters.org/cuffie-wireless.htm cuffie wireless dolby digital]] [[http://helmed.info/topic/il-libro/ il libro della]] [[http://chaba.info/aldo-giovanni/ aldo giovanni e giacomo]] [[http://psisemiya.com/images/small/volo-aereo/ volo aereo palermo lampedusa]] [[http://helmed.info/topic/iraq/ iraq]] [[http://ustall.org/web/fotos-ivy.htm fotos ivy queen]] [[http://ustall.org/web/loona-bailando.htm loona bailando]] [[http://chaba.info/pulitore-vapore/ pulitore vapore]] [[http://psisemiya.com/images/small/smallville-kristin/ smallville kristin kreuk nuda]] [[http://psisemiya.com/images/small/fax-l/ fax 3310l]] [[http://saibso.org/prestito-bruxelles.htm prestito bruxelles]] [[http://kinunia.cn/bepi-koelliker.htm bepi koelliker]] [[http://saibso.org/regali-per.htm regali per casa]] [[http://amohseni.info/img/styles/dpr-/ dpr 686 del 3 5 1957]] [[http://helmed.info/topic/yety-sport/ yety sport 5]] [[http://helmed.info/topic/rrufeja/ rrufeja]] [[http://bloprofeldi.info/lib/toyota-mantova.htm toyota mantova]] [[http://nobinters.org/velodyne-vx.htm velodyne vx10]] [[http://saibso.org/camera-villorba.htm camera villorba]] [[http://ashythro.info/library/html/www-canzoni/ www canzoni di leone di lernia it]] [[http://kinunia.cn/foto-camera.htm foto camera digitale online]] [[http://amohseni.info/img/styles/olimpia-splendid/ olimpia splendid deumidificatore]] [[http://amohseni.info/img/styles/batterie-samsung/ batterie samsung e800]] [[http://kinunia.cn/ecco.htm ecco]] [[http://helmed.info/topic/i-cieli/ i cieli del mito libri]] [[http://bloprofeldi.info/lib/casper-slide.htm casper slide]] [[http://ustall.org/web/la-macchina.htm la macchina nera]] [[http://bloprofeldi.info/lib/kingston-ddr.htm kingston ddr sodimm]] [[http://helmed.info/topic/fromage-frais/ fromage frais]] [[http://nobinters.org/invernali.htm invernali]] [[http://nobinters.org/ninne-nanne.htm ninne nanne in italiano]] [[http://amohseni.info/img/styles/esce-il/ esce il drago entra la tigre]] [[http://psisemiya.com/images/small/peretta/ peretta]] [[http://chaba.info/volkswagen-fox/ volkswagen fox diesel]] [[http://kinunia.cn/dori-ghezzi.htm dori ghezzi wess]] [[http://psisemiya.com/images/small/cantautore/ cantautore]] [[http://saibso.org/garmin-gps.htm garmin gps iii]] [[http://ustall.org/web/seks-vidoe.htm seks vidoe]] [[http://helmed.info/topic/corpi/ corpi]] [[http://davte.info/library/html/vogliamoci-tanto.htm vogliamoci tanto bene]] [[http://ustall.org/web/lalbero-delle.htm lalbero delle pere]] [[http://amohseni.info/img/styles/the-biggest/ the biggest black cock]] [[http://saibso.org/un-grande.htm un grande amore]] [[http://amohseni.info/img/styles/picrite/ picrite]] [[http://bloprofeldi.info/lib/star-wars.htm star wars. clone wars. vol. 01]] [[http://kinunia.cn/jogos-da.htm jogos da playboy]] [[http://saibso.org/nike-calcio.htm nike calcio]] [[http://chaba.info/ecco-la/ ecco la demo di age of empires iii]] [[http://amohseni.info/img/styles/la-camera/ la camera della morte]] [[http://ustall.org/web/terratec-aureon.htm terratec aureon universe 7 1]] [[http://saibso.org/dvdrw-.htm dvd-rw 9 4 gb]] [[http://psisemiya.com/images/small/internet-a/ internet a passo di lumaca]] [[http://ashythro.info/library/html/piastra-per/ piastra per bistecchiera]] [[http://saibso.org/piscina-di.htm piscina di antegnate]] [[http://amohseni.info/img/styles/appendici-carrelli/ appendici carrelli]] [[http://nobinters.org/www-lady.htm www lady web it]] [[http://ashythro.info/library/html/guri-quarta/ guri quarta serie speciale 13 dicembre 2]] [[http://psisemiya.com/images/small/hub-/ hub 5 porte ethernet]] [[http://davte.info/library/html/rod.htm rod]] [[http://bloprofeldi.info/lib/usted-de.htm usted de diego torres]] [[http://psisemiya.com/images/small/olivetti-logos/ olivetti logos 682 s]] [[http://helmed.info/topic/piatti-in/ piatti in vetro]] [[http://psisemiya.com/images/small/trottolino/ trottolino]] [[http://helmed.info/topic/hp/ hp 200]] [[http://chaba.info/todo-lo/ todo lo que hago lo hago por ti]] [[http://kinunia.cn/sale-marino.htm sale marino integrale]] [[http://chaba.info/testo-voglia/ testo voglia di dance all night]] [[http://nobinters.org/kit-cp.htm kit cp 100]] [[http://psisemiya.com/images/small/film-erotici/ film erotici]] [[http://bloprofeldi.info/lib/helena-figo.htm helena figo sexy]] [[http://helmed.info/topic/orbs/ orbs]] [[http://psisemiya.com/images/small/athlon/ athlon 64 939 3000]] [[http://ashythro.info/library/html/pieces-de/ pieces de rechange]] [[http://chaba.info/processori-intel/ processori intel pentium 4 prescott]] [[http://davte.info/library/html/foto-naziskin.htm foto naziskin]] [[http://kinunia.cn/tocuh.htm tocuh]] [[http://ashythro.info/library/html/santo-antonio/ santo antonio]] [[http://saibso.org/pisa-san.htm pisa san francisco biglietti aerei]] [[http://davte.info/library/html/gamepad-pc.htm gamepad pc saitek]] [[http://bloprofeldi.info/lib/tarantelle-pugliesi.htm tarantelle pugliesi]] [[http://davte.info/library/html/breezin.htm breezin]] [[http://kinunia.cn/gamepad-joystick.htm gamepad joystick]] [[http://davte.info/library/html/hotel-centrale.htm hotel centrale jesolo]] [[http://bloprofeldi.info/lib/fotos-garotas.htm fotos garotas nuas]] [[http://kinunia.cn/navigatore-gps.htm navigatore gps blaupunkt]] [[http://davte.info/library/html/grimaudo.htm grimaudo]] [[http://helmed.info/topic/piastre-intercambiabili/ piastre intercambiabili]] [[http://saibso.org/cranberries-zombi.htm cranberries zombi]] [[http://davte.info/library/html/chat-gay.htm chat gay roma gratis]] [[http://kinunia.cn/bey.htm bey]] [[http://amohseni.info/img/styles/usb-sharp/ usb sharp gx30]] [[http://kinunia.cn/extremo.htm extremo]] [[http://psisemiya.com/images/small/mina-in/ mina in studio]] [[http://kinunia.cn/audi-a.htm audi a3 1.6]] [[http://ashythro.info/library/html/calciatore-nudo/ calciatore nudo]] [[http://psisemiya.com/images/small/lampade-risparmio/ lampade risparmio energetico]] [[http://helmed.info/topic/handel-cd/ handel cd]] [[http://chaba.info/logitech-premium/ logitech premium usb headset 350]] [[http://amohseni.info/img/styles/kuman/ kuman]] [[http://nobinters.org/mi-manchi.htm mi manchi pooh]] [[http://davte.info/library/html/dvd-x.htm dvd 8x princo]] [[http://ashythro.info/library/html/yonis/ yonis]] [[http://davte.info/library/html/musica-per.htm musica per i tuoi sogni]] [[http://ustall.org/web/pirandello-l.htm pirandello l esclusa]] [[http://amohseni.info/img/styles/piscine-montichiari/ piscine montichiari]] [[http://psisemiya.com/images/small/rex-rd/ rex rd 185 dx]] [[http://saibso.org/wwwpetardas-con.htm wwwpetardas con]] [[http://davte.info/library/html/cardim-fernao.htm cardim, fernao]] [[http://saibso.org/set-lettino.htm set lettino]] [[http://bloprofeldi.info/lib/bando-straordinario.htm bando straordinario 19 12 2005 servizio civile]] [[http://kinunia.cn/silke.htm silke]] [[http://nobinters.org/www-google.htm www google ro]] [[http://davte.info/library/html/europa-grecia.htm europa grecia isola]] [[http://kinunia.cn/ibm-t.htm ibm t43]] [[http://chaba.info/foto-di/ foto di pantere]] [[http://chaba.info/www-robertobaggio/ www robertobaggio it]] [[http://davte.info/library/html/zorro-alla.htm zorro alla corte di spagna]] [[http://amohseni.info/img/styles/drow/ drow]] [[http://kinunia.cn/wavelenght.htm wavelenght]] [[http://saibso.org/schema-fattura.htm schema fattura]] [[http://bloprofeldi.info/lib/infradito-sandali.htm infradito sandali]] [[http://nobinters.org/dichiarazione-dei.htm dichiarazione dei rediti]] [[http://amohseni.info/img/styles/sia-di/ sia di fornaci]] [[http://psisemiya.com/images/small/frankfurt-an/ frankfurt an der oder]] [[http://saibso.org/fz.htm fz 61 1]] [[http://davte.info/library/html/primi-denunciati.htm primi denunciati]] [[http://psisemiya.com/images/small/tu-soltanto/ tu soltanto tu]] [[http://davte.info/library/html/delta-v.htm delta v via da qui mp3]] [[http://amohseni.info/img/styles/preromanticismo/ preromanticismo]] [[http://saibso.org/il-pingpong.htm il pingpong]] [[http://psisemiya.com/images/small/arctic-cooling/ arctic cooling nv silencer 5]] [[http://helmed.info/topic/heroin/ heroin]] [[http://ashythro.info/library/html/labtec-mouse/ labtec mouse optical]] [[http://nobinters.org/big-girls.htm big girls]] [[http://nobinters.org/www-canzoni.htm www canzoni da scaricare it]] [[http://nobinters.org/grandmaster-flash.htm grandmaster flash]] [[http://nobinters.org/belle-di.htm belle di notre dame de paris]] [[http://nobinters.org/ocktoberfest.htm ocktoberfest]] [[http://nobinters.org/un-emozione.htm un emozione da poco anna oxa]] [[http://nobinters.org/love-lina.htm love lina]] [[http://davte.info/library/html/modem-.htm modem 56 interno xp]] [[http://kinunia.cn/crimsom-rooom.htm crimsom rooom]] [[http://ustall.org/web/dvd-rip.htm dvd rip]] [[http://ashythro.info/library/html/numer/ numer]] [[http://helmed.info/topic/barzallette-cattive/ barzallette cattive]] [[http://chaba.info/colin-mcrea/ colin mcrea rally 2]] [[http://kinunia.cn/classiche-napoletane.htm classiche napoletane]] [[http://chaba.info/byblos-terra/ byblos terra]] [[http://nobinters.org/stampante-epson.htm stampante epson stylus pro 4000]] [[http://saibso.org/chu-mei.htm chu mei]] [[http://amohseni.info/img/styles/andrews-virginia/ andrews virginia libri]] [[http://chaba.info/fliston/ fliston]] [[http://saibso.org/fortuna-slim.htm fortuna slim bluetooth]] [[http://nobinters.org/la-canzone.htm la canzone dei vecchi amanti]] [[http://nobinters.org/photos-colocataires.htm photos colocataires m6]] [[http://helmed.info/topic/ef-/ ef 100 macro]] [[http://amohseni.info/img/styles/grow/ grow2]] [[http://kinunia.cn/kaoma-video.htm kaoma video lambada]] [[http://davte.info/library/html/a-scuola.htm a scuola dallo sciamano]] [[http://chaba.info/harrrdito/ harrrdito]] [[http://bloprofeldi.info/lib/duello-nel.htm duello nel ventre della terra]] [[http://amohseni.info/img/styles/samira-saeed/ samira saeed]] [[http://amohseni.info/img/styles/aspirapolvere/ aspirapolvere 1400]] [[http://ustall.org/web/notebook-toshiba.htm notebook toshiba libretto u100]] [[http://davte.info/library/html/la-tani.htm la tani]] [[http://davte.info/library/html/free-sheet.htm free sheet music everybody is changing]] [[http://nobinters.org/cafe.htm cafe1930]] [[http://kinunia.cn/telefonia-fissa.htm telefonia fissa]] === Character formatting ===
=== Character formatting ===
{| border="1" cellpadding="2" cellspacing="0"
{| border="1" cellpadding="2" cellspacing="0"
|- valign="top"
|- valign="top"
Line 107: Line 96:
|- valign="top"
|- valign="top"
|
|
<math>\sin x  \ln y</math><br>
A typewriter font for <tt>monospace text</tt>
sin''x''   ln''y''
or for computer code: <code>int main()</code>
<!-- no space between roman "sin" and italic "x" -->
 
* For semantic reasons, using <code>&lt;code&gt;</code> where applicable is preferable to using <code>&lt;tt&gt;</code>.
|
<pre><nowiki>
A typewriter font for <tt>monospace text</tt>
or for computer code: <code>int main()</code>
</nowiki></pre>
|- valign="top"
|
You can use <small>small text</small> for captions.
|
<pre><nowiki>
You can use <small>small text</small> for captions.
</nowiki></pre>
|- valign="top"
|
You can <s>strike out deleted material</s>
and <u>underline new material</u>.
 
You can also mark <del>deleted material</del> and
<ins>inserted material</ins> using logical markup
rather than visual markup.
 
* When editing regular Wikipedia articles, just make your changes and don't mark them up in any special way.
* When editing your own previous remarks in talk pages, it is sometimes appropriate to mark up deleted or inserted material.
|
<pre><nowiki>
You can <s>strike out deleted material</s>
and <u>underline new material</u>.
 
You can also mark <del>deleted material</del> and
<ins>inserted material</ins> using logical markup
rather than visual markup.
</nowiki></pre>
|- valign="top"
|
'''Diacritical marks:'''
<br/>
è é ê ë ì í
 
À Á Â Ã Ä Å <br/>
Æ Ç È É Ê Ë <br/>
Ì Í
Î Ï Ñ Ò <br/>
Ó Ô Õ
Ö Ø Ù <br/>
Ú Û Ü ß
à á <br/>
â ã ä å æ
ç <br/>
è é ê ë ì í<br/>
î ï ñ ò ó ô <br/>
&oelig; õ
ö ø ù ú <br/>
û ü ÿ
|
<br/>
<pre><nowiki>
è é ê ë ì í
 
&amp;Agrave; &amp;Aacute; &amp;Acirc; &amp;Atilde; &amp;Auml; &amp;Aring;
&amp;AElig; &amp;Ccedil; &amp;Egrave; &amp;Eacute; &amp;Ecirc; &amp;Euml;
&amp;Igrave; &amp;Iacute; &amp;Icirc; &amp;Iuml; &amp;Ntilde; &amp;Ograve;
&amp;Oacute; &amp;Ocirc; &amp;Otilde; &amp;Ouml; &amp;Oslash; &amp;Ugrave;
&amp;Uacute; &amp;Ucirc; &amp;Uuml; &amp;szlig; &amp;agrave; &amp;aacute;
&amp;acirc; &amp;atilde; &amp;auml; &amp;aring; &amp;aelig; &amp;ccedil;
&amp;egrave; &amp;eacute; &amp;ecirc; &amp;euml; &amp;igrave; &amp;iacute;
&amp;icirc; &amp;iuml; &amp;ntilde; &amp;ograve; &amp;oacute; &amp;ocirc;
&amp;oelig; &amp;otilde; &amp;ouml; &amp;oslash; &amp;ugrave; &amp;uacute;
&amp;ucirc; &amp;uuml; &amp;yuml;
</nowiki></pre>
|- valign="top"
|
'''Punctuation:'''
<br/>
¿ ¡ § ¶<br/>
&dagger; &Dagger; &bull; &ndash; &mdash;<br/>
&lsaquo; &rsaquo; « »<br/>
&lsquo; &rsquo; &ldquo; &rdquo;
|
<br/>
<pre><nowiki>
&amp;iquest; &amp;iexcl; &amp;sect; &amp;para;
&amp;dagger; &amp;Dagger; &amp;bull; &amp;ndash; &amp;mdash;
&amp;lsaquo; &amp;rsaquo; &amp;laquo; &amp;raquo;
&amp;lsquo; &amp;rsquo; &amp;ldquo; &amp;rdquo;
</nowiki></pre>
|- valign="top"
|
'''Commercial symbols:'''
<br/>
&trade; © ® ¢ &euro; ¥<br/>
£ ¤
|
<br/>
<pre><nowiki>
&amp;trade; &amp;copy; &amp;reg; &amp;cent; &amp;euro; &amp;yen;
&amp;pound; &amp;curren;
</nowiki></pre>
|- valign="top"
|
'''Subscripts:'''
<br/>
x<sub>1</sub> x<sub>2</sub> x<sub>3</sub>
 
'''Superscripts:'''
<br/>
x<sup>1</sup> x<sup>2</sup> x<sup>3</sup>
or x&sup1; x&sup2; x&sup3;
*The latter method of superscripting can't be used in the most general context, but is preferred when possible (as with units of measurement) because most browsers have an easier time formatting lines with it.
 
&epsilon;<sub>0</sub> =
8.85 &times; 10<sup>&minus;12</sup>
C&sup2; / J m.
 
1 hectare = 1 E4 m&sup2;
|
<br/>
<pre><nowiki>
x<sub>1</sub> x<sub>2</sub> x<sub>3</sub>
</nowiki></pre>


<math>\mathbf{x} = 0</math><br>
<pre><nowiki>
'''x''' = 0
x<sup>1</sup> x<sup>2</sup> x<sup>3</sup>
or x&amp;sup1; x&amp;sup2; x&amp;sup3;


Ordinary text should use [[#emph|wiki markup for emphasis]], and should not use <code>
&amp;epsilon;<sub>0</sub> =
8.85 &amp;times; 10<sup>&amp;minus;12</sup>
C&amp;sup2; / J m.


=== Tables ===
1 [[hectare]] = [[1 E4 m&amp;sup2;]]
==== Placement of the Table of Contents (TOC) ====
</nowiki></pre>
At the current status of the wiki markup language, having at least four headers on a page triggers the TOC to appear in front of the first header (or after introductory sections).  Putting <nowiki>__TOC__</nowiki> anywhere forces the TOC to appear at that point (instead of just before the first header). Putting <nowiki>__NOTOC__</nowiki> anywhere forces the TOC to disappear.  See also [[Wikipedia:Section#Compact_TOC|compact TOC]] for alphabet and year headings.
|- valign="top"
|
'''Greek characters:'''
<br/>
&alpha; &beta; &gamma; &delta; &epsilon; &zeta;<br/>
&eta; &theta; &iota; &kappa; &lambda; &mu; &nu;<br/>
&xi; &omicron; &pi; &rho; &sigma; &sigmaf;<br/>
&tau; &upsilon; &phi; &chi; &psi; &omega;<br/>
&Gamma; &Delta; &Theta; &Lambda; &Xi; &Pi;<br/>
&Sigma; &Phi; &Psi; &Omega;
|
<br/>
<pre><nowiki>
&amp;alpha; &amp;beta; &amp;gamma; &amp;delta; &amp;epsilon; &amp;zeta;
&amp;eta; &amp;theta; &amp;iota; &amp;kappa; &amp;lambda; &amp;mu; &amp;nu;
&amp;xi; &amp;omicron; &amp;pi; &amp;rho; &amp;sigma; &amp;sigmaf;
&amp;tau; &amp;upsilon; &amp;phi; &amp;chi; &amp;psi; &amp;omega;
&amp;Gamma; &amp;Delta; &amp;Theta; &amp;Lambda; &amp;Xi; &amp;Pi;
&amp;Sigma; &amp;Phi; &amp;Psi; &amp;Omega;
</nowiki></pre>
|- valign="top"
|
'''Math characters:'''
<br/>
&int; &sum; &prod; &radic; &minus; &plusmn; &infin;<br/>
&asymp; &prop; &equiv; &ne; &le; &ge; &rarr;<br/>
&times; &middot; &divide; &part; &prime; &Prime;<br/>
&nabla; &permil; &deg; &there4; &alefsym; &oslash;<br/>
&isin; &notin; &cap; &cup; &sub; &sup; &sube; &supe;<br/>
&not; &and; &or; &exist; &forall; &rArr; &hArr;<br/>
&rarr; &harr;<br/>
|
<br/>
<pre><nowiki>
&amp;int; &amp;sum; &amp;prod; &amp;radic; &amp;minus; &amp;plusmn; &amp;infin;
&amp;asymp; &amp;prop; &amp;equiv; &amp;ne; &amp;le; &amp;ge; &amp;rarr;
&amp;times; &amp;middot; &amp;divide; &amp;part; &amp;prime; &amp;Prime;
&amp;nabla; &amp;permil; &amp;deg; &amp;there4; &amp;alefsym; &amp;oslash;
&amp;isin; &amp;notin; &amp;cap; &amp;cup; &amp;sub; &amp;sup; &amp;sube; &amp;supe;
&amp;not; &amp;and; &amp;or; &amp;exist; &amp;forall; &amp;rArr; &amp;hArr;
&amp;rarr; &amp;harr;
</nowiki></pre>
|- valign="top"
|
'''Suppressing interpretation of markup:'''
<br/>
<nowiki>Link &rarr; (''to'') the [[Main Page]]</nowiki>
* Used to show literal data that would otherwise have special meaning.
* Escape all wiki markup, including that which looks like HTML tags.
* Does not escape HTML character references.
* To escape HTML character references such as <tt>&amp;rarr;</tt> use <tt>&amp;amp;rarr;</tt>
|
<br/>
<pre><nowiki>
&lt;nowiki>Link &amp;rarr; (''to'')
the [[Wikipedia FAQ]]&lt;/nowiki>
</nowiki></pre>
|- valign="top"
|
'''Commenting page source:'''
<br/>
''not shown when viewing page''
* Used to leave comments in a page for future editors.
* Note that most comments should go on the appropriate Talk page.
|
<br/>
<pre><nowiki>
&lt;!-- comment here -->
</nowiki></pre>
|}


==== Keeping headings out of the Table of Contents ====
==== Table of Contents (TOC) ====
At the current status of the wiki markup language, having at least four headers on a page triggers the TOC to appear in front of the first header (or after introductory sections).  Putting <nowiki>__TOC__</nowiki> anywhere forces the TOC to appear at that point (instead of just before the first header). Putting <nowiki>__NOTOC__</nowiki> anywhere forces the TOC to disappear.


If you want some subheadings to not appear in the Table of Contents, then make the following replacements.
If you want some subheadings to not appear in the Table of Contents, then make the following replacements.
Line 138: Line 320:
<nowiki><h4> This header has the h4 font, but is NOT in the Table of Contents </h4></nowiki>
<nowiki><h4> This header has the h4 font, but is NOT in the Table of Contents </h4></nowiki>


===Variables===
=== Tables ===
There are two ways to build tables:
* in special Wiki-markup (see [http://meta.wikimedia.org/wiki/Help:Table Tables])
* with the usual HTML elements: &lt;table&gt;, &lt;tr&gt;, &lt;td&gt; or &lt;th&gt;.
The use of the latter has to be avoided if ever possible.


''(See also [[m:Help:Variable]])''
=== Variables ===
 
''(See also [[Hattrick:Variable]])''
{|
{|
|-
|-
Line 173: Line 361:
|-
|-
| <nowiki>{{localurl:</nowiki>''Wikipedia:Sandbox''<nowiki>|action=edit}}</nowiki>
| <nowiki>{{localurl:</nowiki>''Wikipedia:Sandbox''<nowiki>|action=edit}}</nowiki>
| {{localurl:Wikipedia:Sandbox|action=edit}}
| {{localurl:Special:Sandbox|action=edit}}
|-
|-
| <nowiki>{{SERVER}}</nowiki> || {{SERVER}}
| <nowiki>{{SERVER}}</nowiki> || {{SERVER}}
Line 209: Line 397:
| <nowiki>{{SITENAME}}</nowiki> || {{SITENAME}}
| <nowiki>{{SITENAME}}</nowiki> || {{SITENAME}}
|}
|}
'''NUMBEROFARTICLES''' is the number of pages in the main namespace which contain a link and are not a redirect, i.e. number of articles, stubs containing a link, and disambiguation pages.
'''NUMBEROFARTICLES''' is the number of pages in the main namespace which contain a link and are not a redirect, i.e. number of articles, stubs containing a link, and disambiguation pages.


===Templates===
=== Templates ===
 
The [http://en.wikipedia.org/wiki/Media_Wiki MediaWiki] software used by Hattrick Wiki has limited support for template inclusion. This means standardised text chunks (such as boilerplate text) can be inserted into articles. For example, typing <nowiki>{{stub}}</nowiki> will appear as "''This article is a [http://en.wikipedia.org/wiki/Wikipedia:The_perfect_stub_article stub]. You can help Hattrick by expanding it.''" when the page is saved. See [[Hattrick:Template messages]] for a list of the most common messages.
The [http://en.wikipedia.org/wiki/Media_Wiki MediaWiki] software used by [[Main Page|Hattrick wiki]] has limited support for template inclusion. This means standardized text chunks (such as boilerplate text) can be inserted into articles. For example, typing <nowiki>{{stub}}</nowiki> will appear as "''This article is a [http://en.wikipedia.org/wiki/Wikipedia:The_perfect_stub_article stub]. You can help Hattrick by [[Hattrick:Find or fix a stub|expanding it]].''" when the page is saved. See [[Hattrick:Template messages]] for the complete list. Other commonly used ones are: <nowiki>{{disambig}}</nowiki> for disambiguation pages, <nowiki>{{spoiler}}</nowiki> for spoiler warnings and <nowiki>{{sectstub}}</nowiki> like an article stub but for a section. The are many subject-specific stubs e.g.: <nowiki> {{stub-country}} and {{stub-region}}</nowiki>. For a complete list of stubs see [[Hattrick:Template messages/Stubs]].


===Hiding the edit links===
=== Hiding the edit links ===
Insert '''<nowiki>__NOEDITSECTION__</nowiki>''' into the document to suppress the edit links that appear next to every section header. This shouldn't be done if possible, since it's better for the server if only one section is edited and since people shouldn't be discouraged from contributing.


Insert '''<nowiki>__NOEDITSECTION__</nowiki>''' into the document to suppress the edit links that appear next to every section header.
[[Category:Hattrick Wiki Help|Editing]]

Latest revision as of 17:56, 11 May 2025

Help section
The Start
Further help and reading

Wikis are easy to edit, giving the user a wide array of options without having to learn any programming or markup languages.

Editing Resources

  1. Use the Hattrick wiki sandbox to try out your editing skills.
  2. Start with Getting started to know more about editing in Hattrick wiki.
  3. You can see more generic details in Help:Contents.
  4. Detailed help for Editors can be found on the Wikimedia site: Wikimedia for Editors (due to the fact that they may have add-ons installed that aren't installed on the hattrick wiki, some features described there are possibly not available here).

Short examples

The best way to see how an editing option works is to click edit at the top of any page (you should actually use the Sandbox for testing purposes) to see the source of the content to see how things are done.

Some basic features:

  • To create a list (like this one) just start every line with an asterisk: *
  • To create a numbered list, start each line with a hash: #
  • Italic text is created by enclosing your text with two apostrophes: ''Italic text''.
  • Bold text is created by enclosing your text with three apostrophes: '''Bold text'''.
  • To create a link to something inside the Wiki, just enclose the page name in 2 sets of square brackets My Hattrick: [[My Hattrick]]
  • To create a link to something outside the Wiki, enclose the URL 1 set of square brackets: Hattrick
  • To write titles, sections... put 2 or more equals signs at the start and the end of the line: ==Short Examples==.

The wiki markup

In the left column of the table below, you can see what effects are possible. In the right column, you can see how those effects were achieved. In other words, to make text look like it looks in the left column, type it in the format you see in the right column.

You may want to keep this page open in a separate browser window for reference. If you want to try out things without danger of doing any harm, you can do so in the Sandbox.

Note: The more up to date version of the MediaWiki User's Guide (editing overview) can be found here.

Sections, paragraphs, lists and lines

See: Help:Editing (sections, paragraphs, lists and lines).

Links and URLs

See: Help:Editing (links and URLs).

Images

  • To upload an image, go to Upload file link in the tools menu on the left side. Follow instructions to upload an image. When "Upload file" button is clicked, the image will be uploaded and redirect to the image page. Note the name of the page (will be used to added into other wiki pages).
  • To view recently upload file, go to Upload logs to view all the recently uploaded files.
  • To reupload the image, go to the page of the image that is previously uploaded. If you forgot, find it in Upload logs. Follow instruction to reupload the image. Any page with the image will be updated with the new image.
What it looks like What you type
A picture
or, with alternative text

or, floating to the right side of the page and with a caption
The Hattrick Wiki

or, floating to the right side of the page without a caption
The Hattrick Wiki
The Hattrick Wiki

  • Only images that have been uploaded to Hattrick Wiki can be used. To upload images, use the upload page. You can find the uploaded image on the image list.
  • See the image policy for more information.
  • Alternative text, used when the image isn't loaded or in a text-only browser, is strongly encouraged.
  • The frame tag automatically floats the image right.
A picture: [[Image:Wiki.png]]









or, with alternative text: [[Image:Wiki.png|The Hattrick Wiki]]










or, floating to the right side of the page and with a caption: [[Image:Wiki.png|frame|The Hattrick Wiki]]









or, floating to the right side of the page ''without'' a caption:

[[Image:Wiki.png|right|The Hattrick Wiki]]

Clicking on an uploaded image displays a description page, which you can also link directly to: Image:Wiki.png


[[:Image:Wiki.png]]

Character formatting

What it looks like What you type

Emphasize, strongly, very strongly.

  • These are double and triple apostrophes (single-quote marks), not double-quote marks.
''Emphasize'', '''strongly''', '''''very strongly'''''.

A typewriter font for monospace text or for computer code: int main()

  • For semantic reasons, using <code> where applicable is preferable to using <tt>.
A typewriter font for <tt>monospace text</tt>
or for computer code: <code>int main()</code>

You can use small text for captions.

You can use <small>small text</small> for captions.

You can strike out deleted material and underline new material.

You can also mark deleted material and inserted material using logical markup rather than visual markup.

  • When editing regular Wikipedia articles, just make your changes and don't mark them up in any special way.
  • When editing your own previous remarks in talk pages, it is sometimes appropriate to mark up deleted or inserted material.
You can <s>strike out deleted material</s>
and <u>underline new material</u>.

You can also mark <del>deleted material</del> and
<ins>inserted material</ins> using logical markup
rather than visual markup.

Diacritical marks:
è é ê ë ì í

À Á Â Ã Ä Å
Æ Ç È É Ê Ë
Ì Í Î Ï Ñ Ò
Ó Ô Õ Ö Ø Ù
Ú Û Ü ß à á
â ã ä å æ ç
è é ê ë ì í
î ï ñ ò ó ô
œ õ ö ø ù ú
û ü ÿ


è é ê ë ì í

&Agrave; &Aacute; &Acirc; &Atilde; &Auml; &Aring; 
&AElig; &Ccedil; &Egrave; &Eacute; &Ecirc; &Euml; 
&Igrave; &Iacute; &Icirc; &Iuml; &Ntilde; &Ograve; 
&Oacute; &Ocirc; &Otilde; &Ouml; &Oslash; &Ugrave; 
&Uacute; &Ucirc; &Uuml; &szlig; &agrave; &aacute; 
&acirc; &atilde; &auml; &aring; &aelig; &ccedil; 
&egrave; &eacute; &ecirc; &euml; &igrave; &iacute;
&icirc; &iuml; &ntilde; &ograve; &oacute; &ocirc; 
&oelig; &otilde; &ouml; &oslash; &ugrave; &uacute; 
&ucirc; &uuml; &yuml;

Punctuation:
¿ ¡ § ¶
† ‡ • – —
‹ › « »
‘ ’ “ ”


&iquest; &iexcl; &sect; &para;
&dagger; &Dagger; &bull; &ndash; &mdash;
&lsaquo; &rsaquo; &laquo; &raquo;
&lsquo; &rsquo; &ldquo; &rdquo;

Commercial symbols:
™ © ® ¢ € ¥
£ ¤


&trade; &copy; &reg; &cent; &euro; &yen; 
&pound; &curren;

Subscripts:
x1 x2 x3

Superscripts:
x1 x2 x3 or x¹ x² x³

  • The latter method of superscripting can't be used in the most general context, but is preferred when possible (as with units of measurement) because most browsers have an easier time formatting lines with it.

ε0 = 8.85 × 10−12 C² / J m.

1 hectare = 1 E4 m²


x<sub>1</sub> x<sub>2</sub> x<sub>3</sub>
x<sup>1</sup> x<sup>2</sup> x<sup>3</sup>
or x&sup1; x&sup2; x&sup3;

&epsilon;<sub>0</sub> =
8.85 &times; 10<sup>&minus;12</sup>
C&sup2; / J m.

1 [[hectare]] = [[1 E4 m&sup2;]]

Greek characters:
α β γ δ ε ζ
η θ ι κ λ μ ν
ξ ο π ρ σ ς
τ υ φ χ ψ ω
Γ Δ Θ Λ Ξ Π
Σ Φ Ψ Ω


&alpha; &beta; &gamma; &delta; &epsilon; &zeta; 
&eta; &theta; &iota; &kappa; &lambda; &mu; &nu; 
&xi; &omicron; &pi; &rho; &sigma; &sigmaf;
&tau; &upsilon; &phi; &chi; &psi; &omega;
&Gamma; &Delta; &Theta; &Lambda; &Xi; &Pi; 
&Sigma; &Phi; &Psi; &Omega;

Math characters:
∫ ∑ ∏ √ − ± ∞
≈ ∝ ≡ ≠ ≤ ≥ →
× · ÷ ∂ ′ ″
∇ ‰ ° ∴ ℵ ø
∈ ∉ ∩ ∪ ⊂ ⊃ ⊆ ⊇
¬ ∧ ∨ ∃ ∀ ⇒ ⇔
→ ↔


&int; &sum; &prod; &radic; &minus; &plusmn; &infin;
&asymp; &prop; &equiv; &ne; &le; &ge; &rarr;
&times; &middot; &divide; &part; &prime; &Prime;
&nabla; &permil; &deg; &there4; &alefsym; &oslash;
&isin; &notin; &cap; &cup; &sub; &sup; &sube; &supe;
&not; &and; &or; &exist; &forall; &rArr; &hArr;
&rarr; &harr;

Suppressing interpretation of markup:
Link → (''to'') the [[Main Page]]

  • Used to show literal data that would otherwise have special meaning.
  • Escape all wiki markup, including that which looks like HTML tags.
  • Does not escape HTML character references.
  • To escape HTML character references such as &rarr; use &amp;rarr;


<nowiki>Link &rarr; (''to'') 
the [[Wikipedia FAQ]]</nowiki>

Commenting page source:
not shown when viewing page

  • Used to leave comments in a page for future editors.
  • Note that most comments should go on the appropriate Talk page.


<!-- comment here -->

Table of Contents (TOC)

At the current status of the wiki markup language, having at least four headers on a page triggers the TOC to appear in front of the first header (or after introductory sections). Putting __TOC__ anywhere forces the TOC to appear at that point (instead of just before the first header). Putting __NOTOC__ anywhere forces the TOC to disappear.

If you want some subheadings to not appear in the Table of Contents, then make the following replacements.

Replace == Header 2 == with <h2> Header 2 </h2>

Replace === Header 3 === with <h3> Header 3 </h3>

And so forth.

For example, notice that the following header has the same font as the other subheaders to this "Tables" section, but the following header does not appear in the Table of Contents for this page.

This header has the h4 font, but is NOT in the Table of Contents

This effect is obtained by the following line of code.

<h4> This header has the h4 font, but is NOT in the Table of Contents </h4>

Tables

There are two ways to build tables:

  • in special Wiki-markup (see Tables)
  • with the usual HTML elements: <table>, <tr>, <td> or <th>.

The use of the latter has to be avoided if ever possible.

Variables

(See also Hattrick:Variable)

Code Effect
{{CURRENTMONTH}} 09
{{CURRENTMONTHNAME}} September
{{CURRENTMONTHNAMEGEN}} September
{{CURRENTDAY}} 17
{{CURRENTDAYNAME}} Thursday
{{CURRENTYEAR}} 2026
{{CURRENTTIME}} 16:07
{{NUMBEROFARTICLES}} 25,539
{{PAGENAME}} Editing
{{NAMESPACE}} Help
{{localurl:pagename}} /wiki/Pagename
{{localurl:Wikipedia:Sandbox|action=edit}} /index.php?title=Special:Sandbox&action=edit
{{SERVER}} https://wiki.hattrick.org
{{ns:1}} Talk
{{ns:2}} User
{{ns:3}} User talk
{{ns:4}} Hattrick
{{ns:5}} Hattrick talk
{{ns:6}} File
{{ns:7}} File talk
{{ns:8}} MediaWiki
{{ns:9}} MediaWiki talk
{{ns:10}} Template
{{ns:11}} Template talk
{{ns:12}} Help
{{ns:13}} Help talk
{{ns:14}} Category
{{ns:15}} Category talk
{{SITENAME}} Hattrick

NUMBEROFARTICLES is the number of pages in the main namespace which contain a link and are not a redirect, i.e. number of articles, stubs containing a link, and disambiguation pages.

Templates

The MediaWiki software used by Hattrick Wiki has limited support for template inclusion. This means standardised text chunks (such as boilerplate text) can be inserted into articles. For example, typing {{stub}} will appear as "This article is a stub. You can help Hattrick by expanding it." when the page is saved. See Hattrick:Template messages for a list of the most common messages.

Hiding the edit links

Insert __NOEDITSECTION__ into the document to suppress the edit links that appear next to every section header. This shouldn't be done if possible, since it's better for the server if only one section is edited and since people shouldn't be discouraged from contributing.