Wiki guide

Revision as of 13:02, 18 October 2020 by Gor (talk | contribs) (Updated)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

The wiki guide serves as a resource to provide useful information for TurfWiki content creators and editors. Several tools, tips and tricks are supplied as well as current praxis for editing on the wiki.

Editing praxis[edit]

It can initially be overwhelming to start editing the content on TurfWiki, but the lines of wiki code and unusual concepts are nothing to be afraid of. We have all been there who have contributed to the wiki, do not let this get in the way of your invaluable knowledge that TurfWiki needs! Dare to make big changes and experiment, it is always possible to correct things afterwards if needed. Hopefully, this article can help you get started with content creation and guide you in creating everything from high quality articles to simpler edits.

Good to know[edit]

  • Creating links (external link) to other pages on TurfWiki by keyword. This makes it easy to share relevant content for the what you create.
  • Categorize (external link) new articles that you create, and it will be easier to find them. You will find help for categorizing, for example, zone articles later in this article, under "Geography".
  • Dare to improve content! It is perceived as a good deed to edit and improve other people's content on the wiki.
  • Ask for help! If you get stuck, leave a Turf Wiki Issue via Issues page or write in the discussion page of another user for example Gor talk or Ojarnstr talk.

Body text[edit]

Names[edit]

In general, names associated with the game are written in italic text, such as Turf and Warded. Player names lack practice at the moment and can be written in both italic and plain text, depending on the context. In an introduction, for example, the name is written in bold, italic text, while in the body text, the name can be written according to the rules for names in the English language. Names of cities, countries, municipalities and regions follow the rules for names in the English language.

Game concepts[edit]

Game concepts that appear for the first time in a new, introductory context (eg guides) are usually written in italic text and linked if it is a central concept for the game. Concepts are then written as usual in the main body of the text.

A general rule of thumb can be to write in italic if something needs to be clarified.

In cases where the meaning of the term should not necessarily be clarified, but where it occurs for the first time, the term is linked but written in normal text. The term is then printed as usual the remaining times it is used in the body text.

Example: To win in Turf the player needs to do takeovers. A takeover is a central part of Turf that means that a player stands in a certain marked area, a zone, for a short time until the game shows that the zone is taken. This zone is now owned by the player and will generate points for that player.

Quotes and references[edit]

Insert reference or quotation source[edit]

Sometimes citations from sources and other official statements may be necessary to prove the credibility of the statement or information presented. To use sources in the text, click on the book icon in the toolbar in the edit view and fill in the information about your source in the box. The reference box takes into account the possible wikikod you insert into it.

Example:
 Statement.<ref>Example Source</ref> 

gives: Statement.[1]

Utilize a reference multiple times[edit]

To use a source (reference) multiple times, you must provide the source with an identity that you refer back to each time you use your source. The identity is unique to the article and should be named briefly and concisely, for example "Source01" , "Ref1" , "Reference01" or the like (it is unclear if spaces are allowed in the identity name). The identity is not visible in the article but only matters for the correct functioning of the system. It can be a good idea to always include an identity for your sources that you use in order to facilitate further editing of the article for other users. However, this is not a must, but can be omitted if it complicates the work unnecessarily.

To give a source an identity, you substitute "<ref>" with "<ref name="(IDENTITY)">".

Example:
 Statement.<ref name="Source01">Example Source</ref> 

gives: Statement.[2]

As you can see, your naming makes no difference to how the source is presented in the running text. The trick is if you want to use the source in several places in your text. Then you use the identity you have given your source in the places you need. To do this, use only "<ref name =" (IDENTITY) "/>" after the statement, where "(IDENTITY)" is the identity you provided for your source in the previous step. In practice, it looks like this:

 
I like to turf, it makes me happy.<ref name="Source01">Example Source</ref> 

I also like to work on the wiki, it gives my life meaning and fills me with happiness.<ref name="Source01"/> <br />

You have now used your source several times, congratulations!

Include list of references[edit]

Your sources are always compiled at the bottom of an article. Include "== References ==" at the bottom of the wiki article, before the categories and the references to other languages, to create a source reference.

Talk pages[edit]

All pages have or can have a discussion page. Use it to discuss content in case of any thoughts. On Turfwiki, users' discussion pages are usually used to brainstorm ideas etc. It is of course possible to write on the pages' discussion pages as well, but the chances are less that the posts will be discovered just as quickly.

