Mapdev:WikiGuide: Difference between revisions

From Spring
Jump to navigationJump to search
slowly filling this out.
 
Flozi (talk | contribs)
→Infobox: use Tip & Caution for ease and consistency
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
= Style and format guide for mapdev wiki pages =
= Style and format guide for mapdev wiki pages =


== Technical Pages ==
the structure of a technical page should be thus:
* title
* short description of the pages content
* pretty Images
* Specification
: this means the exact format for text, images, file locations, naming, etc
* (optional)implementation
: engine details on how its put into the game if relevant, also if there are multiple ways to use the information, most of the time i expect this section will be removed
* (optional)History
: relevant history as to why the feature is how it is, i expect this section to be removed in most cases
* (optional)additional Information
: for curiosity's sake if someone has more information on the subject they wish to add, such as with the terrain additional information regarding ROAM algorithms, etc.. i expect this section to be removed in most cases
* (optional)forum discussion
: forum links relating to the feature that are useful
== Howto's ==
Should attempt to deal with one thing at a time, and not try to be a "how to make the best map ever" type thing, keep it focused on one thing, keep it neat.
== Common Problems ==
if the description and solution to the problem can be fit into a couple of paragraphs, there is no need to make a new page for it, just chuck it under the heading on the main page.
= Page Elements =
== Infobox ==
use the infobox template for tips and cautions
use the infobox template for tips and cautions
  eg.
  eg.
<pre>{{Infobox|title=Tip|color=rgba(255,255,0,0.1)|icon-size=48|icon=icon-tip.png
<pre>{{Tip|blah blah blah}}</pre>
|body=blah blah blah}}</pre>


{{Infobox|title=Tip|color=rgba(255,255,0,0.1)|icon-size=48|icon=icon-tip.png
{{Tip|blah blah blah}}
|body=blah blah blah}}


<pre>{{Infobox|title=Caution|color=rgba(255,0,0,0.1)|icon-size=48|icon=icon-caution.png
<pre>{{Caution|blah blah blah}}</pre>
|body=blah blah blah}}</pre>


{{Infobox|title=Caution|color=rgba(255,0,0,0.1)|icon-size=48|icon=icon-caution.png
{{Caution|blah blah blah}}
|body=blah blah blah}}


For any platform or game specific information embedded in a generic page use collapsible content
== FIXME ==
Wherever there is information missing that needs adding use {{{FIXME}}} tags
<pre>{{FIXME}}</pre>
Later people can use [[Special:WhatLinksHere/Template:FIXME|this page]] to know what needs work
== Example Image ==
<pre><center>
{| class="wikitable"
|+ Example
| [[File:imagename.jpg]] || [[File:imagename.png]]
|-
! Example Image !! Ingame Result
|}</center></pre>
<center>
{| class="wikitable"
|+ Example
| (link image here with max height 256) || (link image here with max height 256)
|-
! Example Image !! Ingame Result
|}</center>
== Image Spec ==
<pre>{| class="wikitable" width="100%"
! width="15%" | File Location
| file path relative to root of map folder
|-
! File Format
| What file format can be used.
|-
! Colour Depth
| bits per pixel
|-
! Channels
| what colour channels
|-
! Resolution
| Either an exact value, a description or below.
<center>
{| class="wikitable" style="text-align: center;"
!Spring Map Size<sup>*</sup>
!pixels = Spring Map Size * 512
|-
| 2
| 1024
|-
| 4
| 2048
|-
| 6
| 3072
|-
| ...
| ...
|-
| 32
| 16 384
|-
| style="text-align: left;font-style:italic" colspan=2 | &#42; must be multiples of 2
|}</center>
|}</pre>


{| class="collapsible collapsed wikitable"
{| class="wikitable" width="100%"
! width="15%" | File Location
| file path relative to root of map folder
|-
! File Format
| What file format can be used.
|-
! Colour Depth
| bits per pixel
|-
! Channels
| what colour channels
|-
! Resolution
| Either an exact value, a description or below.
<center>
{| class="wikitable" style="text-align: center;"
!Spring Map Size<sup>*</sup>
!pixels = Spring Map Size * 512
|-
| 2
| 1024
|-
| 4
| 2048
|-
| 6
| 3072
|-
|-
! This is the header cell, which is always shown
| ...
| ...
|-
|-
| This cell is not shown by default.
| 32
| 16 384
|-
| style="text-align: left;font-style:italic" colspan=2 | &#42; must be multiples of 2
|}</center>
|}
|}
[[Category:Map Dev]]

Latest revision as of 14:17, 16 February 2014

Style and format guide for mapdev wiki pages

Technical Pages

the structure of a technical page should be thus:

  • title
  • short description of the pages content
  • pretty Images
  • Specification
this means the exact format for text, images, file locations, naming, etc
  • (optional)implementation
engine details on how its put into the game if relevant, also if there are multiple ways to use the information, most of the time i expect this section will be removed
  • (optional)History
relevant history as to why the feature is how it is, i expect this section to be removed in most cases
  • (optional)additional Information
for curiosity's sake if someone has more information on the subject they wish to add, such as with the terrain additional information regarding ROAM algorithms, etc.. i expect this section to be removed in most cases
  • (optional)forum discussion
forum links relating to the feature that are useful

Howto's

Should attempt to deal with one thing at a time, and not try to be a "how to make the best map ever" type thing, keep it focused on one thing, keep it neat.

Common Problems

if the description and solution to the problem can be fit into a couple of paragraphs, there is no need to make a new page for it, just chuck it under the heading on the main page.

Page Elements

Infobox

use the infobox template for tips and cautions

eg.
{{Tip|blah blah blah}}
Tip
blah blah blah
{{Caution|blah blah blah}}
Caution
blah blah blah

FIXME

Wherever there is information missing that needs adding use {{{FIXME}}} tags

{{FIXME}}

Later people can use this page to know what needs work

Example Image

<center>
{| class="wikitable"
|+ Example
| [[File:imagename.jpg]] || [[File:imagename.png]]
|-
! Example Image !! Ingame Result
|}</center>
Example
(link image here with max height 256) (link image here with max height 256)
Example Image Ingame Result

Image Spec

{| class="wikitable" width="100%"
! width="15%" | File Location
| file path relative to root of map folder
|-
! File Format
| What file format can be used.
|-
! Colour Depth
| bits per pixel
|-
! Channels
| what colour channels
|-
! Resolution
| Either an exact value, a description or below.
<center>
{| class="wikitable" style="text-align: center;"
!Spring Map Size<sup>*</sup>
!pixels = Spring Map Size * 512
|-
| 2
| 1024
|-
| 4
| 2048
|-
| 6
| 3072
|-
| ...
| ...
|-
| 32
| 16 384
|-
| style="text-align: left;font-style:italic" colspan=2 | * must be multiples of 2
|}</center>
|}
File Location file path relative to root of map folder
File Format What file format can be used.
Colour Depth bits per pixel
Channels what colour channels
Resolution Either an exact value, a description or below.
Spring Map Size* pixels = Spring Map Size * 512
2 1024
4 2048
6 3072
... ...
32 16 384
* must be multiples of 2