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 "Editing"

From Prime-Wiki
Jump to: navigation, search
(headlines)
m
 
(4 intermediate revisions by the same user not shown)
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 separate 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])
 +
 
 +
==References==
 +
A reference is inserted in the page by using the <code><nowiki><ref>...</ref></nowiki></code> tags. So this<ref>Here is the reference.</ref> (in the page as <code><nowiki>this<ref>Here is the reference.</ref></nowiki></code>) will create a numbered link to the reference list, which has to be included by using the template <code><nowiki>{{Reflist}}</nowiki></code> at the bottom of the page.
  
 
==Math symbols==
 
==Math symbols==
Line 52: Line 69:
  
 
For example
 
For example
  <nowiki>"The [[Sierpinski problem]] is about numbers of the form <math>k*2^n+1</math>"</nowiki>
+
  <nowiki>"The [[Sierpiński problem]] is about numbers of the form <math>k*2^n+1</math>"</nowiki>
 
would show
 
would show
: "The [[Sierpinski problem]] is about numbers of the form <math>k*2^n+1</math>"
+
: "The [[Sierpiński problem]] is about numbers of the form <math>k*2^n+1</math>"
  
 
For more detailed help with math formulas, see [[math rendering]]
 
For more detailed help with math formulas, see [[math rendering]]
 +
 +
==Talk pages==
 +
Every page (not specials) got the ability to create a talk page to discuss topics around that page, template or user.
 +
 +
To '''create''' a talk page click the link "Discussion" on that page, use the link "Add topic" to create a new topic, fill in "Subject" (the header line of this topic) and your text in the normal edit field like in any article. Please put 4 tildes {{Key|<nowiki>~~~~</nowiki>}} at last which will create a link to your user and the date/time of edit.
 +
 +
Answering on this topic you should indent your answer by using {{Key|:}} in front of the text, so this could be look like this:
 +
<pre>
 +
A topic by someone.
 +
:An answer by someone else.
 +
::Another answer.
 +
</pre>
 +
which gives
 +
 +
A topic by someone.
 +
:An answer by someone else.
 +
::Another answer.
 +
 +
Creating a new topic always use the "Add topic" link.
 +
 +
{{C|red|'''Please close your answer always with the 4 tildes!'''}}
 +
 +
{{Reflist}}
 +
{{Navbox Help}}
 
[[Category:Help]]
 
[[Category:Help]]

Latest revision as of 06:50, 1 May 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 separate 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)

References

A reference is inserted in the page by using the <ref>...</ref> tags. So this[1] (in the page as this<ref>Here is the reference.</ref>) will create a numbered link to the reference list, which has to be included by using the template {{Reflist}} at the bottom of the page.

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

Talk pages

Every page (not specials) got the ability to create a talk page to discuss topics around that page, template or user.

To create a talk page click the link "Discussion" on that page, use the link "Add topic" to create a new topic, fill in "Subject" (the header line of this topic) and your text in the normal edit field like in any article. Please put 4 tildes ~~~~ at last which will create a link to your user and the date/time of edit.

Answering on this topic you should indent your answer by using : in front of the text, so this could be look like this:

A topic by someone.
:An answer by someone else.
::Another answer.

which gives

A topic by someone.

An answer by someone else.
Another answer.

Creating a new topic always use the "Add topic" link.

Please close your answer always with the 4 tildes!

Notes

  1. Here is the reference.
Help