Comments[edit]

To make a new post on a talk page, create a title for the topic by typing: " == Heading text == ". Add a blank line and then write your post.

Replies[edit]

If you want to comment and/or respond to someone's post, you can write a colon (:) before your text to make the text jump to a paragraph. for example: " :your text ". Next comment or reply writes two colons, " ::your text " and so on.

Examples[edit]

Example text SaLa (diskussion) 5 februari 2013 kl. 17.56 (UTC)

Example text2 SaLa (diskussion) 5 februari 2013 kl. 17.56 (UTC)
Example text3 SaLa (diskussion) 5 februari 2013 kl. 17.56 (UTC)
Example text4 SaLa (diskussion) 5 februari 2013 kl. 17.56 (UTC)

Name signature[edit]

End your posts on a discussion page with four "tilde" (~), ie ~~~~ . This will automatically add a timestamp along with your name. This makes it much easier for everyone to see who wrote what in the discussions.

Images[edit]

Upload images[edit]

Go to Special:Upload and upload a image. Then use "[[File:filename.png|200px|thumb|left|image text]]" to show the image in an article.

Link external image[edit]

It is also possible to add pictures from turfgame.com, www.turfgame.com and forum.turfgame.com to the wiki. Write the link address like this for example http://turfgame.com/images/enemy.png and this will be shown: enemy.png

Fact boxes[edit]

Tables are preferred over a fact box if applicable, they offer greater customization options and can be integrated more nicely on the page. However, the fact box is a good alternative if there is a need not to confuse the code (something that the tables are notorious for on the wiki). The fact box should therefore not be underestimated as a niche solution on certain pages.

Right-handed
Left-handed
Centered


Formating:

[[File: Fact box.png|frame|left/right/center|Example text]]
Example: This Fact box is right-handed and cointains some funny trivia that can be involved in the body text!

Tables[edit]

This explains how to proceed if you want to insert one or more tables in articles; http://en.wikipedia.org/wiki/Help:Table

Lists[edit]

The link contains various tips on how to create different types of easy-to-understand lists: http://meta.wikimedia.org/wiki/Help:List

Colours[edit]

Helpful link for using colors: http://en.wikipedia.org/wiki/Web_colors

Navbox[edit]

Navbox is a navigation solution for easily finding your way around a wiki. Usually placed at the bottom of the wiki code, before categories and links to other languages.

{{Navbox
|bodyclass  = 
|name       = {{subst:PAGENAME}}
|title      = 
|titlestyle = 
|image      = 
|above      = 

|group1     = 
|list1      = 

|group2     = 
|list2      = 
 ...
|group20    = 
|list20     = 

|below      = 
}}

Templates[edit]

Here you can see what templates are available. Select a template, copy the text and use it on the appropriate page. Replace appropriate info and tada - you have a nice page.

Guide: Create new zone article[edit]

See the main article: Create zone article

Geography[edit]

Countries[edit]

Prefix[edit]

Countries have the prefix Country: before the article name, for example: Country:Sweden.

Category[edit]

Category:Countries + Category:(continent) + Category:(Country)

Countries are categorized by continent and also belongs to the category for the country in question, for example the country Sweden in the continent Europa:

[[Category:Countries]]
[[Category:Europa]]
[[Category:Sweden| ]]

The dash and the space (| ) after the country category itself mean that the article about the country ends up first in the list of articles related to the country, before the alphabetical sorting. Include this formatting for the category that matches the article name, exclude the formatting for other categories.

Regions[edit]

Prefix[edit]

Regions have the prefix Region: before the article name, for example: Region:Jämtland.

Category[edit]

Category:Regions + Category:(Country) + Category:(Region)

Regions are categorized by country and the region in question, for example the region Västernorrland in the country Sweden.

[[Category:Regions]]
[[Category:Sweden]]
[[Category:Västernorrland| ]]


Municipalities[edit]

Prefix[edit]

Municipalities have the prefix Municipality: before the article name, for example: Municipality:Bjurholm.

Category[edit]

Category:Municipalities + Category:(Country) + Category:(Region) + Category:(Municipality)

Municipalities are categorized by country and region and also belong to the category for the municipality in question, for example the municipality of Hylte in the region of Halland in the country Sweden:

