Open main menu

TurfWiki β

Changes

Wiki guide

13,329 bytes added, 13:02, 18 October 2020
Updated
==== Game concepts ====
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 ''[[takeover|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 ====
===== Insert reference or quotation source =====
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:<pre><nowiki> Statement.<ref>Example Source</ref> </nowiki></pre>
gives: Statement.<ref>Example Source</ref>
 
===== Utilize a reference multiple times =====
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.
 
<nowiki>To give a source an identity, you substitute "<ref>" with "<ref name="(IDENTITY)">".</nowiki>
Example:<pre><nowiki> Statement.<ref name="Source01">Example Source</ref> </nowiki></pre>
gives: Statement.<ref name="">Example Source</ref>
 
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 <nowiki> "<ref name =" (IDENTITY) "/>" </nowiki> after the statement, where "(IDENTITY)" is the identity you provided for your source in the previous step. In practice, it looks like this:
 
<pre>
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 />
</pre>
 
You have now used your source several times, congratulations!
 
===== Include list of references =====
Your sources are always compiled at the bottom of an article. Include ''<nowiki> "== References ==" </nowiki>'' at the bottom of the wiki article, before the categories and the references to other languages, to create a source reference.
=== Talk pages ===
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 ====
To make a new post on a talk page, create a title for the topic by typing: "<nowiki> == Heading text == </nowiki>". Add a blank line and then write your post.
 
==== Replies ====
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: "<nowiki> :your text </nowiki>". Next comment or reply writes two colons, "<nowiki> ::your text </nowiki>" and so on.
 
==== Examples ====
Example text [[User:SaLa|SaLa]] ([[User talk:SaLa|diskussion]]) 5 februari 2013 kl. 17.56 (UTC)
:Example text2 [[User:SaLa|SaLa]] ([[User talk:SaLa|diskussion]]) 5 februari 2013 kl. 17.56 (UTC)
::Example text3 [[User:SaLa|SaLa]] ([[User talk:SaLa|diskussion]]) 5 februari 2013 kl. 17.56 (UTC)
:::Example text4 [[User:SaLa|SaLa]] ([[User talk:SaLa|diskussion]]) 5 februari 2013 kl. 17.56 (UTC)
 
==== Name signature ====
End your posts on a discussion page with four "tilde" (~), ie <nowiki> ~~~~ </nowiki>. 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 ===
==== Upload images ====
Go to [[Special:Upload]] and upload a image. Then use <nowiki>"[[File:filename.png|200px|thumb|left|image text]]"</nowiki> to show the image in an article.
 
==== Link external image ====
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 <nowiki>http://turfgame.com/images/enemy.png</nowiki> and this will be shown: http://turfgame.com/images/enemy.png
=== Fact boxes ===
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.
[[File: Fact box.png|frame|right|Right-handed]]
[[File: Fact box.png|frame|left|Left-handed]]
[[File: Fact box.png|frame|center|Centered]]
 
 
Formating:
<pre>[[File: Fact box.png|frame|left/right/center|Example text]]</pre>
 
[[File: Fact box.png|frame|right|Example: '''This Fact box is right-handed and cointains some funny trivia that can be involved in the body text!''']]
 
=== Tables ===
This explains how to proceed if you want to insert one or more tables in articles; http://en.wikipedia.org/wiki/Help:Table
 
=== Lists ===
The link contains various tips on how to create different types of easy-to-understand lists:
http://meta.wikimedia.org/wiki/Help:List
 
=== Colours ===
Helpful link for using colors: http://en.wikipedia.org/wiki/Web_colors === [[mediawikiwiki:Template:Navbox #Usage|Navbox]] ===''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. <pre>{{Navbox|bodyclass = |name = {{subst:PAGENAME}}|title = |titlestyle = |image = |above =  |group1 = |list1 =  |group2 = |list2 = ...|group20 =|list20 |below =}}</pre> 
=== Templates ===
[https://wiki.turfgame.com/en/wiki/Special:AllPages?from=&to=&namespace=10 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 ==
See the main article: [[Create zone article]]
== Geography ==
 
=== Countries ===
 
==== Prefix ====
Countries have the prefix '''Country:''' before the article name, for example: '''Country:Sweden'''.
 
==== Category ====
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:
 
<pre>
[[Category:Countries]]
[[Category:Europa]]
[[Category:Sweden| ]]
</pre>
 
''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 ===
 
==== Prefix ====
Regions have the prefix '''Region:''' before the article name, for example: '''Region:Jämtland'''.
 
==== Category ====
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.  <pre>[[Category:Regions]][[Category:Sweden]][[Category:Västernorrland| ]]</pre>   === Counties Municipalities === 
==== Prefix ====
Municipalities have the prefix '''Municipality:''' before the article name, for example: '''Municipality:Bjurholm'''.
 
==== Category ====
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:
 
<pre>
[[Category:Municipalities]]
[[Category:Sweden]]
[[Category:Halland]]
[[Category:Hylte| ]]
</pre>
 
=== Zones ===
 
==== Prefix ====
Zones have the prefix '''Zone:''' before the article name, for example. '''Zone:CentralZone'''.
 
==== Category ====
Category:Zones + Category:''(Country)'' + Category:''(Region)'' + Category:''(Municipality)''
 
<pre>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å]]
</pre>
 
==== Zone types ====
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 ====* [[World Heritage Sites]] [[File:Zontyp01.png|18px]] * [[Winner zones]] [[File:Zontyp02.png|18px]] * [[Water zones]] [[File:Zontyp03.png|18px]] * [[Train station zones]] [[File:Zontyp04.png|18px]] * [[National park zones]] [[File:Zontyp05.png|18px]] * [[Monument zones]] [[File:Zontyp06.png|18px]] * [[Holy zones]] [[File:Zontyp07.png|18px]] * [[Summit zones]] [[File:Zontyp08.png|18px]] * [[Bridge zones]] [[File:Zontyp09.png|18px]] * [[Castle zones]] [[File:Zontyp10.png|18px]]* [[Ruin zones]] [[File:Zontyp11.png|18px]] <pre> 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.</pre> ==== Other Categories ====Could for example be:* Type of building (Church, Water tower, light house etc.) <pre> Formating: [[Category:(Building)]] Attention! Do not include the round parentheses. </pre>* Surface by the zone (Beach, Wetland, Forest land etc.) <pre> Formating: [[Category:(Surface)]] Attention! Do not include the round parentheses. </pre> ==== Example ====<pre> 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]]</pre>=== Example list of commonly used categories ===<pre>[[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]]</pre> 
== Tools ==
=== Links to commonly used special pages ===
* Shows all categories on the wiki: [[Special:Categories]]
* Shows all special pages (also found under Wiki tools): [[Special:SpecialPages]]
* Shows the Trash bin: [[:Category:Trash bin]]
* Shows all temporary placed pages/categories: [[:Category:Temp]]
* Shows all stub pages: [[:Category:stubs]]
 
