Currently there may be errors shown on top of a page, because of a missing Wiki update (PHP version and extension DPL3).
Navigation
Topics Help • Register • News • History • How to • Sequences statistics • Template prototypes

Difference between revisions of "Help:Editing"

From Prime-Wiki
Jump to: navigation, search
(infobox)
(navbox + extended link examples)
Line 26: Line 26:
  
 
==How to wikify==
 
==How to wikify==
This is probably the most important of the tags. To ''wikify'' a sentence means to make the sentence link to the corresponding article on the mersennewiki. This is done by putting <nowiki>[[ and ]]</nowiki> around the word.
+
This is probably the most important of the tags. To ''wikify'' a sentence means to make the sentence link to the corresponding article on the {{SITENAME}}. This is done by putting {{Key|[[ ]]}} around the word.
  
 
An example:
 
An example:
Line 33: Line 33:
 
  "The person who runs the [[GIMPS]] project is [[George Woltman]]".
 
  "The person who runs the [[GIMPS]] project is [[George Woltman]]".
  
It it also possible to link to another article. That is done by using <nowiki> | inside the [[ ]]</nowiki> to seperate link and word.
+
It it also possible to link using a different title. That is done by using {{Key|<nowiki>|</nowiki>}} inside the {{Key|[[ ]]}} to seperate link and title.
  
 
An example would be:
 
An example would be:
Line 39: Line 39:
 
which would turn up as:
 
which would turn up as:
 
  "Certain [[Lucas-Lehmer test|tests]] are used in [[GIMPS]], which is the biggest mathematical [[Distributed computing project|project]]"
 
  "Certain [[Lucas-Lehmer test|tests]] are used in [[GIMPS]], which is the biggest mathematical [[Distributed computing project|project]]"
 +
 +
Creating a link to a category a {{Key|:}} has to be put before. The code <code><nowiki>[[:Category:Project]]</nowiki></code> will create [[:Category:Project]] or with <code><nowiki>[[:Category:Project|Proj.]]</nowiki></code> displays as [[:Category:Project|Proj.]].
 +
 +
Plurals of article names can be obtained by adding the 's' outside the brackets: <code><nowiki>[[Project]]</nowiki></code> is shown as [[Project]] but <code><nowiki>[[project]]s</nowiki></code> as [[project]]s.
  
 
==Links==
 
==Links==
To add a link to a page outside mersennewiki you could either just type the URL:  
+
To add a link to a page outside {{SITENAME}} you could either just type the URL:  
  "To get more info, please visit http://www.mersenneforum.org"
+
  "To get more info, please visit https://www.google.com"
 
or you could make a description by putting it in the form <nowiki> [link title]</nowiki>. That would turn
 
or you could make a description by putting it in the form <nowiki> [link title]</nowiki>. That would turn
  <nowiki>"To get more info, please visit [http://www.mersenneforum.org the Official forum]"</nowiki>
+
  <nowiki>"To get more info, please visit [https://www.google.com Google]"</nowiki>
 
into
 
into
"To get more info, please visit [http://www.mersenneforum.org the Official forum]"
+
"To get more info, please visit [https://www.google.com Google]"
 +
 
 +
===Currents default links with icons===
 +
Links containing a designated domain are shown with an icon behind the link. The following options are implemented:
 +