[[Category:Municipalities]]
[[Category:Sweden]]
[[Category:Halland]]
[[Category:Hylte| ]]

Zones[edit]

Prefix[edit]

Zones have the prefix Zone: before the article name, for example. Zone:CentralZone.

Category[edit]

Category:Zones + Category:(Country) + Category:(Region) + Category:(Municipality)

Example: Zone A is placed in Umeå, that is located in the municipality of Umeå in the region of Västerbotten in the country Sweden. Zone A is tagged with "Zones" and these three categories: 

[[Category:Zones]]
[[Category:Sweden]]
[[Category:Västerbotten]]
[[Category:Umeå]]

Zone types[edit]

Follows and applies the same categorization system as other zones and zone types, in addition a category for the attribute in question is included. Include categories for applicable attributes, they can be more than one! However, be careful not to create overly narrow and specific categories. Use existing categories if possible. Examples of attributes can be:

List of official zone categories[edit]

 Formating: [[Category:(OFFICIAL ZONE TYPE)]] (include the zone symbol "[[File:Zontyp(01-11).png|18px]]" after the name of the zone on the pages that have lists of zones. See the wiki formating on the list above to see what ID is used for respective zone type.

Other Categories[edit]

Could for example be:

  • Type of building (Church, Water tower, light house etc.)
     Formating: [[Category:(Building)]] Attention! Do not include the round parentheses. 
  • Surface by the zone (Beach, Wetland, Forest land etc.)
     Formating: [[Category:(Surface)]] Attention! Do not include the round parentheses. 

Example[edit]

 Example: Zone D is placed in Umeå and is also a winner zone. The zone is categorized in normal order but the category "winner zones"" is also added. Finally we will add the year the zone was created, let's say it was 2019 for this example.

[[Category:Zones]]
[[Category:Winner zones]]
[[Category:Sweden]]
[[Category:Västerbotten]]
[[Category:Umeå]]
[[Category:2019]]

Example list of commonly used categories[edit]

[[Category:Countries]]
[[Category:Regions]]
[[Category:Municipalities]]
[[Category:Zones]]
[[Category:Sweden]]
[[Category:Europa]]
[[Category:Asien]]
[[Category:World Heritage Site]]
[[Category:Winner Zones]]
[[Category:Water Zones]]
[[Category:Train Station Zones]]
[[Category:National Park Zones]]
[[Category:Monument Zones]]
[[Category:Holy Zones]]
[[Category:Churches]]
[[Category:Summit Zones]]
[[Category:Bridge Zones]]
[[Category:Castle Zones]]
[[Category:Ruin Zones]]
[[Category:Airports]]
[[Category:Camping Areas]]
[[Category:2020]]

Tools[edit]

Links to commonly used special pages[edit]

Commonly used templates[edit]

Tips and tricks[edit]

Create custom link display text[edit]

Custom link text is created by adding a vertical bar along with the link text after the target in the hyperlink. This is used when you want to tuck in a link in your text or headlines for example. It can also be used to make links to categories more aesthetically pleasing.

[[PAGE]]                     - link text text that directly reflects what is linked
[[PAGE|Custom link text]]   - link text that is customized by the user. 
Example:
[[:Category:Stubs]]

Looks like this: Category:Stubs, while

 [[:Category:Stubs|Click here to get to the "Stubs" category!]]

Looks like this: Click here to get to the "Stubs" category!

Create custom image link display text[edit]

You can make an image link to a page on TurfWiki or an external website instead of linking to the image's regular wiki page.

 [[File:Turflogo.png|50px|link=Main_Page]] 

gives: "Turflogo.png". Replace "Main _Page" with a TurfWiki article name or external website URL you want the imaged linked to.

How to link users[edit]

To link to a specific user, enter the following wiki code:
[[User:name]]
resulting in:

"User:name"

The trick "Create custom link text" can also be applied to hyperlinks to users:
[[User:name|Example name]]

giving the link:

"Example name"

Redirecting to an other article[edit]

Include the following code first (at the top) of the wiki code:

 #REDIRECT [[Page]] 

"Page" being the name of the article you are redirecting to.

Version history[edit]

2018-11-15: Version 0.1 deployed, includes article skeleton.

Extensions[edit]

References[edit]

  1. Example Source
  2. Example Source