=== Commonly used templates ===
* [[Template:Zone]]
* [[Template:Municipality]]
* [[Template:City]]
* [[Template:Region]]
* [[Template:Country]]
* [[Template:User]]
 
=== Tips and tricks ===
==== Create custom link display text ====
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.
<pre>[[PAGE]] - link text text that directly reflects what is linked
[[PAGE|Custom link text]] - link text that is customized by the user.
</pre>
Example: <pre>[[:Category:Stubs]]</pre>
Looks like this: [[:Category:Stubs]], while
<pre> [[:Category:Stubs|Click here to get to the "Stubs" category!]]</pre>
Looks like this: [[:Category:Stubs|Click here to get to the "Stubs" category!]]
 
==== Create custom image link display text ====
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.
<pre> [[File:Turflogo.png|50px|link=Main_Page]] </pre>
gives: "[[File:Turflogo.png|50px|link=Main_Page]]". Replace "Main
_Page" with a TurfWiki article name or external website URL you want the imaged linked to.
 
==== How to link users ====
To link to a specific user, enter the following wiki code: <pre>[[User:name]]</pre> resulting in:
 
"[[User:name]]"
 
The trick "Create custom link text" can also be applied to hyperlinks to users: <pre>[[User:name|Example name]]</pre>
giving the link:
 
"[[User:name|Example name]]"
 
==== Redirecting to an other article ====
Include the following code first (at the top) of the wiki code:
 
<pre> #REDIRECT [[Page]] </pre>
 
"Page" being the name of the article you are redirecting to.
== Version history ==
== References ==
[[sv:Wikiverkstaden]]
[[Category:Guides]]
[[Category:Maintenance]]
 
[[sv:Wikiguiden]]
deletebatch, masseditregexeditor, Administrators
37,334
edits