Difference between revisions of "User:Marcus/MediaWiki Quick Reference"
(Started documenting Magic Words & made other small additions.) |
m (Limited the depth of the table of contents) |
||
Line 1: | Line 1: | ||
This is a single-page reference guide for {{SITENAME}}. If you are not familiar with wikitext and markup languages, see the tutorial on [[Using the Wiki]]. | This is a single-page reference guide for {{SITENAME}}. If you are not familiar with wikitext and markup languages, see the tutorial on [[Using the Wiki]]. | ||
+ | |||
+ | <div class="toclimit-2">__TOC__</div> | ||
== About this Wiki == | == About this Wiki == |
Revision as of 13:15, 28 February 2011
This is a single-page reference guide for Nottinghack Wiki. If you are not familiar with wikitext and markup languages, see the tutorial on Using the Wiki.
About this Wiki
Nottinghack Wiki is powered by MediaWiki, the software used by Wikipedia. The main sources of documentation are:
This reference guide was based on the public domain Project:PD help.
Formatting
Basic Markup
Description | You type | You get |
---|---|---|
Italic text | two aprostrophes for ''italic'' text |
two aprostrophes for italic text |
Bold text | three aprostrophes for '''bold''' text |
three aprostrophes for bold text |
Bold and italic | five aprostrophes for '''''bold & italic''''' text |
five aprostrophes for bold & italic text |
Escape wiki markup | <nowiki>no '''''markup'''''</nowiki> |
no '''''markup''''' |
Some HTML tags are allowed by MediaWiki (full list).
Description | You type | You get |
---|---|---|
Underline | <u>Underline</u> |
Underline |
Strikethrough | <del>Strikethrough</del> or <s>Strikethrough</s> |
or
|
Monospaced text | <code>Source code</code> or <tt>Teletype text</tt> |
or Teletype text |
Superscript | C<sup>2</sup> |
C2 |
Subscript | C<sub>2</sub> |
C2 |
Size adjustments | <big>Larger text</big> <small>Smaller text</small> <small>Small text with <big>larger text</big> inside</small> <small><small>Really small text</small></small> |
Larger text Smaller text Small text with larger text inside Really small text |
Code | <code>code sample</code> |
|
Old-school font styling
![]() |
<font color="green" size="4" face="serif">Big Green Serifs</font> |
Big Green Serifs |
CSS styling | <span style="color:green; font-size:large; font-family:serif">Big Green Serifs</span> |
Big Green Serifs |
Abbreviation | <abbr title="World Taekwondo Federation">WTF</abbr> |
WTF |
Cite an author
![]() |
<cite>John Doe</cite> |
John Doe |
Highlight text that has been inserted into a document. | This text <ins>has</ins> been corrected. |
This text has been corrected. |
Refer to a variable in a computer program | The variable <var>foo</var> has not been initialised. |
The variable foo has not been initialised. |
Formatting Pitfalls
Beware the unexpected results shown below.
Description | You type | You get |
---|---|---|
Overlapping HTML is invalid
![]() |
Avoid <b>overlapping <i>html</b> tags</i>. |
[invalid HTML output] |
Multiline HTML formatting | Avoid <b>multiline html</b> formatting tags. |
[invalid HTML output] |
Wiki markup spanning paragraphs | Avoid '''''multiline wiki''''' markup. |
Avoid multiline wiki markup. |
Multiline wiki markup | Avoid '''''multiline wiki''''' markup. |
Avoid multiline wiki markup. |
Overlapping wiki markup
![]() |
Basic '''overlapping ''wiki''' markup'' works OK. |
Basic overlapping wiki markup works OK. |
Symbols
An HTML symbol entity is a sequence of characters that produces one particular character. For example, €
produces the Euro symbol "€
" and ™
produces trademark symbol "™
". HTML symbol entities are allowed in MediaWiki and are sometimes used in advanced editing for two main reasons: to insert characters not normally available on keyboards and to prevent the parser from interpreting and displaying HTML tags and symbols:
- &euro; → €
- <span style="color:green;">Green</span> → <span style="color:green;">Green</span>
The following is a list of characters that can be produced using HTML symbols. Hover any character to find out the symbol that produces it. Some symbols not available in the current font will appear as empty squares.
HTML Symbol Entities | |||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Á | á | Â | â | ´ | Æ | æ | À | à | ℵ | Α | α | & | ∧ | ∠ | Å | å | ≈ | Ã | ã | Ä | ä | „ | Β | β | ¦ | • | ∩ | Ç | ç | ¸ | ¢ |
Χ | χ | ˆ | ♣ | ≅ | © | ↵ | ∪ | ¤ | † | ‡ | ↓ | ⇓ | ° | Δ | δ | ♦ | ÷ | É | é | Ê | ê | È | è | ∅ | Ε | ε | ≡ | Η | η | ||
Ð | ð | Ë | ë | € | ∃ | ƒ | ∀ | ½ | ¼ | ¾ | ⁄ | Γ | γ | ≥ | > | ↔ | ⇔ | ♥ | … | Í | í | Î | î | ¡ | Ì | ì | ℑ | ∞ | ∫ | Ι | ι |
¿ | ∈ | Ï | ï | Κ | κ | Λ | λ | 〈 | « | ← | ⇐ | ⌈ | “ | ≤ | ⌊ | ∗ | ◊ | | ‹ | ‘ | < | ¯ | — | µ | · | − | Μ | μ | ∇ | – | |
≠ | ∋ | ¬ | ∉ | ⊄ | Ñ | ñ | Ν | ν | Ó | ó | Ô | ô | Œ | œ | Ò | ò | ‾ | Ω | ω | Ο | ο | ⊕ | ∨ | ª | º | Ø | ø | Õ | õ | ⊗ | Ö |
ö | ¶ | ∂ | ‰ | ⊥ | Φ | φ | Π | π | ϖ | ± | £ | ′ | ″ | ∏ | ∝ | Ψ | ψ | " | √ | 〉 | » | → | ⇒ | ⌉ | ” | ℜ | ® | ⌋ | Ρ | ρ | |
› | ’ | ‚ | Š | š | ⋅ | § | | Σ | σ | ς | ∼ | ♠ | ⊂ | ⊆ | ∑ | ⊃ | ¹ | ² | ³ | ⊇ | ß | Τ | τ | ∴ | Θ | θ | ϑ | Þ | þ | ˜ | |
× | ™ | Ú | ú | ↑ | ⇑ | Û | û | Ù | ù | ¨ | ϒ | Υ | υ | Ü | ü | ℘ | Ξ | ξ | Ý | ý | ¥ | ÿ | Ÿ | Ζ | ζ | | |
Mathematical formulae
Formulae can be written in TeX using <math>
tags. See wikipedia:Help:Displaying a formula for details.
Description | You type | You get |
---|---|---|
The equation of mass-energy equivalence | <math>E = mc^2 \,\!</math> |
<math>E = mc^2 \,\!</math> |
The convolution theorem states that... | <math> \mathcal{F}\{f * g\} = k\cdot \mathcal{F}\{f\}\cdot \mathcal{F}\{g\}</math> |
<math> \mathcal{F}\{f * g\} = k\cdot \mathcal{F}\{f\}\cdot \mathcal{F}\{g\}</math> |
Layout
Section formatting can only be used at the beginning of a line. Note: Spaces at the start of a line are significant.
Headings
Headings of different levels are created by surrounding the line with equal signs (=).
== Level 2 == === Level 3 === ==== Level 4 ==== ===== Level 5 ===== ====== Level 6 ======
![Note Note](/images/thumb/6/60/Bulbgraph.png/18px-Bulbgraph.png)
For each heading in the wiki article an HTML anchor is automatically created. That makes it possible to create #Links to section headings. An article with 4 or more headings automatically shows a table of contents.
Paragraphs
MediaWiki generally ignores single line breaks and joins consecutive lines of text together. To start a new paragraph, leave an empty line. To create a wide paragraph break, leave two empty lines. You can force a line break inside a paragraph with the HTML tag <br />
.
Description | You type | You get |
---|---|---|
Single line breaks are ignored | This text is joined together as if it were a single line. |
This text is joined together as if it were a single line. |
Empty lines define paragraphs
![]() |
First paragraph. Second paragraph. The third paragraph will <br /> break in the middle. |
First paragraph. Second paragraph.
|
Other section formatting
Description | You type | You get |
---|---|---|
Bullet list |
* Start each line * with an [[Wikipedia:asterisk|asterisk]] (*). ** More asterisks gives deeper *** and deeper levels. * Line breaks<br />don't break levels. *** But jumping levels creates empty space. Any other new line ends the list. |
Any other new line ends the list. |
Numbered list |
# Start each line # with a [[Wikipedia:Number_sign|number sign]] (#). ## More number signs gives deeper ### and deeper ### levels. # Line breaks<br />don't break levels. ### But jumping levels creates empty space. # Blank lines # end the list and start another. Any other new line also ends the list. |
Any other new line also ends the list. |
Definition list | ;item 1 : definition 1 ;item 2 : definition 2-1 : definition 2-2 |
|
Mixture of different types of list |
# one # two #* two point one #* two point two # three ## three sub 1 ### three sub 1 sub 1 ## three sub 2 |
|
Poetry | <poem> A programmer started to cuss, Because getting to sleep was a fuss. As he lay there in bed, Looping ’round in his head, Was: while(!asleep()) sheep++; -- <cite>Author unknown</cite> </poem> |
A programmer started to cuss, |
Blockquotes | text above text above <blockquote>blockquote</blockquote> text below text below |
text above text above
text below text below |
Preformatted text
![]() |
Start each line with a space. * Text is '''preformatted''' and character formatting is effective. |
Start each line with a space. * Text is preformatted and character formatting is effective. |
Completely preformatted text | <pre> Text is '''preformatted''' and ''markup'' '''''is''''' not effective.</pre> |
Text is '''preformatted''' and ''markup'' '''''is''''' not effective. |
Syntax Highlighting for code | <syntaxhighlight lang="cpp">#include <iostream> using namespace std; int main (int argc, char** argv) { cout << "Hello World!"; return 0; }</syntaxhighlight> |
#include <iostream>
using namespace std;
int main (int argc, char** argv) {
cout << "Hello World!";
return 0;
}
|
A useful error message for syntax higlighting
![]() |
<syntaxhighlight lang="-"></syntaxhighlight> |
|
Horizontal rule | Text above ---- Text below |
Text above Text below |
Old-school centered text
![]() |
text above<center>centered</center>text below |
text above |
CSS method to center text | text above<div class="center" style="width:auto; margin-left:auto; margin-right:auto;">centered</div> text below |
text above centered
text below |
Comment | <!-- This is a comment --> Comments are only visible in the edit window. |
Comments are only visible in the edit window. |
Links
There are three sorts of links:
- Internal links to other pages in the wiki.
- External links to other websites.
- Interwiki links to other websites registered to the wiki in advance.
Internal links
To add an internal link, enclose the name of the page you want to link to in double square brackets. The first letter of the link is automatically capitalized and spaces are replaced with underscores.
![Note Note](/images/thumb/6/60/Bulbgraph.png/18px-Bulbgraph.png)
Description | You type | You get |
---|---|---|
An internal link | [[NottingHack]] |
NottingHack |
A piped link | [[NottingHack|different text]] |
different text |
Word-endings are 'blended' | [[Help]]s [[Help]]ing [[Help]]ers [[Help]]anylettersyoulikehere [[Help]]<nowiki></nowiki>anylettersyoulikehere |
Helpanylettersyoulikehere |
Link to an anchor on the current page
![]() |
[[#See also]] |
#See also |
Link to the current page's table of contents | [[#toc|Contents]] |
Contents |
Link to the top of the current page | [[#top|top]] |
top |
Link to an anchor from different text | [[#See also|different text]] |
different text |
Setting an internal link anchor
![]() |
<div id="NameOfAnchorHere">optional text</div> |
optional text
|
Link to an anchor at another page | [[Help:Images#See also]] |
Help:Images#See also |
Shortcut to hide a namespace
See #The pipe trick. |
[[Help:Contents|]] [[Help:Contents]] |
|
Redirect | #REDIRECT [[Main Page]] |
→ Main Page |
Link to the current page's talk page | [[{{TALKPAGENAME}}|Discussion]] |
Discussion |
Link to the current page's edit page | [{{fullurl:{{PAGENAME}}|action=edit}} Edit] |
Edit |
Link to a subpage.
See #Subpages |
[[/example]] |
/example |
Link to a subpage without the leading slash | [[/example/]] |
example |
Link to a category page
See #Categories |
[[:Category:Help]] |
Category:Help |
Link to an image or a file of other types
See #Images |
[[media:example.jpg]] |
media:example.jpg |
Link to the user's user page | [[Special:MyPage]] |
Special:MyPage |
Additional wiki markup is permitted in link titles | [[#top|'''<del>rich</del>''' ''link text'' here.]] |
Links to section headings
You can link directly to headings within a wiki page. MediaWiki automatically creates an HTML anchor with the same name as the heading.
Description | You type | You get |
---|---|---|
Links to section headings | [[#External links]] [[#Table pitfalls!]] |
![Note Note](/images/thumb/6/60/Bulbgraph.png/18px-Bulbgraph.png)
External links
Description | You type | You get |
---|---|---|
External link | http://mediawiki.org | http://mediawiki.org |
External link with different label | [http://mediawiki.org MediaWiki] | MediaWiki |
Numbered external link | [http://mediawiki.org] | [2] |
External links with file icons
![]() |
[http://en.wikipedia.org/wiki/.avi video] [http://en.wikipedia.org/wiki/.ogg sound] [http://en.wikipedia.org/wiki/.pdf document] | |
External link to the same host | http://{{SERVERNAME}}/pagename | http://wiki.nottinghack.org.uk/pagename |
External link to other host passing the pagename | http://google.com/search?q={{PAGENAMEE}} | http://google.com/search?q=Marcus/MediaWiki_Quick_Reference |
Mailto link | [mailto:info@example.org email me] | email me |
Mailto named with subject line and body | [mailto:info@example.org?Subject=URL%20Encoded%20Subject&body=Body%20Text info] | info |
Additional wiki markup is permitted in link titles | [http://www.example.com/some/image.png Example '''<del>rich</del>''' ''link text'' here.] |
Example |
External link icons
Test link | Icon | Trigger |
---|---|---|
[3] | external-link-ltr-icon.png | .external , http:// , gopher://
|
[4] | lock-icon.png | https://
|
[5] | mail-icon.png | mailto:
|
[6] | news-icon.png | news://
|
[7] | file-icon.png | ftp://
|
[8] | talk-icon.png | irc://
|
[9] | audio-icon.png | .ogg , .mid , .midi , .mp3 , .wav , .wma
|
[10] | video-icon.png | .ogm , .avi , .mpeg , .mpg
|
[11] | document-icon.png | .pdf , .pdf# , .pdf?
|
How to avoid auto-links
By default, when you write a URL as is, it will be transformed to an external link. To avoid that effect, put the URL between <nowiki>
tags as in:
<nowiki>http://mediawiki.org</nowiki>
Interwiki links
Interwiki links are abbreviations for longer URLs. They allow you to link to an external wiki almost as if you are linking to a page on your own wiki. The external website must be registered in advance by an administrator. The websites registered on Nottinghack Wiki are listed on the Special:Interwiki page.
For example, you can link to the Sunflower article on http://en.wikipedia.org by typing [[wikipedia:Sunflower]]
, which will result in a link wikipedia:Sunflower. This is because http://en.wikipedia.org/wiki/
is registered to Nottinghack Wiki by default with the prefix of wikipedia
. A similar link could be created as a normal external link by typing [http://en.wikipedia.org/wiki/Sunflower big yellow flower]
.
The pipe trick
See wikipedia:Help:Pipe_trick.
Tables
Tables may be authored in wiki pages using either XHTML table elements directly, or using wikicode formatting to define the table. XHTML table elements and their use are well described on various web pages and will not be discussed here. The benefit of wikicode is that the table is constructed of character symbols which tend to make it easier to perceive the table structure in the article editing view compared to XHTML table elements.
As a general rule, it is best to avoid using a table unless you need one. Table markup often complicates page editing.
Wiki table markup summary
{| |
table start |
|+ |
table caption, optional; only between table start and first table row |
|- |
table row, optional on first row -- wiki engine assumes the first row |
! |
table header cell, optional. Consecutive table header cells may be added on same line separated by double marks (!! ) or start on new lines, each with its own single mark (! ).
|
| |
table data cell, required! Consecutive table data cells may be added on same line separated by double marks (|| ) or start on new lines, each with its own single mark (| ).
|
|} |
table end |
- The above marks must start on a new line except the double
||
and!!
for optionally adding consecutive cells to a line. However, blank spaces at the beginning of a line are ignored. - XHTML attributes. Each mark, except table end, optionally accepts one or more XHTML attributes. Attributes must be on the same line as the mark. Separate attributes from each other with a single space.
- Cells and caption (
|
or||
,!
or!!
, and|+
) hold content. So separate any attributes from content with a single pipe (|
). Cell content may follow on same line or on following lines. - Table and row marks (
{|
and|-
) do not directly hold content. Do not add pipe (|
) after their optional attributes. If you erroneously add a pipe after attributes for the table mark or row mark the parser will delete it and your final attribute if it was touching the erroneous pipe!
- Cells and caption (
- Content may (a) follow its cell mark on the same line after any optional XHTML attributes or (b) on lines below the cell mark. Content that uses wiki markup that itself needs to start on a new line, such as lists, headings, or nested tables, must be on its own new line.
- Pipe character as content. To insert a pipe (
|
) character into a table use the <nowiki>|
</nowiki> escaping markup
- Pipe character as content. To insert a pipe (
Basics
The following table lacks borders and good spacing but shows the simplest wiki markup table structure.
You type | You get | ||||||
---|---|---|---|---|---|---|---|
{| |Orange |Apple |- |Bread |Pie |- |Butter |Ice cream |} |
|
The cells in the same row can be listed on one line separated by ||
(two pipe symbols). If the text in the cell contains a line break, use <br />
instead.
You type | You get | |||||||||
---|---|---|---|---|---|---|---|---|---|---|
{| |Orange||Apple||more |- |Bread||Pie||more |- |Butter||Ice<br />cream||and<br />more |} |
|
Extra spaces within cells in the wiki markup, as in the wiki markup below, do not affect the actual table rendering.
You type | You get | |||||||||
---|---|---|---|---|---|---|---|---|---|---|
{| | Orange || Apple || more |- | Bread || Pie || more |- | Butter || Ice cream || and more |} |
|
You can have longer text or more complex wiki syntax inside table cells, too:
You type | You get | ||
---|---|---|---|
{| |Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. | * Lorem ipsum dolor sit amet * consetetur sadipscing elitr * sed diam nonumy eirmod tempor invidunt |} |
|
Table headers
Table headers can be created by using "!
" (exclamation mark) instead of "|
" (pipe symbol). Headers usually show up bold and centered by default.
You type | You get | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
{| ! Item ! Amount ! Cost |- |Orange |10 |7.00 |- |Bread |4 |3.00 |- |Butter |1 |5.00 |- !Total | |15.00 |} |
|
Caption
A table caption can be added to the top of any table as follows.
You type | You get | ||||||
---|---|---|---|---|---|---|---|
{| |+Food complements |- |Orange |Apple |- |Bread |Pie |- |Butter |Ice cream |} |
|
XHTML attributes
You can add XHTML attributes to tables. For the authoritative source on these, see the W3C's HTML 4.01 Specification page on tables.
Attributes on tables
Placing attributes after the table start tag ({|
) applies attributes to the entire table.
You type | You get | |||||||||
---|---|---|---|---|---|---|---|---|---|---|
{| border="1" align="center" style="text-align:center;" |Orange |Apple |12,333.00 |- |Bread |Pie |500.00 |- |Butter |Ice cream |1.00 |} |
|
Attributes on cells
You can put attributes on individual cells. For example, numbers may look better aligned right.
You type | You get | |||||||||
---|---|---|---|---|---|---|---|---|---|---|
{| border="1" |Orange |Apple |align="right" | 12,333.00 |- |Bread |Pie |align="right" | 500.00 |- |Butter |Ice cream |align="right" | 1.00 |} |
|
You can also use cell attributes when you are listing multiple cells on a single line. Note that the cells are separated by ||
, and within each cell the attribute(s) and value are separated by |
.
You type | You get | |||||||||
---|---|---|---|---|---|---|---|---|---|---|
{| border="1" | Orange || Apple || align="right" | 12,333.00 |- | Bread || Pie || align="right" | 500.00 |- | Butter || Ice cream || align="right" | 1.00 |} |
|
Attributes on rows
You can put attributes on individual rows, too.
You type | You get | |||||||||
---|---|---|---|---|---|---|---|---|---|---|
{| border="1" |Orange |Apple |align="right"|12,333.00 |- |Bread |Pie |align="right"|500.00 |- style="font-style:italic; color:green;" |Butter |Ice cream |align="right"|1.00 |} |
|
Simple one-pixel table border
The default table formatting uses the "border-collapse: separate" model, which adds table cell spacing (which also separates the table outer border from its content cells). Even with a zero cellspacing, the borders of consecutive cells (and of the overall table container) will add up, so to get a one-pixel separation between cells, you need to selectively remove one or more of the four borders of cells.
Such tables may be formatted more simply, using the "border-collapse: collapse" CSS property; in this table formatting model, the cellspacing attribute (or the CSS "border-spacing:" property) and the table's "padding:" CSS property is ignored and only the larger border of adjacent inner cells (or the table border for outer cells) will be used.
An example of the above for one-pixel table border, using each model (without need for external extensions):
You type | You get | ||||
---|---|---|---|---|---|
{|style="border-collapse: separate; border-spacing: 0; border-width: 1px; border-style: solid; border-color: #000; padding: 0" |- !style="border-style: solid; border-width: 0 1px 1px 0"| Orange !style="border-style: solid; border-width: 0 0 1px 0"| Apple |- |style="border-style: solid; border-width: 0 1px 0 0"| Bread |style="border-style: solid; border-width: 0"| Pie |} |
| ||||
{|style="border-collapse: collapse; border-width: 1px; border-style: solid; border-color: #000" |- !style="border-style: solid; border-width: 1px"| Orange !style="border-style: solid; border-width: 1px"| Apple |- |style="border-style: solid; border-width: 1px"| Bread |style="border-style: solid; border-width: 1px"| Pie |} |
|
Notes :
- When using the "border-width:" CSS shortcut property, the order of the four space-separated specified values is: top, right, bottom, left. As an example from above:
- "border-width: 0 1px 0 0"
- When there are fewer than 4 values, the value for left takes its default from the value for right, the value for bottom takes its default from the value for top, and the value for right takes its default from the value for top.
- The HTML attributes (such as "width=", "border=", "cellspacing=", "cellpadding=") do not need any length unit (the pixel unit is assumed). The CSS style properties (which override the HTML attributes) require an explicit length unit (if the value is not 0) such as "px" for the pixel.
HTML colspan and rowspan
You can use HTML colspan and rowspan attributes on cells for advanced layout.
You type | You get | |||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
{| border="1" !colspan="6"|Shopping List |- |rowspan="2"|Bread & Butter |Pie |Buns |Danish |colspan="2"|Croissant |- |Cheese |colspan="2"|Ice cream |Butter |Yoghurt |} |
|
With HTML attributes and CSS styles
CSS style attributes can be added with or without other HTML attributes.
You type | You get | ||||||
---|---|---|---|---|---|---|---|
{| style="color:green; background-color:#ffffcc;" cellpadding="10" cellspacing="0" border="1" |Orange |Apple |- |Bread |Pie |- |Butter |Ice cream |} |
|
Attributes can be added to the caption and headers as follows.
You type | You get | ||||||
---|---|---|---|---|---|---|---|
{| border="1" cellpadding="20" cellspacing="0" |+ align="bottom" style="color:#e76700;" |''Food complements'' |- |Orange |Apple |- |Bread |Pie |- |Butter |Ice cream |} |
|
Accessibility of table header cells
Table header cells do not explicitly specify which table data cells they apply to (those on their right on the same row, or those below them on the same column). When the table is displayed in a visual 2D environment, this is usually easy to infer.
However when tables are rendered on non-visual medias, you can help the browser to determine which table header cell applies to the description of any selected cell (in order to repeat its content in some accessibility helper) using a scope="row" or scope="col" attribute on table header cells. In most cases with simple tables, you'll use scope="col" on all header cells of the first row, and scope="row" on the first cell of the following rows:
You type | You get | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
{| border="1" cellspacing="0" cellpadding="2" |- !scope="col"| Item !scope="col"| Quantity !scope="col"| Price |- !scope="row"| Bread | 0.3 kg | $0.65 |- !scope="row"| Butter | 0.125 kg | $1.25 |- !scope="row" colspan="2"| Total | $1.90 |} |
|
Table pitfalls!
If you start a cell on a new line with a negative number with a minus sign (or a parameter that evaluates to a negative number), your table can get broken, because the characters |-
will be parsed as the wiki markup for table row, not table cell. To avoid this, insert a space before the value (| -6
) or use in-line cell markup (|| -6
).
Images
![Note Note](/images/thumb/6/60/Bulbgraph.png/18px-Bulbgraph.png)
Supported media types for images
The following file formats are supported on Nottinghack Wiki:
- .jpg or .jpeg : bitmap image compressed in the standard JPEG format (this lossy format is most suitable for photographs).
- .png : bitmap image in the Portable Network Graphics format (specified by the W3 Consortium).
- .gif : bitmap image in the legacy Graphics Interchange Format.
- .svg : scalable image in the Scalable Vector Graphics format (specified by the W3 Consortium).
Uploading an image
- In the sidebar, under “toolbox”, click “Upload file.”
- Select the “Source filename”
- You can fill in the optional “Summary” text.
Note: This is plain text and not wikitext
After you upload a file, you will be redirected to the “file description page”. You should edit this page to provide more information about the file. For example, you should explain where you got the file from, and what its copyright status is.
Displaying an image
The wikitext to display an image is:
[[File:filename.extension|options|caption]]
The options can be given in any order separated by pipes (|):
border
- Adds a very thin border around the image.
frame
,frameless
,thumb
orthumbnail
- Controls how the image is formatted and embedded in the rest of the page. See the examples of image formats.
{width}x{height}px
- Resizes the image to fit inside a maximum {width} and {height} in pixels. See the examples of image resizing.
Note: The image will always retain its aspect ratio.
{width}px
- Resizes the image using a maximum width in pixels.
x{height}px
- Resizes the image using maximum height in pixels.
upright
- Uses a resizing algorithm suitable for images in portrait orientation rather than landscape.
left
,right
,center
, ornone
- Controls the horizontal alignment (and inline/block or floating styles) of the image within a text (no default value).
baseline
,sub
,super
,top
,text-top
,middle
,bottom
, ortext-bottom
- Controls the vertical alignment of a non-floating inline image with the text before or after the image, and in the same block (the default vertical alignment is
middle
). link={target}
- Allows to change the target of the generated link associated with the image. See Altering the default link target.
Note:
link
does not work withthumb
,thumbnail
orframe
. alt={alternative text}
- Defines the alternative text (maps to the HTML
alt="..."
attribute). page={number}
- Renders the specified page number (only applicable when showing a .djvu or .pdf file).
If a parameter does not match any of the other possibilities, it is assumed to be the caption text. Caption text is shown below the image in thumb and frame formats, or as mouseover text in border and frameless formats or when the format is omitted. Caption text displayed in the thumb and frame formats may contain wiki links and other formatting. In the other options, wiki-formatting will not work. If no caption text is supplied, a caption is automatically created showing the file name. To completely remove the caption, set it to <span title=""></span>
.
Image dimensions and borders
The effect of the size parameters depend on how the image is formatted, but images will always retain their aspect ratio. When the format is not specified the image can be reduced or enlarged to any size. An image with the frame
format always ignores the size specification and the original image will be reduced if it exceeds a maximum size. The size of an image with the thumb
format can be reduced, but can not be enlarged beyond the original image size unless it is a scalable media type.
In the examples below, the original size of the image is 400 × 267 pixels.
Format | Reduced Size | Enlarged
Template:ImageExamples/size Template:ImageExamples/size Template:ImageExamples/size Template:ImageExamples/size Template:ImageExamples/size |
---|
Horizontal alignment
Note that when using the frame
or thumb[nail]
formats, the default horizontal alignment will be right
.
Description | You type | You get
Template:ImageExamples/frame Template:ImageExamples/frame Template:ImageExamples/frame Template:ImageExamples/frame Template:ImageExamples/frame |
---|
Vertical alignment
The vertical alignment options take effect only if the image is displayed as an inline element and is not floating. They alter the way the inlined image will be vertically aligned with the text present in the same block before and/or after this image on the same row. Note that the displayed line of text where inline images are inserted (and the lines of text displayed after the current one) may be moved down. The line spacing will increase, just as may occur with spans of text with variable font sizes to allow the image height to be fully displayed with this alignment constraint.
To show the alignment result more clearly in this example, the text spans are overlined and underlined, the line-height is increased and emphasized with a yellow background and grey border:
Source code for the example above<p style="border:1px solid #AAA;background:#FFC;padding:0;font-size:150%;line-height:2"> <span style="background:#FFF;color:#000;text-decoration:overline"><u><del>text</del> '''top:''' [[File:Example.jpg|20px|top]] [[File:Example.jpg|40px|top]] [[File:Example.jpg|40px|border|top]] <del>text</del></u></span></p> <p style="border:1px solid #AAA;background:#FFC;padding:0;font-size:150%;line-height:2"> <span style="background:#FFF;color:#000;text-decoration:overline"><u><del>text</del> '''text-top:''' [[File:Example.jpg|20px|text-top]] [[File:Example.jpg|40px|text-top]] [[File:Example.jpg|40px|border|text-top]] <del>text</del></u></span></p> <p style="border:1px solid #AAA;background:#FFC;padding:0;font-size:150%;line-height:2"> <span style="background:#FFF;color:#000;text-decoration:overline"><u><del>text</del> <sup>super:</sup> [[File:Example.jpg|20px|super]] [[File:Example.jpg|40px|super]] [[File:Example.jpg|40px|border|super]] <del>text</del></u></span></p> <p style="border:1px solid #AAA;background:#FFC;padding:0;font-size:150%;line-height:2"> <span style="background:#FFF;color:#000;text-decoration:overline"><u><del>text</del> '''baseline:''' [[File:Example.jpg|20px|baseline]] [[File:Example.jpg|40px|baseline]] [[File:Example.jpg|40px|border|baseline]] <del>text</del></u></span></p> <p style="border:1px solid #AAA;background:#FFC;padding:0;font-size:150%;line-height:2"> <span style="background:#FFF;color:#000;text-decoration:overline"><u><del>text</del> <sub>'''sub:'''</sub> [[File:Example.jpg|20px|sub]] [[File:Example.jpg|40px|sub]] [[File:Example.jpg|40px|border|sub]] <del>text</del></u></span></p> <p style="border:1px solid #AAA;background:#FFC;padding:0;font-size:150%;line-height:2"> <span style="background:#FFF;color:#000;text-decoration:overline"><u><del>text</del> '''default:''' [[File:Example.jpg|20px]][[File:Example.jpg|40px]] [[File:Example.jpg|40px|border]] <del>text</del></u></span></p> <p style="border:1px solid #AAA;background:#FFC;padding:0;font-size:150%;line-height:2"> <span style="background:#FFF;color:#000;text-decoration:overline"><u><del>text</del> '''middle:''' [[File:Example.jpg|20px|middle]] [[File:Example.jpg|40px|middle]] [[File:Example.jpg|40px|border|middle]] <del>text</del></u></span></p> <p style="border:1px solid #AAA;background:#FFC;padding:0;font-size:150%;line-height:2"> <span style="background:#FFF;color:#000;text-decoration:overline"><u><del>text</del> '''text-bottom:''' [[File:Example.jpg|20px|text-bottom]] [[File:Example.jpg|40px|text-bottom]] [[File:Example.jpg|40px|border|text-bottom]] <del>text</del></u></span></p> <p style="border:1px solid #AAA;background:#FFC;padding:0;font-size:150%;line-height:2"> <span style="background:#FFF;color:#000;text-decoration:overline"><u><del>text</del> '''bottom:'' [[File:Example.jpg|20px|bottom]] [[File:Example.jpg|40px|bottom]] [[File:Example.jpg|40px|border|bottom]] <del>text</del></u></span></p>
Stopping the text flow
On occasion it is desirable to stop text (or other inline non-floating images) from flowing around a floating image. Depending on the web browser's screen resolution and such, text flow on the right side of an image may cause a section header (for instance, == My Header ==) to appear to the right of the image, instead of below it, as a user may expect. The text flow can be stopped by placing <br style="clear: both" /> before the text that should start below the floating image.
All images displayed as blocks (including non-floating centered images, left- or right-floating images, as well as framed or thumbnailed floating images) are implicitly breaking the surrounding lines of text (terminating the current block of text before the image, and creating a new paragraph for the text after them). They will then stack vertically along their left or right alignment margin (or along the center line between these margins for centered images).
Altering the link target
The table below shows how to alter or remove the link target associated with an image. Note: The link attribute does not work with
thumb
or frame
formats.
Description | You type | You get
Template:ImageExamples/frame Template:ImageExamples/frame Template:ImageExamples/frame |
---|
Displaying an image gallery
It's easy to make a gallery of thumbnails with the <gallery>
tag:
<gallery> Image:file_name.ext|caption Image:file_name.ext|caption {...} </gallery>
Note that the image code is not enclosed in quare brackets inside gallery tags. Captions are optional, and may contain wiki links or other formatting. For example:
<gallery> File:Example.jpg|Item 1 File:Example.jpg|a link to [[Help:Contents]] File:Example.jpg File:Example.jpg File:Example.jpg| ''italic caption'' File:Example.jpg|on page "{{PAGENAME}}" </gallery>
Is displayed as:
a link to Help:Contents
Optional gallery attributes
The gallery tag itself takes several additional parameters, specified as attribute name-value pairs:
<gallery {parameters}> {images} </gallery>
caption={caption}
: A caption for the gallery.widths={width}px
: The maximum width for the images. Note the plural (widths)heights={heights}px
: The maximum height for the images.perrow={integer}
: The number of images per row.showfilename={y or n}
: Show the filenames in the image captions.
Example wikitext:
<gallery widths=60px heights=60px perrow=7 caption="sunflowers are groovy"> File:Example.jpg File:Example.jpg File:Example.jpg File:Example.jpg File:Example.jpg File:Example.jpg File:Example.jpg File:Example.jpg File:Example.jpg File:Example.jpg </gallery>
Result:
- sunflowers are groovy
Linking to an image without displaying it
Link to the description page
If you put a colon (:
) before File:
, the image will not be embedded and the link will lead to the description page of the file.
Description | You type | You get |
---|---|---|
Link to the description page of the file | [[:{{ns:image}}:Example.jpg]] |
|
Link to the description page with a custom title. | [[:{{ns:image}}:Example.jpg|Sunflowers]] |
Link directly to the media file
You can use the pseudo-namespace “Media” to link directly to a file without displaying it, bypassing the description page.
Description | You type | You get |
---|---|---|
Link directly to a file. | [[{{ns:media}}:Example.jpg]] |
|
Link directly to a file, with a custom title. | [[{{ns:media}}:Example.jpg|Sunflowers]] |
|
link to a potential file, even if it doesn't exist. | [[{{#special:Filepath}}/Example.jpg]] |
|
Generate an external URL to the file | {{FILEPATH:Example.jpg}} |
Displaying images from other websites
Currently it is not possible to embed images from other websites into Nottinghack Wiki. Links are displayed instead. External image embedding could be enabled using mw:Manual:$wgAllowExternalImages.
Description | You type | You get |
---|---|---|
Link or embed an image from another website | http://upload.wikimedia.org/wikipedia/en/b/bc/Wiki.png |
Categories
See wikipedia:Help:Categories.
Subpages
Namespaces
See wikipedia:Help:Namespaces.
Templates
Redirects
Magic Words
Magic words are strings of text that MediaWiki interprets as a value or function. Page-dependent magic words will affect or return data about the current page (by default), even if the word is added through a transcluded template or included system message.
Behavior switches
A behavior switch controls the layout or behaviour of the page and can often be used to specify desired omissions and inclusions.
Word | Description |
---|---|
__NOTOC__
|
Hides the table of contents (TOC). |
__FORCETOC__
|
Forces the table of contents to appear at its normal position (above the first header). |
__TOC__
|
Places a table of contents at the word's current position (overriding __NOTOC__ ). If this is used multiple times, the table of contents will appear at the first word's position.
|
__NEWSECTIONLINK__
|
Adds a link ("+" by default) beside the "edit" tab for adding a new section on a non-talk page (see Adding a section to the end). |
__NOINDEX__
|
Tell search engines not to index the page (ie, do not list in search engines' results). |
Variables
Variables return information about the current page, wiki, or date. Their syntax is similar to templates.
Technical metadata
Revision variables return data about the latest edit to the current page, even if viewing an older version of the page.
Variable | Output | Description |
---|---|---|
Site | ||
{{SITENAME}}
|
Nottinghack Wiki | The wiki's site name. |
{{SERVER}}
|
https://wiki.nottinghack.org.uk | Domain URL. |
{{SERVERNAME}}
|
wiki.nottinghack.org.uk | Domain name. |
{{SCRIPTPATH}}
|
Relative path to the wiki scripts on the server. | |
{{STYLEPATH}}
|
/skins | Relative path to the wiki style sheet on the server. |
{{CURRENTVERSION}}
|
1.35.1 | The wiki's MediaWiki version. |
Latest revision to current page | ||
{{REVISIONID}}
|
397 | Unique revision ID |
{{REVISIONDAY}}
|
28 | Day the edit was made (unpadded number) |
{{REVISIONMONTH}}
|
02 | Month the edit was made (zero-padded number as of Template:Mediawiki, unpadded number in prior versions) |
{{REVISIONYEAR}}
|
2011 | Year the edit was made |
{{REVISIONTIMESTAMP}}
|
20110228131502 | Timestamp of the edit |
{{REVISIONUSER}}
|
Marcus | The user who made the most recent edit to the page, or the current user when previewing an edit |
{{PROTECTIONLEVEL:action}}
|
protection level | The protection level (e.g. 'autoconfirm', 'sysop') for a given action (e.g. 'edit', 'move') on the current page or an empty string if not protected. |
Affects page content | ||
{{DISPLAYTITLE:title}}
|
Format the current page's title. The value must be equivalent to the default title: only capitalization changes and replacing spaces with underscores are allowed. | |
{{DEFAULTSORT:sortkey}} {{DEFAULTSORTKEY:sortkey}} {{DEFAULTCATEGORYSORT:sortkey}}
|
Used for categorizing pages, sets a default category sort key. For example if you put {{DEFAULTSORT:Smith, John}} at the end of John Smith, the page would be sorted under "S" by default in categories.
|
Statistics
Numbers returned by these variables normally contain separators (commas or spaces, depending on the local language), but can return raw numbers with the ":R" flag (for example, {{NUMBEROFPAGES}}
→ 5,385 and {{NUMBEROFPAGES:R}}
→ 5385). Use "|R" for magic words that require a parameter like PAGESINCATEGORY (for example {{PAGESINCATEGORY:Help}}
and {{PAGESINCATEGORY:Help|R}}
). Also applicable to {{PAGESIZE:page name}}
above.
Variable | Output | Description |
---|---|---|
Entire wiki | ||
{{NUMBEROFPAGES}}
|
5,385 | Number of wiki pages. |
{{NUMBEROFARTICLES}}
|
955 | Number of pages in content namespaces. |
{{NUMBEROFFILES}}
|
2,609 | Number of uploaded files. |
{{NUMBEROFEDITS}}
|
28,426 | Number of page edits. |
{{NUMBEROFVIEWS}}
|
Template:NUMBEROFVIEWS | Number of page views. Usually useless on a wiki using caching. |
{{NUMBEROFUSERS}}
|
348 | Number of registered users. |
{{NUMBEROFADMINS}}
|
19 | Number of users in the sysop admin group. |
{{NUMBEROFACTIVEUSERS}}
|
11 | Number of active users, based on the criteria used in Special:Statistics. |
{{NUMBERINGROUP:groupname}} {{NUMINGROUP:groupname}}
|
Number of users in a specific group. |
Page name variables
Variable | Output | Description |
---|---|---|
{{FULLPAGENAME}}
|
User:Marcus/MediaWiki Quick Reference | Namespace and page title. |
{{PAGENAME}}
|
Marcus/MediaWiki Quick Reference | Page title. |
{{BASEPAGENAME}}
|
Marcus | Page title excluding the current subpage and namespace. For more complex splitting, use {{#titleparts:}} .
|
{{SUBPAGENAME}}
|
MediaWiki Quick Reference | The subpage title. |
{{SUBJECTPAGENAME}}
|
User:Marcus/MediaWiki Quick Reference | The namespace and title of the associated content page. |
{{TALKPAGENAME}}
|
User talk:Marcus/MediaWiki Quick Reference | The namespace and title of the associated talk page. |
The following are equivalents encoded for use in MediaWiki URLs (i.e. spaces replaced with underscores and some characters percent-encoded):
{{FULLPAGENAMEE}}
{{PAGENAMEE}}
{{BASEPAGENAMEE}}
{{SUBPAGENAMEE}}
{{SUBJECTPAGENAMEE}}
{{TALKPAGENAMEE}}
These can all take a parameter allowing specification of the page to be operated on, instead of just the current page:
{{PAGENAME:Template:Main Page}}
→ Main Page
Namespace variables
Variable | Output | Description |
---|---|---|
{{NAMESPACE}}
|
User | Name of the page's namespace |
{{SUBJECTSPACE}} {{ARTICLESPACE}}
|
User User |
Name of the associated content namespace |
{{TALKSPACE}}
|
User talk | Name of the associated talk namespace |
The following are equivalents encoded for use in MediaWiki URLs (spaces replaced with underscores and some characters percent-encoded):
{{NAMESPACEE}}
{{SUBJECTSPACEE}}
{{TALKSPACEE}}
These can take a page name instead of operating on the current page:
{{NAMESPACE:Template:Main Page}}
→ Template{{SUBJECTSPACE:Template:Main Page}}
→ Template{{TALKSPACE:Template:Main Page}}
→ Template talk
Parser functions
Parser functions have the same syntax as templates. The names are sometimes prefixed with a hash to distinguish them from template page names.
Conditional expressions
#if
This function tests whether the first parameter is non-empty. It evaluates to false if the test string is empty or contains only whitespace characters (spaces, newlines, etc).
{{#if: test string | value if true | value if false }}
#ifeq
This parser function compares two strings and determines whether they are identical.
{{#ifeq: string 1 | string 2 | value if identical | value if different }}
#iferror
This function evaluates to true if the input string contains an HTML object with class="error", as generated by other parser functions such as #expr, #time and #rel2abs, template and errors such as loops and recursions.
{{#iferror: test string | value if error | value if correct }}
#ifexpr
This function evaluates a mathematical expression and returns one of two strings depending on the boolean value of the result:
{{#ifexpr: expression | value if true | value if false }}
#ifexist
This function returns one of two values depending on whether a page exists on the local wiki.
{{#ifexist: page title | value if the page exists | value if it doesn't exist }}
#switch
This function compares one input value against several test cases, returning an associated string if a match is found.
{{#switch: comparison string | case1 = result1 | case2 = result2 | ... | caseN = resultN | default result0 }}
#expr
This function evaluates a mathematical expression and returns the calculated value. See metawiki:Help:Calculation for details of operators and constants.
{{#expr: expression }}
URL data
Parser function | Input → Output | Description |
---|---|---|
{{localurl:page name}} {{localurl:page name|query_string}}
|
{{localurl:MediaWiki}} → /wiki/MediaWiki{{localurl:MediaWiki|printable=yes}} → /index.php?title=MediaWiki&printable=yes
|
The relative path to the title. |
{{fullurl:page name}} {{fullurl:page name|query_string}} {{fullurl:interwiki:remote page name|query_string}}
|
{{fullurl:Category:Top level}} → https://wiki.nottinghack.org.uk/wiki/Category:Top_level
|
The absolute path to the title. This will also resolve Interwiki prefixes. |
{{filepath:file name}} {{filepath:file name|nowiki}}
|
{{filepath:Example.jpg}} → https://wiki.nottinghack.org.uk/images/a/a9/Example.jpg |
The absolute URL to the full size media file. |
{{#rel2abs: path }} {{#rel2abs: path | base path }}
|
{{#rel2abs:.}} → User:Marcus/MediaWiki Quick Reference{{#rel2abs:.|Help:Contents}} → Help:Contents
|
Converts a relative file path into an absolute filepath. In path</path> the following syntax is valid:
|
Date and time functions
Variable | Output | Description |
---|---|---|
{{#timel: Y F d, h:i:s}}
|
2024 August 14, 11:33:26 | Displays the current time and date in the local timezone of the wiki. Due to caching, these variables frequently show when the page was cached rather than the current time. |
Namespace functions
{{ns:}}
returns the localized name for a namespace. {{nse:}}
is the equivalent encoded for MediaWiki URLs. It does the same, but it replaces spaces with underscores, making it usable in external links.
Content namespaces | Talk namespaces | |||
---|---|---|---|---|
Usage | Output | Usage | Output | |
{{ns:-2}} or {{ns:Media}}
|
Media | |||
{{ns:-1}} or {{ns:Special}}
|
Special | |||
{{ns:0}} or {{ns:}}
|
{{ns:1}} or {{ns:Talk}}
|
Talk | ||
{{ns:2}} or {{ns:User}}
|
User | {{ns:3}} or {{ns:User talk}}
|
User talk | |
{{ns:4}} or {{ns:Project}}
|
Nottinghack Wiki | {{ns:5}} or {{ns:Project talk}}
|
Nottinghack Wiki talk | |
{{ns:6}} or {{ns:File}} or {{ns:Image}}
|
File | {{ns:7}} or {{ns:File talk}} or {{ns:Image talk}}
|
File talk | |
{{ns:8}} or {{ns:MediaWiki}}
|
MediaWiki | {{ns:9}} or {{ns:MediaWiki talk}}
|
MediaWiki talk | |
{{ns:10}} or {{ns:Template}}
|
Template | {{ns:11}} or {{ns:Template talk}}
|
Template talk | |
{{ns:12}} or {{ns:Help}}
|
Help | {{ns:13}} or {{ns:Help talk}}
|
Help talk | |
{{ns:14}} or {{ns:Category}}
|
Category | {{ns:15}} or {{ns:Category talk}}
|
Category talk |
Formatting functions
Usage | Input → Output | Description |
---|---|---|
{{lc:string}}
|
{{lc:DATA CENTER}} → data center
|
The lowercase input. |
{{lcfirst:string}}
|
{{lcfirst:DATA center}} → dATA center
|
The input with the first character lowercase. |
{{uc:string}}
|
{{uc:text transform}} → TEXT TRANSFORM
|
The uppercase input. |
{{ucfirst:string}}
|
{{ucfirst:text TRANSFORM}} → Text TRANSFORM
|
The input with the first character uppercase. |
{{padleft:xyz|stringlength}} {{padleft:xyz|strlen|char}} {{padleft:xyz|strlen|string}}
|
{{padleft:xyz|5}} → 00xyz{{padleft:xyz|5|_}} → __xyz {{padleft:xyz|5|abc}} → abxyz {{padleft:xyz|2}} → xyz{{padleft:|1|xyz}} → x (first character of the string) |
Inserts a string of padding characters (parameter 3) of a specified length (parameter 2) next to a chosen base character or variable (first parameter). The final digits or characters in the base replace the final characters in the padding. The padding string may be truncated if its length does not evenly divide the required number of characters. |
{{padright:xyz|stringlength}} {{padright:xyz|strlen|char}} {{padright:xyz|strlen|string}}
|
{{padright:xyz|5}} → xyz00
|
Identical to padleft, but adds padding characters to the right side. |
{{plural:2|is|are}}
|
{{plural:0|is|are}} → are{{plural:1*1|is|are}} → is{{plural:21 mod 10|is|are}} → are{{plural:{{#expr:21 mod 10}}|is|are}} → is{{plural:1|is|are}} → is{{plural:2|is|are}} → are
|
Outputs the singular form (second parameter) if the first parameter is an expression equalling one; the plural form (third parameter) otherwise. Plural transformations are used for languages like Russian based on "count mod 10". |
{{#titleparts: pagename | number of segments to return | first segment to return }}
|
|
Separates a pagetitle into segments based on slashes, then returns some of those segments as output. If the number of segments parameter is not specified, it defaults to "0", which returns all the segments. If the first segment parameter is not specified or is "0", it defaults to "1":
|
Miscellaneous functions
Usage | Output | Description |
---|---|---|
{{#special:special page name}}
|
Special:Special page name Special:UserLogin |
The localized name for the given Special: page. |
{{gender:username
|
(depends on the named user's gender) | A switch for the gender set in Special:Preferences Note: If 3rd parameter is omitted and user hasn't defined his/her gender, then |
Managing files and pages
Moving (renaming) a page
Deleting a page
Importing files from another wiki
See Special:Import and Special:Export.
System Information
Nottinghack Wiki is running MediaWiki 1.35.1
. See:
- Detailed version information and the list of extensions
- The Interwiki Table
- Usage statistics
- The gallery or list of recently uploaded files.
- Unused files that might not be needed.
- Other SpecialPages
See also
- A shorter wiki markup reference on Wikipedia.