Template:Infobox Game Fancy and Help:Editing: Difference between pages

From Looney Pyramid Games Wiki
(Difference between pages)
Content added Content deleted
imported>Umjahwa
(Updated to match the current infobox)
 
imported>Daniel Cristofani
(→‎Links, URLs: Worth noting.)
 
Line 1: Line 1:
{{WikiImportFrom|MediaWiki|}}
{| align=right cellpadding=2 width=250 style="margin-left:1em; float:right;" class="toccolours"
The text of this page is reproduced under the terms of the [http://en.wikipedia.org/wiki/Wikipedia:Text_of_the_GNU_Free_Documentation_License GNU Free Documentation License].
|-
! colspan=3 style="background: #ddd;" | <big>[[Name::{{{subject_name|}}}]]<noinclude>Game</noinclude></big>
|-
| colspan=3 align=center style="border-bottom: 1px solid;" |'' {{{designer|unknown}}} {{#set: Designer={{#invoke: Infobox Tools | clean_designer | {{{designer|unknown}}} }}|+sep=,}}<noinclude>Designer</noinclude>''
|-
| colspan=3 align=center |{{{image_link|}}}<noinclude>(Image)</noinclude>
|-
| colspan=3 align=center style="border-bottom: 1px solid;" | {{{description|}}} {{#set: Description={{#invoke: Infobox Tools | clean_description | {{{description|not given}}} }} }}<noinclude>Description</noinclude>
|-
| style="width: 10%" | {{PL|:Players||25px}}
! style="width: 40%" align=right | Players:
| style="width: 50%" | [[Min Players::{{{min_players|}}}]] {{#if: {{{min_players|}}} | {{#if: {{{max_players|}}} | - }}}} [[Max Players::{{{max_players|}}}]]
|-
| {{PL|:Time||25px}}
! align=right | Length:
| [[Game Length::{{#if: {{{game_length|}}} | {{{game_length}}} | {{#invoke: Infobox Tools | guess_length | {{{min_playing_time|}}} | {{{max_playing_time|}}} }} }}]]
|-
| {{PL|:Complexity||25px}}
! align=right | Complexity:
| [[Rules Complexity::{{#if: {{{complexity|}}} | {{{complexity}}} | unknown}}]]


==General==
|-
! colspan=2 align=right width="50%" valign=top | Trios per color:
| [[Trios per color::{{#if: {{{trios_per_color|}}} | {{{trios_per_color}}} | {{#invoke: Infobox Tools | guess_trios_per_color | {{{sets|}}} }} }}]]


To edit a [[Wikipedia:MediaWiki|MediaWiki]] page, click on the "'''Edit this page'''" (or just "'''edit'''") link at one of its edges. This will bring you to a page with a text box containing the ''[[Wikipedia:wikitext|wikitext]]'': the editable source code from which the server produces the webpage. For the special codes, see below.
|-
! colspan=2 align=right valign=top | Number of colors:
| [[Number of colors::{{#if: {{{number_of_colors|}}} | {{{number_of_colors}}} | {{#invoke: Infobox Tools | guess_number_of_colors | {{{stashes|}}} }} }}]]


After adding to or changing the wikitext it is useful to press "Preview", which produces the corresponding webpage in your browser but does not make it publicly available yet (not until you press "Save"). Errors in formatting, links, tables, etc., are often much easier to discover from the rendered page than from the raw wikitext.
|- {{#if: {{{trios|}}} | style="display: none;" | style="display: none;" }}
! colspan=2 align=right width="50%" valign=top | Pyramid trios:
| [[Trios::{{{trios|}}}]]


If you are not satisfied you can make more changes and preview the page as many times as necessary. Then write a short [[Wikipedia:Help:Edit summary|edit summary]] in the small text field below the edit-box and when finished press "Save". Depending on your system, pressing the "Enter" key while the edit box is not active (i.e., there is no typing cursor in it) may have the same effect as pressing "Save".
|- {{#if: {{{stashes|}}} | style="display: none;" | style="display: none;" }}
! colspan=2 align=right valign=top | Monochr. stashes:
| [[Stashes::{{{stashes|}}}]]


You may find it more convenient to copy and paste the text first into your favorite [[Wikipedia:text editor|text editor]], edit and spell check it there, and then paste it back into your [[Wikipedia:web browser|web browser]] to preview. This way, you can also keep a local backup copy of the pages you have edited. It also allows you to make changes offline, but before you submit your changes, ''please make sure nobody else has edited the page'' since you saved your local copy (by checking the [[Wikipedia:Help:page history|page history]]), otherwise you may accidentally revert someone else's edits. If someone ''has'' edited it since you copied the page, you'll have to merge their edits into your new version (you can find their specific edits by using the "[[Wikipedia:Help:diff|diff]]" feature of the page history). These issues are handled automatically by the Mediawiki software if you edit the page online, retrieving and submitting the wikicode in the same text box.
|- {{#if: {{{sets|}}} | style="display: none;" | style="display: none;" }}
! colspan=2 align=right valign=top | Five-color sets:
| [[Sets::{{{sets|}}}]]


See also [[MediaWiki architecture]].
|- {{#if: {{{other_equip|}}} | | style="display: none;" }}
! colspan=3 align=center | - - - - - - Other equipment - - - - - -


== Dummy edit ==
|- {{#if: {{{other_equip|}}} | | style="display: none;" }}
| colspan=3 align=center | {{#invoke: Infobox Tools | linkify_equip | {{{other_equip|}}} }} {{#set:|Other Equipment={{#invoke: Infobox Tools | clean_equip | {{{other_equip|}}} }}|+sep=,}}


If the wikitext is not changed no edit will be recorded and the edit summary is discarded.
|- {{#if: {{{setup_time|}}} | | style="display: none;" }}
! colspan=2 align=right valign=top | Setup time:
| [[Setup Time::{{{setup_time|}}}]]


A dummy edit is a change in wikitext that has no effect on the rendered page, such as changing the number of [[Wikipedia:newline|newline]]s at some position from 0 to 1 or from 2 to 3 or conversely (changing from 1 to 2 makes a difference, see below). This allows an edit summary, and is useful for correcting a previous edit summary, or an accidental marking of a previous edit as "minor" (see below). Also it is sometimes needed to refresh the cache of some item in the database, see e.g. [[Wikipedia:Help:Category#A_category_tag_in_a_template.3B_caching_problem|A category tag in a template; caching problem]].
|- {{#if: {{{min_playing_time|}}}{{{max_playing_time|}}} | | style="display: none;" }}
! colspan=2 align=right valign=top | Playing time:
| [[Min Playing Time::{{{min_playing_time|}}}]] {{#if: {{{min_playing_time|}}} | {{#if: {{{max_playing_time|}}} | - }}}} [[Max Playing Time::{{{max_playing_time|}}}]]


== Minor edits ==
|- {{#if: {{{strategy|}}} | | style="display: none;" }}
When editing a page, a [http://meta.wikimedia.org/wiki/Help:Logging_in logged-in] user has the option of flagging the edit as a "minor edit". When to use this is somewhat a matter of personal preference. The rule of thumb is that an edit of a page that is spelling corrections, formatting, and minor rearranging of text should be flagged as a "minor edit". A major edit is basically something that makes the entry worth relooking at for somebody who wants to watch the article rather closely, so any "real" change, even if it is a single word. This feature is important, because users can choose to ''hide'' minor edits in their view of the [http://meta.wikimedia.org/wiki/Help:Recent_changes Recent Changes page], to keep the volume of edits down to a manageable level.
! colspan=2 align=right valign=top | Strategy depth:
| [[Strategy Depth::{{{strategy|}}}]]


The reason for not allowing a user who is not logged in to mark an edit as minor is that vandalism could then be marked as a minor edit, in which case it would stay unnoticed longer. This limitation is another reason to log in.
|- {{#if: {{{random_chance|}}} | | style="display: none;" }}
! colspan=2 align=right valign=top | Random chance:
| [[Random Chance::{{{random_chance|}}}]]


== The wiki markup ==
|- {{#if: {{{game_mechanics|}}}{{{mechanic1|}}}{{{mechanic2|}}} | | style="display: none;" }}
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.
! colspan=2 align=right valign=top | Game mechanics:
| {{#invoke: Infobox Tools | linkify_mechs | {{{game_mechanics|}}} | {{{mechanic1|}}} | {{{mechanic2|}}} }} {{#set: |Game Mechanics={{#invoke: Infobox Tools | clean_mechs | {{{game_mechanics|}}} | {{{mechanic1|}}} | {{{mechanic2|}}}}} |+sep=,}}


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]].
|- {{#if: {{{theme|}}} | | style="display: none;" }}
! colspan=2 align=right valign=top | Theme:
| [[Primary Theme::{{#invoke: Infobox Tools | clean_theme | {{{theme|}}} }}]]


=== Sections, paragraphs, lists and lines ===
|- {{#if: {{{BGG_Link|}}} | | style="display: none;" }}
<table border="1" cellpadding="2" cellspacing="0">
! colspan=2 align=right valign=top | BGG Link:
<tr>
| {{{BGG_Link|}}} {{#set:BGG Link={{#if: {{{BGG_Link|}}} | {{clean URL | {{{BGG_Link}}} }} | }} }}
<th>What it looks like</th>
|-
<th>What you type</th>
! colspan=3 valign=top style="border-bottom: 1px solid;" |
</tr>
|-
<tr>
| colspan=3 valign=top style="font-size: x-small"| '''Status:''' [[Status::{{{game_status|complete?}}}]] (v[[Version Num::{{{version_num|1.0}}}]]), '''Year released:''' [[Year::{{{release_year|2987}}}]]
<td>
|-
Start your sections with header lines:
| colspan=3 valign=top style="display: none;"| {{#set: Language={{{language|English}}} }}
|-
| colspan=3 valign=top | {{{footnotes|}}}<noinclude>Footnotes</noinclude>
|}
<noinclude>
This is a new and improved infobox to accompany the resurrection of the wiki in November of 2016. Every game should have a infobox since the parameters are automatically scanned and added to the game entry in the database. A properly filled out infobox will eventually replace most functionality provided by Categories and will greatly improve the searching and finding of games.


<!-- This is the original
This infox box replaced the old box on Nov. 12, 2016. This page has been kept for testing purposes (for now).
== New section ==
=== Subsection ===
==== Sub-subsection ====
-->


<!-- next set
Change list:
<h2> New section </h2>
* Added player count, game length, and rule complexity icons
<h3> Subsection </h3>
* Added options for "game_length", "trios", "game_mechanics", "game_status", & "release_year"
<h4> Sub-subsection </h4>
* Compressed min & max player count and min & max playing time to single lines separated by a dash when both variables are defined (note: the variables are still mapped to separate properties, only the infobox display is different)
-->
* Now powered by ParserFunctions and Lua!
** Omitted or empty parameters will be automatically hidden. (looks cleaner)
** Lua scripts are used to intelligently read certain data rows. (fixes processing errors)
** "designer", "other_equip", & "game_mechanics" can now accept comma separated lists that will be split into separate multiple values of the same semantic property (better for searching).
** "other_equip" and "game_mechanics" automatically generate links to the related wiki pages (easier browsing)


<!-- This code prevents confusion in the section editing feature-->
Note: all of the original parameters are included with the exact same variable names as the original infobox. In theory, this template could be swapped with the existing template without breaking anything... however, there is a lot more testing that needs to be done and the design needs to be vetted by the wiki administrators as well as the more senior wiki users. Please do not use this infobox on any of the current game pages.
<b><font style="font-size:120%"> New section </font></b>


<b><font style="font-size:110%"> Subsection</font></b>
'''Instructions for use of Infobox_Game:'''


<b><font style="font-size:100%"> Sub-subsection</font></b>
To display a game infobox on a game entry, enter the following code at the very top of the page:


</td>
<td><pre><nowiki>

== New section ==

=== Subsection ===

==== Sub-subsection ====
</nowiki></pre>
</td>
</tr>
<tr>
<td>
[[en:newline|Newline]]:

A single
newline
has no
effect on the
layout.

But an empty line
starts a new paragraph.

(<nowiki><p></nowiki> disables this paragraphing until <nowiki></p></nowiki> or the end of the section)

(in Cologne Blue two newlines and a div tag give just one newline; in the order newline, div tag, newline, the result is two newlines)

</td>
<td>
<pre><nowiki>
<pre><nowiki>

{{Infobox_Game
A single
| subject_name=
newline
| designer=
has no
| image_link=
effect on the
| description=
layout.
| min_players=

| max_players=
But an empty line
| game_length=
starts a new paragraph.</nowiki></pre>
| complexity=
</td>
| trios_per_color=
</tr>
| number_of_colors=
<tr valign="top"><td>You can break lines<br>
| other_equip=
without starting a new paragraph.<p>
| setup_time=
Sufficient as wikitext code is &lt;br&gt;, the XHTML code &lt;br /&gt; is not needed, the system produces this code.</p></td>
| min_playing_time=
<td><pre><nowiki>You can break lines<br>
| max_playing_time=
without starting a new paragraph.</nowiki></pre>
| strategy=
</td>
| random_chance=
</tr>
| game_mechanics=
<tr>
| theme=
<td>
| BGG_Link=
* Lists are easy to do:
| game_status=
** start every line with a star
| version_num=
*** more stars means deeper levels
| release_year=
*A newline
| language=English
*in a list
| footnotes=
marks the end of the list.
}}
*Of course
*you can
*start again.

</td>
<td><pre><nowiki>* Lists are easy to do:
** start every line with a star
*** more stars means deeper levels
*A newline
*in a list
marks the end of the list.
*Of course
*you can
*start again.

</nowiki></pre>
</nowiki></pre>
</td>
</tr>
<tr>
<td>
# Numbered lists are also good
## very organized
## easy to follow
#A newline
#in a list
marks the end of the list.
#New numbering starts
#with 1.


</td>
Each keyword on the left is used to fill in the appropriate section of the infobox. Please enter your values directly after the equal sign (=) on each row. Feel free to leave some of the parameters blank (as indicated below). If a parameter is left blank, the related row of the infobox will not be displayed. Note: due to this behavior, not all data rows are shown in the example infobox on this page. The order in which the rows are displayed in the infobox is determined by the template. Rearranging the rows of your inputs will have no affect.
<td><pre><nowiki># Numbered lists are also good
## very organized
## easy to follow
#A newline
#in a list
marks the end of the list.
#New numbering starts
#with 1.
</nowiki></pre>
</td>
</tr>
<tr>
<td>
* You can even do mixed lists
*# and nest them
*#* like this<br>or have newlines<br>inside lists
</td>
<td><pre><nowiki>* You can even do mixed lists
*# and nest them
*#* like this<br>or have newlines<br>inside lists</nowiki></pre>
</td>
</tr>
<tr>
<td>
* You can also
**break lines<br>inside lists<br>like this
</td>
<td><pre><nowiki>* You can also
**break lines<br>inside lists<br>like this</nowiki></pre>
</td>
<tr>
<td>
; Definition list : list of definitions
; item : the item's definition
</td>
<td><pre><nowiki>; Definition list : list
of definitions
; item : the item's definition</nowiki></pre>
</td>
</tr>
<tr>
<td>
:A colon indents a line or paragraph.
A manual newline starts a new paragraph.
* This is primarily for displayed material, but is also used for discussion on [[Help:Talk page|Talk page]]s.
</td>
<td><pre><nowiki>: A colon indents a line or paragraph.
A manual newline starts a new paragraph.
</nowiki></pre>
</td>
</tr>
<tr valign=top>
<td>
<pre><nowiki>IF a line of plain text starts with a space THEN
it will be formatted exactly
as typed;
in a fixed-width font;
lines won't wrap;
ENDIF
this is useful for:
* pasting preformatted text;
* algorithm descriptions;
* program source code
* ASCII art;
* chemical structures;</nowiki></pre>


WARNING If you make it wide,
The following list describes how to set all the values in the info box, from top to bottom. It lists the parameter name and the related displayed in the infobox, followed by details about what it represents and exactly what needs to be set.
you [[en:page widening|force the whole page to be wide]] and
hence less readable. Never start ordinary lines with spaces.<br>
<center>(see also below)</center>
</td>
<td><pre><nowiki> IF a line of plain text starts with a space THEN
it will be formatted exactly
as typed;
in a fixed-width font;
lines won't wrap;
ENDIF
this is useful for:
* pasting preformatted text;
* algorithm descriptions;
* program source code
* ASCII art;
* chemical structures;</nowiki></pre></td>
</tr>
<tr valign="top"><td><p align="center">Centered text.</p>
</td>
<td><pre><nowiki><p align="center">Centered text.</p></nowiki></pre>
</td>
</tr>
<tr>
<td>A [[en:horizontal dividing line|horizontal dividing line]]: above
----


and below.
'''parameter name --> ''Display row in Infobox'''''


Mainly useful for separating threads on Talk pages.
</td>
<td><pre><nowiki>A horizontal dividing line: above
----
and below. </nowiki></pre>
</td>
</tr>
</table>


Summarizing the effect of a single newline: no effect in general, but it ends a list item or indented part; thus changing some text into a list item, or indenting it, is more cumbersome if it contains newlines, they have to be removed; see also [[w:Wikipedia:Don't use line breaks]].


=== Links, URLs ===
'''subject_name --> replaces ''Game''''' (REQUIRED)
:The name of the game.
:<pre>subject_name=Zendo</pre>


<table border="1" cellpadding="2" cellspacing="0">
'''designer --> replaces ''Designer''''' (REQUIRED)
<tr>
:The name (or names) of the person (or persons) who created the game. If designer has a page on icehousegames.org, you can enclose the name in double square brackets to provide a link to that person's page. Note: you also can link to a user page by typing <nowiki>[[User:USERNAME|display name]]</nowiki>
<th>What it looks like</th>
:<pre>designer=<nowiki>Andrew Looney</nowiki></pre>
<th>What you type</th>
</tr>
<tr valign="top"><td>Sue is reading the [[video policy]].
*First letter of target is automatically capitalized.
*Internal spaces are automatically represented as underscores (typing an underscore has the same effect as typing a space, but is not recommended).
Thus the [[link]] above is to <nowiki>http://meta.wikipedia.org/wiki/Video_policy</nowiki>, which is the page with the name "Video policy".
</td>
<td><pre><nowiki>Sue is reading the [[video policy]].</nowiki></pre>
</td>
</tr>
<tr><td>
Link to a section on a page, e.g.
[[List_of_cities_by_country#Morocco]]; when section editing does not work the link is treated as link to the page, i.e. to the top; this applies for:
*links to non-existent sections
*links in redirects
*interwiki links</td><td>
<pre><nowiki>[[List_of_cities_by_country#Morocco]].</nowiki></pre></td>
</tr>
<tr valign="top"><td>Link target and link label are different: [[User:Larry Sanger|answers]].


(This is called a [[piped link]]).
'''image_link --> replaces ''(Image)''''' (optional)
</td>
:A link to a small icon or thumbnail-sized image that provides visual information about the game. The first part of this parameter is the name of the image, the second part is the size, and the third part is the mouseover text. It is enclosed in double square brackets. '''Please do not set the size any larger than 250px!'''
<td><pre><nowiki>Same target, different name:
:<pre>image_link=<nowiki>[[Image:Pic76724.jpg|250px|A Zendo game]]</nowiki></pre>
[[User:Larry Sanger|answers]]</nowiki></pre>
</td>
</tr>
<tr valign="top">
<td>Endings are blended into the link: [[official position]]s, [[gene]]s</td>
<td>
<pre><nowiki>Endings are blended
into the link: [[official position]]s, [[gene]]s</nowiki></pre>
</td>
</tr>
<tr valign="top">
<td>
Automatically hide stuff in parentheses: [[kingdom (biology)|kingdom]].
<p>Automatically hide namespace: [[Wikipedia:Village pump|Village pump]].</p>
<p>The server fills in the part after the | character when you save the page.<!-- Next time you open the edit box you will see the expanded piped link. A preview interprets the abbreviated form correctly, but does not expand it yet in the edit box. Press Save and again Edit, and you will see the expanded version. The same applies for the following feature.--></p>
</td>
<td>
<pre><nowiki>Automatically hide stuff in parentheses:
[[kingdom (biology)|]]. </nowiki></pre>
<pre><nowiki>Automatically hide namespace:
[[Wikipedia:Village pump|]].</nowiki></pre>
</td></tr>
<tr>
<td>
A link to a category, such as [[:Category:Zendo jargon]] may include pipes and suffixes. [[:Category:Jargon|buzzword]]s, [[:Category:Icehouse jargon|Icehouse jargon]].
</td>
<td>
<nowiki>A link to a category, such as
[[:Category:Zendo jargon]]
may include pipes and suffixes.
[[:Category:Jargon|Buzzword]]s,
[[:Category:Icehouse jargon|]].</nowiki>
</td>
</tr>
<tr>
<td>When adding a comment to a Talk page,
you should sign it. You can do this by
adding four tildes for user name plus date/time:
: [[User:Karl Wick|Karl Wick]] 08:10 Oct 5, 2002 (UTC)
or three for just your user name:
: [[User:Karl Wick|Karl Wick]]
Five tildes gives just the timestamp:
: 08:10 Oct 5, 2002 (UTC)
</td>
<td><pre><nowiki>When adding a comment to a Talk page,
you should sign it. You can do this by
adding four tildes for user name plus date/time:
: ~~~~
or three for just your user name:
: ~~~
Five tildes gives just the timestamp:
: ~~~~~</nowiki></pre>
</td>
</tr>
<tr valign="top"><td>[[The weather in London]] is a page that doesn't exist yet.
*You can create it by clicking on the link.
*To create a new page:
*#Create a link to it on some other page.
*#Save that page.
*#Click on the link you just made. The new page will open for editing.
*Have a look at [[MediaWiki User's Guide: Starting a new page|how to start a page]] guide and the naming conventions page for your project.
</td>
<td><pre><nowiki>[[The weather in London]] is a page
that doesn't exist yet.</nowiki></pre>
</td>
</tr>
<tr valign="top"><td>
[[MediaWiki User's Guide: Using redirects|Redirect]] one article title to another by putting text like this in its first line.
</td>
<td><pre><nowiki>#REDIRECT [[United States]]</nowiki></pre>
</td>
</tr>
<tr valign="top"><td>
A link to the page on the same subject in another language or, more generally, to a page on another wiki:
[[:fr:Wikipédia:Aide]].
For more info see [[MediaWiki User's Guide: Interwiki linking]].
</td>
<td><pre><nowiki>[[fr:Wikipédia:Aide]], [[:fr:Wikipédia:Aide]]</nowiki></pre></td>
</tr>
<tr>
<td>"What links here" and "Related changes" can be linked as:<br/>
[[Special:Whatlinkshere/Wikipedia:How to edit a page]] and
[[Special:Recentchangeslinked/Wikipedia:How to edit a page]]
</td>
<td><pre><nowiki>
[[Special:Whatlinkshere/
Wikipedia:How to edit a page]] and
[[Special:Recentchangeslinked/
Wikipedia:How to edit a page]]</nowiki></pre>
</td>
</tr>
<tr valign="top"><td>External links: [http://www.nupedia.com Nupedia], [http://www.nupedia.com]
</td>
<td><pre><nowiki>External links:
[http://www.nupedia.com Nupedia],
[http://www.nupedia.com]</nowiki></pre>
</td>
</tr>
<tr valign="top"><td>Or just give the URL: http://www.nupedia.com.
*In the [[en:URL|URL]] all symbols must be among: A-Z a-z 0-9 ._\/~%-+&amp;#?!=()@ \x80-\xFF. If a URL contains a different character it should be converted; for example, ^ has to be written %5E (to be looked up in [[en:ASCII|ASCII]]). A blank space can also be converted into an underscore.
</td>
<td><pre><nowiki>Or just give the URL:
http://www.nupedia.com.</nowiki></pre>
</td>
</tr>
<tr>
<td>
To link to books, you can use [[en:ISBN|ISBN]] links.
ISBN 0123456789X See [[Help:ISBN links]]
</td>
<td>
<pre><nowiki>ISBN 0123456789X</nowiki></pre>
</td>
<tr>
<td>
Link to [[w:Request for Comments|Request for Comments]]: RFC 123 (URL specified in [[mediawiki:Rfcurl]])
</td>
<td>
<pre><nowiki>RFC 123</nowiki></pre>
</td>
<tr>
<td>
To include links to non-image uploads such as sounds, use a "media" link. (Also to include links to image uploads such as images!)
<br/>[[media:Sg_mrob.ogg|Sound]]
</td>
<td>
<pre>
<nowiki>
[[media:Sg_mrob.ogg|Sound]]
</nowiki></pre>
</td>
</tr>
<tr valign=top>
<td>Use links for dates, so everyone can set their own display order. Use [[Special:Preferences]] to change your own date display setting.
</td>
<td><pre><nowiki>[[July 20]], [[1969]] , [[20 July]] [[1969]]
and [[1969]]-[[07-20]]
</nowiki></pre>will all appear as [[20 July]] [[1969]] if you set your date display preference to 1 January 2001.
</td>
</tr>


<tr>
'''description --> replaces ''Description''''' (optional)
<td>Some sister wikis are available through shortcuts. Here are some of them for this site. <!-- where's the complete list? -->
:A very brief explanation (i.e. just a sentence or maybe two) of the game.
* English language Wikipedia
:<pre>description=A fast-paced, multiplayer game with a 'Treasure Hunter' theme that is played on a checker board.</pre>
[[Wikipedia:Special:Randompage]]
* Meta Wikimedia
[[MetaWikipedia:Special:Randompage]]
</td>
<td><pre><nowiki>
* English language Wikipedia
[[Wikipedia:Special:Randompage]]
* Meta Wikimedia
[[MetaWikipedia:Special:Randompage]]
</nowiki></pre>
</td>
</tr>


</table>
'''min_players --> ''Players:''' (left-hand side of dash)'' (optional but highly recommended)


=== Images ===
'''max_players --> ''Players:''' (right-hand side of dash)'' (optional but highly recommended)
:The minimum and maximum number of players that can play the game. When both values are provided, they will be separated by a dash in the "Players" row of the infobox. When only one or the other is given, it will display by itself. For consistency of searching the database, please indicate solitaire or 2-player only games by leaving "min_players" blank and setting "max_players" to the correct value
:<pre>min_players=3</pre>
:<pre>max_players=100</pre>


See [[Help:Image]].
'''game_length --> ''Length:''''' (optional but highly recommended)
:Single descriptive word for how long it takes to play the game. Please use one of the following: "Fast" (for 5-10 min games, 15 min max), "Medium" (for 10-30 min, 45 min max), and "Long" (for games lasting more than 30+ min)
:<pre>game_length=Fast</pre>


=== Character formatting ===
'''complexity --> ''Complexity''''' (optional but highly recommended)
:The relative complexity of the game. Suitable values for this parameter are: "Simple", "Medium", or "Complex" ("Low" and "High" are also valid but will be eventually phased out). This rating is somewhat subjective; a good measure of a game's complexity is how easy it is to describe or learn the valid moves for each turn. A game with few rules and few options, like Tic-Tac-Toe (Noughts and Crosses), has Simple complexity.
:<pre>complexity=Simple</pre>


<table border="1" cellpadding="2" cellspacing="0">
'''trios --> ''Pyramid trios:''''' (optional but highly recommended)
<tr>
<th>What it looks like</th>
<th>What you type</th>
</tr>


<tr valign="top">
'''stashes --> ''Icehouse stashes:'''''
<td>
''Emphasize'', '''strongly''', '''''very strongly'''''.
*These are double and triple apostrophes, not double quotes.
</td>
<td>
<pre><nowiki>
''Emphasize'', '''strongly''', '''''very strongly'''''.
</nowiki></pre>
</td>
</tr>

<tr valign="top">
<td>
You can also write <i>italic</i> and <b>bold</b> if the desired effect<br/>
is a specific font style rather than emphasis, as in mathematical formulae:
:<b>F</b> = <i>m</i><b>a</b>
*However, the difference between these two methods is not very important for graphical browsers, and many people choose to ignore it.
</td>
<td>
<pre><nowiki>You can also write <i>italic</i> and <b>bold</b> if the desired effect</nowiki><br/><nowiki>
is a specific font style rather than emphasis, as in mathematical formulae:
:<b>F</b> = <i>m</i><b>a</b></nowiki></pre>
</td>
</tr>

<tr valign=top>
<td>
A teletype (<tt>typewriter</tt>) font.
</td>
<td>
<pre><nowiki>A teletype (<tt>typewriter</tt>) font.</nowiki></pre>
</td>
</tr>

<tr valign=top>
<td>
You can use <small>small text</small> for captions.
</td>
<td>
<pre><nowiki>You can use <small>small text</small> for captions.</nowiki></pre>
</td>
</tr>

<tr valign="top">
<td>
You can <strike>strike out deleted material</strike> and <u>underline new material</u>.
</td>
<td>
<pre><nowiki>You can <strike>strike out deleted material</strike> and <u>underline new material</u>.</nowiki></pre>
</td>
</tr>

<tr valign="top">
<td>
'''Umlauts and accents:''' (See [[meta:Help:Special characters|Meta-Wikimedia Help: Special characters]])<br/>
è é ê ë ì í<br/>
<br/>
&Agrave; &Aacute; &Acirc; &Atilde; &Auml; &Aring; <br/>
&AElig; &Ccedil; &Egrave; &Eacute; &Ecirc; &Euml; <br/>
&Igrave; &Iacute; &Icirc; &Iuml; &Ntilde; &Ograve; <br/>
&Oacute; &Ocirc; &Otilde; &Ouml; &Oslash; &Ugrave; <br/>
&Uacute; &Ucirc; &Uuml; &szlig; &agrave; &aacute; <br/>
&acirc; &atilde; &auml; &aring; &aelig; &ccedil; <br/>
&egrave; &eacute; &ecirc; &euml; &igrave; &iacute;<br/>
&icirc; &iuml; &ntilde; &ograve; &oacute; &ocirc; <br/>
&oelig; &otilde; &ouml; &oslash; &ugrave; &uacute; <br/>
&ucirc; &uuml; &yuml;
</td>
<td>
<pre><nowiki>
è é ê ë ì í

&amp;Agrave; &amp;Aacute; &amp;Acirc; &amp;Atilde; &amp;Auml; &amp;Aring;</nowiki><br/><nowiki>
&amp;AElig; &amp;Ccedil; &amp;Egrave; &amp;Eacute; &amp;Ecirc; &amp;Euml;</nowiki><br/><nowiki>
&amp;Igrave; &amp;Iacute; &amp;Icirc; &amp;Iuml; &amp;Ntilde; &amp;Ograve;</nowiki><br/><nowiki>
&amp;Oacute; &amp;Ocirc; &amp;Otilde; &amp;Ouml; &amp;Oslash; &amp;Ugrave;</nowiki><br/><nowiki>
&amp;Uacute; &amp;Ucirc; &amp;Uuml; &amp;szlig; &amp;agrave; &amp;aacute;</nowiki><br/><nowiki>
&amp;acirc; &amp;atilde; &amp;auml; &amp;aring; &amp;aelig; &amp;ccedil;</nowiki><br/><nowiki>
&amp;egrave; &amp;eacute; &amp;ecirc; &amp;euml; &amp;igrave; &amp;iacute;</nowiki><br/><nowiki>
&amp;icirc; &amp;iuml; &amp;ntilde; &amp;ograve; &amp;oacute; &amp;ocirc;</nowiki><br/><nowiki>
&amp;oelig; &amp;otilde; &amp;ouml; &amp;oslash; &amp;ugrave; &amp;uacute;</nowiki><br/><nowiki>
&amp;ucirc; &amp;uuml; &amp;yuml;
</nowiki></pre>
</td>
</tr>

<tr valign=top>
<td>
'''Punctuation:'''<br/>
&iquest; &iexcl; &laquo; &raquo; &sect; &para; &dagger; &Dagger; &bull; &mdash;
</td>
<td>
<pre><nowiki>
&amp;iquest; &amp;iexcl; &amp;laquo; &amp;raquo; &amp;sect; &amp;para; &amp;dagger; &amp;Dagger; &amp;bull; &amp;mdash;
</nowiki></pre>
</td>
</tr>

<tr valign="top">
<td>
'''Commercial symbols:'''<br/>
&trade; &copy; &reg; &cent; &euro; &yen; &pound; &curren;
</td>
<td>
<pre><nowiki>
&amp;trade; &amp;copy; &amp;reg; &amp;cent; &amp;euro; &amp;yen; &amp;pound; &amp;curren;
</nowiki></pre>
</td>
</tr>

<tr valign="top" id="subscript">
<td>
Subscript: x<sub>2</sub><br/>
Superscript: x<sup>2</sup> or x&sup2;
*The latter method of superscript 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.
<br/>
<br/>
1 [[hectare]] = [[1 E4 m²]]
</td>
<td>
<pre><nowiki>
Subscript: x<sub>2</sub></nowiki><br/><nowiki>
Superscript: x<sup>2</sup> or x&amp;sup2;

or in projects with the templates sub and sup:

Subscript: x{{sub|2}}</nowiki><br/><nowiki>
Superscript: x{{sup|2}}

&amp;epsilon;<sub>0</sub> = 8.85 &amp;times; 10<sup>&amp;minus;12</sup> C&amp;sup2; / J m.

1 [[hectare]] = [[1 E4 m²]]
</nowiki></pre>
</td>
</tr>

<tr valign="top">
<td>
'''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;
</td>
<td>
<pre><nowiki>
&amp;alpha; &amp;beta; &amp;gamma; &amp;delta; &amp;epsilon; &amp;zeta;</nowiki><br/><nowiki>
&amp;eta; &amp;theta; &amp;iota; &amp;kappa; &amp;lambda; &amp;mu; &amp;nu;</nowiki><br/><nowiki>
&amp;xi; &amp;omicron; &amp;pi; &amp;rho; &amp;sigma; &amp;sigmaf;</nowiki><br/><nowiki>
&amp;tau; &amp;upsilon; &amp;phi; &amp;chi; &amp;psi; &amp;omega;</nowiki><br/><nowiki>
&amp;Gamma; &amp;Delta; &amp;Theta; &amp;Lambda; &amp;Xi; &amp;Pi;</nowiki><br/><nowiki>
&amp;Sigma; &amp;Phi; &amp;Psi; &amp;Omega;
</nowiki></pre>
</td>
</tr>

<tr valign="top">
<td>
'''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;
</td>
<td valign="middle">
<pre><nowiki>
&amp;int; &amp;sum; &amp;prod; &amp;radic; &amp;minus; &amp;plusmn; &amp;infin;</nowiki><br/><nowiki>
&amp;asymp; &amp;prop; &amp;equiv; &amp;ne; &amp;le; &amp;ge; &amp;rarr;</nowiki><br/><nowiki>
&amp;times; &amp;middot; &amp;divide; &amp;part; &amp;prime; &amp;Prime;</nowiki><br/><nowiki>
&amp;nabla; &amp;permil; &amp;deg; &amp;there4; &amp;alefsym; &amp;oslash;</nowiki><br/><nowiki>
&amp;isin; &amp;notin; &amp;cap; &amp;cup; &amp;sub; &amp;sup; &amp;sube; &amp;supe;</nowiki><br/><nowiki>
&amp;not; &amp;and; &amp;or; &amp;exist; &amp;forall; &amp;rArr; &amp;hArr;</nowiki><br/><nowiki>
&amp;rarr; &amp;harr;
</nowiki></pre>
</td>
</tr>

<tr valign="top">
<td>
<i>x</i><sup>2</sup>&nbsp;&nbsp;&nbsp;&ge;&nbsp;&nbsp;&nbsp;0 true.
*To space things out, use non-breaking spaces - <tt>&amp;nbsp;</tt>.
*<tt>&amp;nbsp;</tt> also prevents line breaks in the middle of text, this is useful in formulae.
</td>
<td>
<pre><nowiki>
<i>x</i><sup>2</sup>&amp;nbsp;&amp;nbsp;&amp;ge;&amp;nbsp;&amp;nbsp;0 true.
</nowiki></pre>
</td>
</tr>

<tr>
<td>
'''Complicated formulae:'''<br/>
&nbsp;&nbsp;<math>\sum_{n=0}^\infty \frac{x^n}{n!}</math>
* See [[meta:Help:Formula|Meta-Wikimedia TeX markup]]
</td>
<td>
<pre><nowiki>
<math>\sum_{n=0}^\infty \frac{x^n}{n!}</math>
</nowiki></pre>
</td>
</tr>

<tr>
<td>
'''For comparison for the following examples:'''<br/>
arrow &rarr;

''italics''
[[link]]
</td>
<td valign="bottom">
<pre><nowiki>
arrow &amp;rarr;

''italics''
[[link]]
</nowiki></pre>
</td>
</tr>

<tr>
<td>
'''Use &lt;nowiki> to suppress interpretation of wiki markup, but interpret character references and remove newlines and multiple spaces:'''<br/>
<nowiki>arrow &rarr;

''italics''
[[link]]</nowiki>
</td>
<td valign="bottom">
<pre><nowiki>
<nowiki>arrow &amp;rarr;

''italics''
[[link]]</nowiki>
</nowiki></pre>
</td>
</tr>

<tr>
<td>
'''Use &lt;pre> to suppress interpretation of wiki markup and keep newlines and multiple spaces, and get typewriter font, but interpret character references:'''<br/>
<pre>arrow &rarr;

''italics''
[[link]]</pre>
</td>
<td valign="bottom">
<pre><nowiki>
<pre>arrow &amp;rarr;

''italics''
[[link]]</pre>
</nowiki></pre>
</td>
</tr>

<tr>
<td>
'''Use leading space on each line to keep newlines and multiple spaces, and get typewriter font:'''<br/>
arrow &rarr;
''italics''
[[link]]
</td>
<td valign="bottom">
<pre><nowiki>
arrow &amp;rarr;
''italics''
[[link]]
</nowiki></pre>
</td>
</tr>

<tr>
<td>
'''Use typewriter font:'''<br/>
<tt>arrow &rarr;</tt>
<tt>''italics''</tt>
<tt>[[link]]</tt>
</td>
<td valign="bottom">
<pre><nowiki>
<tt>arrow &amp;rarr;</tt>
<tt>''italics''</tt>
<tt>[[link]]</tt>
</nowiki></pre>
</td>
</tr>

<tr>
<td>
'''Show character references by writing out the leading ampersand:'''<br/>
&amp;rarr;
</td>
<td valign="bottom">
<pre>&amp;amp;rarr;</pre>
</td>
</tr>

<tr>
<td>
'''Commenting page source:'''<br/>
''not shown in page''
* Used to leave comments in a page for future editors.
</td>
<td>
<pre><nowiki>
<!-- comment here -->
</nowiki></pre>
</td>
</tr>
</table>


=== Wiki tables ===
'''sets --> ''Treehouse sets:'''''
:The minimum number pyramids needed to play the game. Each parameter denotes a different method of counting pyramids. "Trios" indicates a single set of one small, medium, and large pyramid or the same color. A "Icehouse stash" is 5 pyramids of each size, all of the same color (i.e. 5 trios). A "Treehouse set" is 5 trios, each of a ''different'' color (often called "Rainbow" or "Xeno" stashes). You are free to use whichever parameter makes the most sense for your game. However, so as to avoid confusion, '''please use only one of the three parameters and leave the other two blank!'''
:<pre>trios=3</pre>
:<pre>stashes=1 per player</pre>
:<pre>sets=2</pre>


Wiki tables have a simple syntax and can be quite useful as well. See [[Help:Table]].
'''other_equip --> ''Other equipment:''''' (optional)
:A comma separated list of any equipment, other than the pyramids, which is required to play the game. Additional equipment that is often used with Icehouse pyramid games include: D6 dice, Playing cards, Poker chips, Martian Coasters, Treehouse dice, Chessboard, etc. Please do not embed wiki links to the component category pages! This infobox is intelligent and will generate links automatically as long as you use standard terms and capitalize the first word or a component name (e.g. use Chessboard, not chessboard or chess board).
:<pre>other_equip=Six D10 dice, two decks of Playing cards.</pre>


==Templates==
'''setup_time --> ''Setup time:''''' (optional)
:How much time is required to arrange the game pieces or complete other processes, such as picking player teams or deciding on a starting player, before the actual gameplay can begin. Please use units of "Min" and do not use other text such as "less than" or "quick"; the use of any text other than the units will cause an error with loading the value into the game database.
:<pre>setup_time=5 Min</pre>


Some part of a page may correspond in the edit box to just a reference to another page, in the form <nowiki>{{</nowiki>''name''<nowiki>}}</nowiki>, referring to the page "Template:''name''" (or if the name starts with a namespace prefix, it refers to the page with that name; if it starts with a colon it refers to the page in the main namespace with that name without the colon). This is called a [[Help:template|template]]. For changing that part of the page, edit that other page. Sometimes a separate edit link is provided for this purpose. A convenient way to put such a link in a template is with a template like [[MetaWikipedia:Template:ed]]. Note that the change also affects other pages which use the same template.
'''min_playing_time --> ''Min. Playing time:''''' (optional)


==Variables==
'''max_playing_time --> ''Max. Playing time:''''' (optional)
:The minimum and maximum time required to play the game. Similar to the number of players, these values will be displayed in the same row and separated with a dash. Please use units of Min. If you are providing both a min and a max, you may wish to omit the units from the min_playing time so the desplay looks cleaner (the database will default to units of min for game searches). Like with setup_time, please do not use text other than the units.
:<pre>min_playing_time=10 Min</pre>
:<pre>max_playing_time=180 Min</pre>


Some special template names are variables. See [[Help:Variable]].
'''strategy --> ''Strategy depth:''''' (optional)
:The level of strategy that can be developed to increase a player's chance of winning the game. Suitable values for this parameter are: "None", "Low", "Medium", or "High". A game like Chess can be described as having a high level of strategy, whereas a game that involves nothing more than rolling a die and moving the number of spaces indicated is described as having no strategy.
:<pre>strategy=Low</pre>


==Page protection==
'''random_chance --> ''Random chance:''''' (optional)
:A somewhat subjective rating of the amount of random chance involved in playing the game. Suitable values for this parameter are: "None", "Low", "Medium", and "High". A game that requires rolling a die, flipping a coin, spinning a wheel, or drawing a card to determine a player's options will have increasingly higher levels of randomness. Games that rely strictly on player moves, like Chess, would be described as having no randomness.
:<pre>random_chance=Medium</pre>


In a few cases the link labeled "{{MediaWiki:Editthispage}}" is replaced by the text "{{MediaWiki:Protectedpage}}" (or equivalents in the language of the project). In that case the page can not be edited.
'''game_mechanics --> ''Game Mechanics:''''' (optional)
:Comma separated list of words/phrases that describe the mechanics of the game. Typical values include: "Stacking", "Sorting", "Matching", "Elimination", "Area control", etc. Please do not embed wiki links; they will be generated automatically. Also, please try to keep it to a limited list of only the MAJOR mechanics used (for example, don't add "stacking" if the pyramids are only stacked in a common bank for organizational and not gameplay reason
:<pre>game_mechanics=Stacking, Programming</pre>


==Position-independent wikitext==
'''theme --> ''Theme:''''' (optional)
:A single word or phrase that describes the theme of the game. Common themes include: "War", "Space", "Role Playing", "Farming", "Nature", etc. A game that has no apparent theme, such as Tic-Tac-Toe (Noughts and Crosses), is considered "Abstract" and can be labeled as such.
:<pre>theme=Underwater Adventure</pre>


Wikitext for which the result does not depend on the position in the wikitext page:
'''BGG_Link --> ''BGG Link:''''' (optional)
:If the game is listed on [http://www.boardgamegeek.com BoardGameGeek], you can include a link to the game's page enclosed in single square brackets. After the link (but still within the brackets), provide the name of the game, which is what the user will click to follow the link. '''IMPORTANT! please do not add your game to BoardGameGeek unless you have playtested it at least a few times and worked out the initial bugs/kinks in the rules.''' No BGG page is much better than a page with broken rules.
:<pre>BGG_Link=<nowiki>[http://www.boardgamegeek.com/boardgame/21955 Treehouse]</nowiki></pre>


*[[interlanguage link]]s (see also above) - the mutual order is preserved, but otherwise the positions within the page are immaterial
'''game_status --> ''Status:''''' (optional but highly recommended)
*[[category]] specification - ditto
:The development status of your game. Please use one of the following: "Initial design", "Playtesting", Nearly Complete", or "Complete".
*<nowiki>__NOTOC__, __FORCETOC__</nowiki>, see [[Help:Section]]
:<pre>footnotes=game_status=Playtesting</pre>


==Separating edits==
'''version_num --> ''(v#.##)''''' (optional)
:Version number of your ruleset. This can help people deduce if the rules have changed since the last time they have looked at the game page.
:<pre>footnotes=version_num=2.1</pre>


When moving or copying a piece of text within a page or from another page, and also making other edits, it is useful to separate these edits. This way the [[Help:Diff|diff function]] can be usefully applied for checking these other edits.
'''release_year --> ''Year released''''' (optional but highly recommended)
:The year in which you first posted the game online (or finally finished major changes to the rules). Please use the current year when posting your game for the first time, even if you have been playing it privately with family and friends for years.
:<pre>release_year=2016</pre>


==External links==
'''footnotes --> ''Footnotes''''' (optional)
*[http://home.earthlink.net/~awinkelried/keyboard_shortcuts.html Special characters in HTML]
:Any other information that may be of interest to a person who is scanning through infoboxes of many games and does not want to read the entire game description page. For example: "won 2nd place in the XYZ game design contest". Please be responsible and don't add paragraphs of text
:<pre>footnotes=This game was played by Neil Armstrong and Buzz Aldrin during the Apollo 11 moon-landing mission.</pre>
</noinclude>

Latest revision as of 12:37, 16 June 2008

Imported Wiki Text

Some or all of the text of the Help:Editing page on Looney Pyramid Games Wiki has been imported from MediaWiki. Some text, images and links may not yet (or ever) be correct for Looney Pyramid Games Wiki (but feel free to improve the page). If necessary, you may be able to get more information on those images and links at the source page site.

The text of this page is reproduced under the terms of the GNU Free Documentation License.

General[edit source]

To edit a MediaWiki page, click on the "Edit this page" (or just "edit") link at one of its edges. This will bring you to a page with a text box containing the wikitext: the editable source code from which the server produces the webpage. For the special codes, see below.

After adding to or changing the wikitext it is useful to press "Preview", which produces the corresponding webpage in your browser but does not make it publicly available yet (not until you press "Save"). Errors in formatting, links, tables, etc., are often much easier to discover from the rendered page than from the raw wikitext.

If you are not satisfied you can make more changes and preview the page as many times as necessary. Then write a short edit summary in the small text field below the edit-box and when finished press "Save". Depending on your system, pressing the "Enter" key while the edit box is not active (i.e., there is no typing cursor in it) may have the same effect as pressing "Save".

You may find it more convenient to copy and paste the text first into your favorite text editor, edit and spell check it there, and then paste it back into your web browser to preview. This way, you can also keep a local backup copy of the pages you have edited. It also allows you to make changes offline, but before you submit your changes, please make sure nobody else has edited the page since you saved your local copy (by checking the page history), otherwise you may accidentally revert someone else's edits. If someone has edited it since you copied the page, you'll have to merge their edits into your new version (you can find their specific edits by using the "diff" feature of the page history). These issues are handled automatically by the Mediawiki software if you edit the page online, retrieving and submitting the wikicode in the same text box.

See also MediaWiki architecture.

Dummy edit[edit source]

If the wikitext is not changed no edit will be recorded and the edit summary is discarded.

A dummy edit is a change in wikitext that has no effect on the rendered page, such as changing the number of newlines at some position from 0 to 1 or from 2 to 3 or conversely (changing from 1 to 2 makes a difference, see below). This allows an edit summary, and is useful for correcting a previous edit summary, or an accidental marking of a previous edit as "minor" (see below). Also it is sometimes needed to refresh the cache of some item in the database, see e.g. A category tag in a template; caching problem.

Minor edits[edit source]

When editing a page, a logged-in user has the option of flagging the edit as a "minor edit". When to use this is somewhat a matter of personal preference. The rule of thumb is that an edit of a page that is spelling corrections, formatting, and minor rearranging of text should be flagged as a "minor edit". A major edit is basically something that makes the entry worth relooking at for somebody who wants to watch the article rather closely, so any "real" change, even if it is a single word. This feature is important, because users can choose to hide minor edits in their view of the Recent Changes page, to keep the volume of edits down to a manageable level.

The reason for not allowing a user who is not logged in to mark an edit as minor is that vandalism could then be marked as a minor edit, in which case it would stay unnoticed longer. This limitation is another reason to log in.

The wiki markup[edit source]

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.

Sections, paragraphs, lists and lines[edit source]

What it looks like What you type

Start your sections with header lines:


New section

Subsection

Sub-subsection


== New section ==

=== Subsection ===

==== Sub-subsection ====

Newline:

A single newline has no effect on the layout.

But an empty line starts a new paragraph.

(<p> disables this paragraphing until </p> or the end of the section)

(in Cologne Blue two newlines and a div tag give just one newline; in the order newline, div tag, newline, the result is two newlines)


A single
newline
has no
effect on the
layout.

But an empty line
starts a new paragraph.
You can break lines
without starting a new paragraph.

Sufficient as wikitext code is <br>, the XHTML code <br /> is not needed, the system produces this code.

You can break lines<br>
without starting a new paragraph.
  • Lists are easy to do:
    • start every line with a star
      • more stars means deeper levels
  • A newline
  • in a list

marks the end of the list.

  • Of course
  • you can
  • start again.
* Lists are easy to do:
** start every line with a star
*** more stars means deeper levels
*A newline
*in a list  
marks the end of the list.
*Of course
*you can
*start again.

  1. Numbered lists are also good
    1. very organized
    2. easy to follow
  2. A newline
  3. in a list

marks the end of the list.

  1. New numbering starts
  2. with 1.
# Numbered lists are also good
## very organized
## easy to follow
#A newline
#in a list  
marks the end of the list.
#New numbering starts
#with 1.
  • You can even do mixed lists
    1. and nest them
      • like this
        or have newlines
        inside lists
* You can even do mixed lists
*# and nest them
*#* like this<br>or have newlines<br>inside lists
  • You can also
    • break lines
      inside lists
      like this
* You can also
**break lines<br>inside lists<br>like this
Definition list
list of definitions
item
the item's definition
; Definition list : list
of definitions
; item : the item's definition
A colon indents a line or paragraph.

A manual newline starts a new paragraph.

  • This is primarily for displayed material, but is also used for discussion on Talk pages.
: A colon indents a line or paragraph.
A manual newline starts a new paragraph.
IF a line of plain text starts with a space THEN
  it will be formatted exactly
    as typed;
  in a fixed-width font;
  lines won't wrap;
ENDIF
this is useful for:
  * pasting preformatted text;
  * algorithm descriptions;
  * program source code
  * ASCII art;
  * chemical structures;

WARNING If you make it wide, you force the whole page to be wide and hence less readable. Never start ordinary lines with spaces.

(see also below)
 IF a line of plain text starts with a space THEN
   it will be formatted exactly
     as typed;
   in a fixed-width font;
   lines won't wrap;
 ENDIF
 this is useful for:
   * pasting preformatted text;
   * algorithm descriptions;
   * program source code
   * ASCII art;
   * chemical structures;

Centered text.

<p align="center">Centered text.</p>
A horizontal dividing line: above

and below.

Mainly useful for separating threads on Talk pages.

A horizontal dividing line: above
----
and below. 

Summarizing the effect of a single newline: no effect in general, but it ends a list item or indented part; thus changing some text into a list item, or indenting it, is more cumbersome if it contains newlines, they have to be removed; see also w:Wikipedia:Don't use line breaks.

Links, URLs[edit source]

What it looks like What you type
Sue is reading the video policy.
  • First letter of target is automatically capitalized.
  • Internal spaces are automatically represented as underscores (typing an underscore has the same effect as typing a space, but is not recommended).

Thus the link above is to http://meta.wikipedia.org/wiki/Video_policy, which is the page with the name "Video policy".

Sue is reading the [[video policy]].

Link to a section on a page, e.g. List_of_cities_by_country#Morocco; when section editing does not work the link is treated as link to the page, i.e. to the top; this applies for:

  • links to non-existent sections
  • links in redirects
  • interwiki links
[[List_of_cities_by_country#Morocco]].
Link target and link label are different: answers.

(This is called a piped link).

Same target, different name:
[[User:Larry Sanger|answers]]
Endings are blended into the link: official positions, genes
Endings are blended
into the link: [[official position]]s, [[gene]]s

Automatically hide stuff in parentheses: kingdom.

Automatically hide namespace: Village pump.

The server fills in the part after the | character when you save the page.

Automatically hide stuff in parentheses:
[[kingdom (biology)|]]. 
Automatically hide namespace:
[[Wikipedia:Village pump|]].

A link to a category, such as Category:Zendo jargon may include pipes and suffixes. buzzwords, Icehouse jargon.

A link to a category, such as [[:Category:Zendo jargon]] may include pipes and suffixes. [[:Category:Jargon|Buzzword]]s, [[:Category:Icehouse jargon|]].

When adding a comment to a Talk page,

you should sign it. You can do this by adding four tildes for user name plus date/time:

Karl Wick 08:10 Oct 5, 2002 (UTC)

or three for just your user name:

Karl Wick

Five tildes gives just the timestamp:

08:10 Oct 5, 2002 (UTC)
When adding a comment to a Talk page,
you should sign it. You can do this by
adding four tildes for user name plus date/time:
: ~~~~
or three for just your user name:
: ~~~
Five tildes gives just the timestamp:
: ~~~~~
The weather in London is a page that doesn't exist yet.
  • You can create it by clicking on the link.
  • To create a new page:
    1. Create a link to it on some other page.
    2. Save that page.
    3. Click on the link you just made. The new page will open for editing.
  • Have a look at how to start a page guide and the naming conventions page for your project.
[[The weather in London]] is a page
that doesn't exist yet.

Redirect one article title to another by putting text like this in its first line.

#REDIRECT [[United States]]

A link to the page on the same subject in another language or, more generally, to a page on another wiki: fr:Wikipédia:Aide. For more info see MediaWiki User's Guide: Interwiki linking.

[[fr:Wikipédia:Aide]], [[:fr:Wikipédia:Aide]]
"What links here" and "Related changes" can be linked as:

Special:Whatlinkshere/Wikipedia:How to edit a page and Special:Recentchangeslinked/Wikipedia:How to edit a page

[[Special:Whatlinkshere/
Wikipedia:How to edit a page]] and
[[Special:Recentchangeslinked/
Wikipedia:How to edit a page]]
External links: Nupedia, [1]
External links:
[http://www.nupedia.com Nupedia],
[http://www.nupedia.com]
Or just give the URL: http://www.nupedia.com.
  • In the URL all symbols must be among: A-Z a-z 0-9 ._\/~%-+&#?!=()@ \x80-\xFF. If a URL contains a different character it should be converted; for example, ^ has to be written %5E (to be looked up in ASCII). A blank space can also be converted into an underscore.
Or just give the URL:
http://www.nupedia.com.

To link to books, you can use ISBN links. ISBN 0123456789X See Help:ISBN links

ISBN 0123456789X

Link to Request for Comments: RFC 123 (URL specified in mediawiki:Rfcurl)

RFC 123

To include links to non-image uploads such as sounds, use a "media" link. (Also to include links to image uploads such as images!)
Sound


[[media:Sg_mrob.ogg|Sound]]
Use links for dates, so everyone can set their own display order. Use Special:Preferences to change your own date display setting.
[[July 20]], [[1969]] , [[20 July]] [[1969]]
and [[1969]]-[[07-20]]
will all appear as 20 July 1969 if you set your date display preference to 1 January 2001.
Some sister wikis are available through shortcuts. Here are some of them for this site.
  • English language Wikipedia

Wikipedia:Special:Randompage

  • Meta Wikimedia

MetaWikipedia:Special:Randompage

* English language Wikipedia
[[Wikipedia:Special:Randompage]]
* Meta Wikimedia
[[MetaWikipedia:Special:Randompage]] 

Images[edit source]

See Help:Image.

Character formatting[edit source]

What it looks like What you type

Emphasize, strongly, very strongly.

  • These are double and triple apostrophes, not double quotes.
''Emphasize'', '''strongly''', '''''very strongly'''''.

You can also write italic and bold if the desired effect
is a specific font style rather than emphasis, as in mathematical formulae:

F = ma
  • However, the difference between these two methods is not very important for graphical browsers, and many people choose to ignore it.
You can also write <i>italic</i> and <b>bold</b> if the desired effect<br/>
is a specific font style rather than emphasis, as in mathematical formulae:
:<b>F</b> = <i>m</i><b>a</b>

A teletype (typewriter) font.

A teletype (<tt>typewriter</tt>) font.

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 <strike>strike out deleted material</strike> and <u>underline new material</u>.

Umlauts and accents: (See Meta-Wikimedia Help: Special characters)
è é ê ë ÃƒÂ¬ í

À Á Â Ã Ä Å
Æ Ç È É Ê Ë
Ì Í Î Ï Ñ Ò
Ó Ô Õ Ö Ø Ù
Ú Û Ü ß à á
â ã ä å æ ç
è é ê ë ì í
î ï ñ ò ó ô
œ õ ö ø ù ú
û ü ÿ

è é ê ë ÃƒÂ¬ í

&Agrave; &Aacute; &Acirc; &Atilde; &Auml; &Aring;<br/>
&AElig; &Ccedil; &Egrave; &Eacute; &Ecirc; &Euml;<br/>
&Igrave; &Iacute; &Icirc; &Iuml; &Ntilde; &Ograve;<br/>
&Oacute; &Ocirc; &Otilde; &Ouml; &Oslash; &Ugrave;<br/>
&Uacute; &Ucirc; &Uuml; &szlig; &agrave; &aacute;<br/>
&acirc; &atilde; &auml; &aring; &aelig; &ccedil;<br/>
&egrave; &eacute; &ecirc; &euml; &igrave; &iacute;<br/>
&icirc; &iuml; &ntilde; &ograve; &oacute; &ocirc;<br/>
&oelig; &otilde; &ouml; &oslash; &ugrave; &uacute;<br/>
&ucirc; &uuml; &yuml;

Punctuation:
¿ ¡ « » § ¶ † ‡ • —

&iquest; &iexcl; &laquo; &raquo; &sect; &para; &dagger; &Dagger; &bull; &mdash;

Commercial symbols:
™ © ® ¢ € ¥ £ ¤

&trade; &copy; &reg; &cent; &euro; &yen; &pound; &curren;

Subscript: x2
Superscript: x2 or x²

  • The latter method of superscript 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²

Subscript: x<sub>2</sub><br/>
Superscript: x<sup>2</sup> or x&sup2;

or in projects with the templates sub and sup:

Subscript: x{{sub|2}}<br/>
Superscript: x{{sup|2}}

&epsilon;<sub>0</sub> = 8.85 &times; 10<sup>&minus;12</sup> C&sup2; / J m.

1 [[hectare]] = [[1 E4 m²]]

Greek characters:
α β γ δ ε ζ
η θ ι κ λ μ ν
ξ ο π ρ σ ς
τ υ φ χ ψ ω
Γ Δ Θ Λ Ξ Π
Σ Φ Ψ Ω

&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;

Math characters:
∫ ∑ ∏ √ − ± ∞
≈ ∝ ≡ ≠ ≤ ≥ →
× · ÷ ∂ ′ ″
∇ ‰ ° ∴ ℵ ø
∈ ∉ ∩ ∪ ⊂ ⊃ ⊆ ⊇
¬ ∧ ∨ ∃ ∀ ⇒ ⇔
→ ↔

&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;

x2   ≥   0 true.

  • To space things out, use non-breaking spaces - &nbsp;.
  • &nbsp; also prevents line breaks in the middle of text, this is useful in formulae.
<i>x</i><sup>2</sup>&nbsp;&nbsp;&ge;&nbsp;&nbsp;0 true.

Complicated formulae:
  <math>\sum_{n=0}^\infty \frac{x^n}{n!}</math>

<math>\sum_{n=0}^\infty \frac{x^n}{n!}</math>

For comparison for the following examples:
arrow →

italics link

arrow      &rarr;

''italics''
[[link]]

Use <nowiki> to suppress interpretation of wiki markup, but interpret character references and remove newlines and multiple spaces:
arrow → ''italics'' [[link]]

<nowiki>arrow      &rarr;

''italics''
[[link]]
</nowiki>

Use <pre> to suppress interpretation of wiki markup and keep newlines and multiple spaces, and get typewriter font, but interpret character references:

arrow      →

''italics''
[[link]]
<nowiki>
<pre>arrow      &rarr;

''italics''
[[link]]
</nowiki>

Use leading space on each line to keep newlines and multiple spaces, and get typewriter font:

arrow      →
italics
link
 arrow      &rarr;
 ''italics''
 [[link]]

Use typewriter font:
arrow → italics link

<tt>arrow      &rarr;</tt>
<tt>''italics''</tt>
<tt>[[link]]</tt>

Show character references by writing out the leading ampersand:
&rarr;

&amp;rarr;

Commenting page source:
not shown in page

  • Used to leave comments in a page for future editors.
<!-- comment here -->

Wiki tables[edit source]

Wiki tables have a simple syntax and can be quite useful as well. See Help:Table.

Templates[edit source]

Some part of a page may correspond in the edit box to just a reference to another page, in the form {{name}}, referring to the page "Template:name" (or if the name starts with a namespace prefix, it refers to the page with that name; if it starts with a colon it refers to the page in the main namespace with that name without the colon). This is called a template. For changing that part of the page, edit that other page. Sometimes a separate edit link is provided for this purpose. A convenient way to put such a link in a template is with a template like MetaWikipedia:Template:ed. Note that the change also affects other pages which use the same template.

Variables[edit source]

Some special template names are variables. See Help:Variable.

Page protection[edit source]

In a few cases the link labeled "Edit this page" is replaced by the text "Protected page" (or equivalents in the language of the project). In that case the page can not be edited.

Position-independent wikitext[edit source]

Wikitext for which the result does not depend on the position in the wikitext page:

  • interlanguage links (see also above) - the mutual order is preserved, but otherwise the positions within the page are immaterial
  • category specification - ditto
  • __NOTOC__, __FORCETOC__, see Help:Section

Separating edits[edit source]

When moving or copying a piece of text within a page or from another page, and also making other edits, it is useful to separate these edits. This way the diff function can be usefully applied for checking these other edits.

External links[edit source]