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

Help:Editing

From Prime-Wiki
Revision as of 10:53, 7 March 2019 by Karbon (talk | contribs) (navbox + extended link examples)
Jump to: navigation, search

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