*MersenneForum: <code><nowiki>[https://www.mersenneforum.org/index.php Forum]</nowiki></code> creates [https://www.mersenneforum.org/index.php Forum]
 +
*The Prime Database: <code><nowiki>[https://primes.utm.edu/primes/status.php Status]</nowiki></code> creates [https://primes.utm.edu/primes/status.php Status]
 +
*Wolfram Mathworld: <code><nowiki>[http://mathworld.wolfram.com/ Home]</nowiki></code> creates [http://mathworld.wolfram.com/ Home]
 +
*GIMPS Hompage: <code><nowiki>[https://www.mersenne.org/ GIMPS]</nowiki></code> creates [https://www.mersenne.org/ GIMPS]
 +
For Wikipedia an internal shortcut is set, so the calling is slightly different:
 +
*Wikipedia: <code><nowiki>[[Wikipedia:Pierre de Fermat|Fermat]]</nowiki></code> creates [[Wikipedia:Pierre de Fermat|Fermat]]
 +
:(Can be done as usual but longer: <code><nowiki>[https://en.wikipedia.org/wiki/Pierre_de_Fermat Fermat]</nowiki></code> creates [https://en.wikipedia.org/wiki/Pierre_de_Fermat Fermat])
  
 
==Math symbols==
 
==Math symbols==
Line 57: Line 71:
  
 
For more detailed help with math formulas, see [[math rendering]]
 
For more detailed help with math formulas, see [[math rendering]]
{{InfoboxHelp}}
+
{{Navbox Help}}
 
[[Category:Help]]
 
[[Category:Help]]

Revision as of 10:53, 7 March 2019

Tags, wikilinks and stuff

There are certain tags which will effect words they are "wrapped around":

Formatting of words

The ' are used in formatting words:

''Italics'' (2x ') will make Italics
'''Bold''' (3x ') to write in Bold
'''''Hi all!''''' (5x ') will print Hi all!

Placing headlines

Headlines come in various sizes.

== Level 2 ==
=== Level 3 ===
==== Level 4 ====
===== Level 5 =====
====== Level 6 ======

Level 2

Level 3

Level 4

Level 5
Level 6

How to wikify

This is probably the most important of the tags. To wikify a sentence means to make the sentence link to the corresponding article on the Prime-Wiki. This is done by putting [[ ]] around the word.

An example:

"The person who runs the [[GIMPS]] project is [[George Woltman]]"

will make:

"The person who runs the GIMPS project is George Woltman".

It it also possible to link using a different title. That is done by using | inside the [[ ]] to seperate link and title.

An example would be:

"Certain [[Lucas-Lehmer test|tests]] are used in [[GIMPS]], which is the biggest mathematical [[Distributed computing project|project]]"

which would turn up as:

"Certain tests are used in GIMPS, which is the biggest mathematical project"

Creating a link to a category a : has to be put before. The code [[:Category:Project]] will create Category:Project or with [[:Category:Project|Proj.]] displays as Proj..

Plurals of article names can be obtained by adding the 's' outside the brackets: [[Project]] is shown as Project but [[project]]s as projects.

Links

To add a link to a page outside Prime-Wiki you could either just type the URL:

"To get more info, please visit https://www.google.com"

or you could make a description by putting it in the form [link title]. That would turn

"To get more info, please visit [https://www.google.com Google]"

into "To get more info, please visit Google"

Currents default links with icons

Links containing a designated domain are shown with an icon behind the link. The following options are implemented:

  • MersenneForum: [https://www.mersenneforum.org/index.php Forum] creates Forum
  • The Prime Database: [https://primes.utm.edu/primes/status.php Status] creates Status
  • Wolfram Mathworld: [http://mathworld.wolfram.com/ Home] creates Home
  • GIMPS Hompage: [https://www.mersenne.org/ GIMPS] creates GIMPS

For Wikipedia an internal shortcut is set, so the calling is slightly different:

  • Wikipedia: [[Wikipedia:Pierre de Fermat|Fermat]] creates Fermat
(Can be done as usual but longer: [https://en.wikipedia.org/wiki/Pierre_de_Fermat Fermat] creates Fermat)

Math symbols

To write mathematical formulas, insert <math> and </math> around your formula.

For example

"The [[Sierpiński problem]] is about numbers of the form <math>k*2^n+1</math>"

would show

"The Sierpiński problem is about numbers of the form [math]\displaystyle{ k*2^n+1 }[/math]"

For more detailed help with math formulas, see math rendering

Help