Help:Editing: Difference between revisions

From Hattrick
Jump to navigationJump to search
Crazycompgeek (talk | contribs)
 
(12 intermediate revisions by 6 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://mentalquicksand.ibelgique.com/library/dvd.htm dvd 110]] [[http://glmillig.angelfire.com/library/frozenbubble.htm frozenbubble]] [[http://ravenmax.iespana.es/consulenza-marketing.htm consulenza marketing]] [[http://killbox.ibelgique.com/html/sapphire-radeon.htm sapphire radeon 9250 256]] [[http://abr-abrante.iespana.es/content/empyre/ empyre]] [[http://muamive.isuisse.com/library/cuffie-senza/ cuffie senza filo 5 1]] [[http://epbristo.angelfire.com/www-atop/ www atop it]] [[http://akyla-pera.isuisse.com/text/i-desideri.htm i desideri erotici di christine]] [[http://blaleyne.angelfire.com/new/joksimovic.htm joksimovic]] [[http://ms-dirtnap.ibelgique.com/description/garni-a/ garni a la villa bz]] [[http://sar-iong.iespana.es/text/mp-d.htm mp3 d reggae]] [[http://samuiel.isuisse.com/html/marsupi-e/ marsupi e zaini]] [[http://salpukka.isuisse.com/lib/coniugi-scambisti/ coniugi scambisti]] [[http://girlwithacurl.ibelgique.com/small/deep-purple.htm deep purple in rock]] [[http://girlwithacurl.ibelgique.com/small/el-general.htm el general]] [[http://bodendrucker.ibelgique.com/resources/gabetti-commerciale/ gabetti commerciale]] [[http://mongo42.ibelgique.com/olivetti-copia/ olivetti copia 9017]] [[http://borg77.iespana.es/styles/chicken-park/ chicken park]] [[http://stdamin.angelfire.com/resources/voli-milano.htm voli milano roma]] [[http://anryg.iespana.es/lib/centrifuga-asciugabiancheria.htm centrifuga asciugabiancheria]] [[http://masteriii.isuisse.com/parco-di.htm parco di san rossore pisa]] [[http://samuiel.isuisse.com/html/display-rosso/ display rosso]] [[http://levirgule.iespana.es/lexmark-x/ lexmark x2250]] [[http://sportsgal25.iespana.es/blog/selettore-video.htm selettore video]] [[http://farshad-uk.isuisse.com/styles/gioco-sessuale.htm gioco sessuale]] [[http://blaleyne.angelfire.com/new/disco-radio.htm disco radio]] [[http://sarahxion.ibelgique.com/blog/canzoni-genovesi.htm canzoni genovesi basi midi]] [[http://hexa1598.ibelgique.com/treni-per/ treni per concerto 1 maggio]] [[http://epbristo.angelfire.com/casey-nuda/ casey nuda]] [[http://mentalquicksand.ibelgique.com/library/emigrazione-veneta.htm emigrazione veneta in brasile]] [[http://sportsgal25.iespana.es/blog/tera-patick.htm tera patick]] [[http://cutterjon.isuisse.com/content/markus-ruhl.htm markus ruhl]] [[http://scsheppe.angelfire.com/articles/are-you.htm are you gonna my girl]] [[http://glchinsy.angelfire.com/topic/emulator/ emulator]] [[http://re-nrevival.isuisse.com/view/occhiali-nuoto.htm occhiali nuoto]] [[http://sportsgal25.iespana.es/blog/tede-wiem.htm tede wiem wiem]] [[http://vanisky-love.iespana.es/resources/playboy-playmate/ playboy playmate]] [[http://salpukka.isuisse.com/lib/moto-honda/ moto honda hornet 600]] [[http://salpukka.isuisse.com/lib/vetro-piano/ vetro piano e specchi]] [[http://grizs.iespana.es/articles/brasiliane-troie.htm brasiliane troie]] [[http://bet-deratos.iespana.es/topic/adult-movie/ adult movie]] [[http://nifred-la.isuisse.com/resources/incanto-saeco/ incanto saeco rondo]] [[http://pooponastick.ibelgique.com/description/viewerd/ viewer4d]] [[http://killbox.ibelgique.com/html/i-figli.htm i figli di pitagora]] [[http://brvarcoe.angelfire.com/styles/disabilita.htm disabilita]] [[http://sar-iong.iespana.es/text/romeo-antonio.htm romeo antonio]] [[http://arb-digits.iespana.es/web/puta-com.htm puta com]] [[http://the-ile.iespana.es/hard-disk/ hard disk 300 gb]] [[http://stdamin.angelfire.com/resources/software-for.htm software for nec e313]] [[http://re-nrevival.isuisse.com/view/ludwig-boltzmann.htm ludwig boltzmann]] [[http://gagamgirl.ibelgique.com/view/rete-giardino/ rete giardino]] [[http://nifred-la.isuisse.com/resources/juego-de/ juego de diablo 2]] [[http://zelankom.iespana.es/franco-tozzi/ franco tozzi]] [[http://sharkymel.isuisse.com/web/champfleury/ champfleury]] [[http://mubathsh.angelfire.com/text/furia-infernale.htm furia infernale]] [[http://bodendrucker.ibelgique.com/resources/pantalone-uomo/ pantalone uomo]] [[http://glmillig.angelfire.com/library/www-pampers.htm www pampers]] [[http://scsheppe.angelfire.com/articles/shepard.htm shepard]] [[http://pahopewe.angelfire.com/resources/nokia.htm nokia 6100]] [[http://da-kosta.iespana.es/directory/volo-massa.htm volo massa]] [[http://gagamgirl.ibelgique.com/view/partenza-a/ partenza a freddo per gran turismo 4]] [[http://add-clab.isuisse.com/styles/calogero-yalla.htm calogero yalla]] [[http://therealocelot.ibelgique.com/articles/oro-bracciali/ oro bracciali turchese]] [[http://add-clab.isuisse.com/styles/actionman.htm actionman]] [[http://annie-fialochka.ibelgique.com/lib/hp.htm hp 20]] [[http://ravenmax.iespana.es/metal-control.htm metal control snc]] [[http://callie-avalon.iespana.es/steven-segal/ steven segal dvd]] [[http://brvarcoe.angelfire.com/styles/musica-gotica.htm musica gotica]] [[http://hibiscus-blue.ibelgique.com/view/once-again.htm once again upa]] [[http://akyla-pera.isuisse.com/text/gdarius.htm gdarius]] [[http://ms-dirtnap.ibelgique.com/description/cerco-lavoro/ cerco lavoro edilizia]] [[http://sharkymel.isuisse.com/web/benny-benasi/ benny benasi satisfaction]] [[http://callie-avalon.iespana.es/sky-sweetnam/ sky sweetnam]] [[http://eupnea.ibelgique.com/lacie-hard/ lacie hard disk desktop 250gb]] [[http://salpukka.isuisse.com/lib/diffusori-sony/ diffusori sony home theatre]] [[http://ohsoemo22a.ibelgique.com/library/ganci-dorsali.htm ganci dorsali]] [[http://callie-avalon.iespana.es/canzone-emon/ canzone emon]] [[http://song-love.iespana.es/content/lagnasco/ lagnasco]] [[http://salpukka.isuisse.com/lib/lanciani/ lanciani]] [[http://zigz-kom.isuisse.com/camere-e/ camere e corridoi]] [[http://bet-deratos.iespana.es/topic/going/ going]] [[http://cutterjon.isuisse.com/content/in-grid.htm in grid mais la nuit]] [[http://glmillig.angelfire.com/library/idee-vacanze.htm idee vacanze relax]] [[http://den-namore.isuisse.com/viaggio-/ viaggio  articoli]] [[http://you-edicks.iespana.es/web/la-wally.htm la wally]] [[http://therealocelot.ibelgique.com/articles/giocattoli-anni/ giocattoli anni 80]] [[http://akyla-pera.isuisse.com/text/alfa-gtv.htm alfa gtv turbo]] [[http://pahopewe.angelfire.com/resources/hotel-dakar.htm hotel dakar]] [[http://levirgule.iespana.es/felpa-eroi/ felpa eroi]] [[http://samuiel.isuisse.com/html/problemi-winmx/ problemi winmx]] [[http://jkc42.ibelgique.com/ya-no.htm ya no me quiero enamorar]] [[http://ms-dirtnap.ibelgique.com/description/max-/ max  ophelia]] [[http://billy-brown.isuisse.com/blog/cover-eminem.htm cover eminem encore]] [[http://mongo42.ibelgique.com/coppia-golosa/ coppia golosa]] [[http://killbox.ibelgique.com/html/la-sportiva.htm la sportiva nuptse]] [[http://salpukka.isuisse.com/lib/return-to/ return to pooh corner]] [[http://night-sacrifice.isuisse.com/resources/http-www.htm http www sexzool com]] [[http://farshad-uk.isuisse.com/styles/inline-poe.htm inline poe power]] [[http://anryg.iespana.es/lib/la-copa.htm la copa de la vida]] [[http://ofdays.isuisse.com/library/un-mondo/ un mondo di favole]] === 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.