Help:Creating data pages on this wiki

From PMDOWiki
Revision as of 00:33, 30 November 2022 by Shitpost Sunkern (talk | contribs) (Created page with "This wiki makes use of '''data pages''' in order to organize certain data like Pokémon stats, move power, accuracy, and PP, item sell values, and more. This is done to reduce the number of pages that have to be updated when new game updates adjust game balance. This page will describe how to add pages for '''abilities''', '''items''', '''moves''', and '''Pokémon'''. These subjects have been roughly ordered in increasing complexity; adding a page for an Ability is easie...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This wiki makes use of data pages in order to organize certain data like Pokémon stats, move power, accuracy, and PP, item sell values, and more. This is done to reduce the number of pages that have to be updated when new game updates adjust game balance. This page will describe how to add pages for abilities, items, moves, and Pokémon. These subjects have been roughly ordered in increasing complexity; adding a page for an Ability is easier than adding a page for a Pokémon.

General Tips

  • This guide will not use the visual editor, since it is heavily reliant on the use of templates.
  • The data page for a given subject will be located at https://wiki.pmdo.pmdcollab.org/[SUBJECT]/Data.
  • Data pages and page infoboxes heavily make use of MediaWiki templates. For a refresher on templates, see mw:Help:Templates.
  • Be sure to mark incomplete articles by adding {{stub}} to the top of the page or {{sectstub}} underneath a section header.
  • Keep descriptions detailed, but short. Include percentages for effect changes.
  • When naming pages, don't add qualifiers like "(move)", "(item)", "(ability)", etc. unless it is to disambiguate between moves/items/abilities that share the same name, e.g. Metronome (item) and Metronome (move).

Abilities

Example page: Big Pecks and Big Pecks/Data

Data Page

1. Create the ability's data page at [ABILITY NAME]/Data.

2. Add the below template and fill out the empty values:

{{{{{1|AbilityData}}}
|ability_name=
|ability_id=
|description=
}}
ability_name (required)
The ability's name, correctly capitalized and spaced.
ability_id (required)
The ability's internal string ID. This is the leftmost column if you are viewing the guide output.
description (required)
A terse but accurate description of the ability's effect.

3. Preview the page to make sure everything looks correct, then save the page when done.

Ability Page

4. Create a page for the ability.

5. Paste the following template into the page. Replace [ABILITY NAME] with the name of the ability, correctly capitalized and spaced.

{{:[ABILITY NAME]/Data|AbilityInfobox}}

'''[ABILITY NAME]''' is an [[ability]] in [[PMDO]].

== Effects ==

== Strategy ==

6. Either fill out the Effects and Strategy sections, or mark the page as a stub with {{stub}} or a blank section with {{sectstub}}.

7. Preview the page to make sure everything looks correct, then save the page when done.

Items

Example pages: Reviver Seed and Reviver Seed/Data

Data Page

1. Create the item's data page at [ITEM NAME]/Data.

2. Add the below template and fill out the empty values:

{{{{{1|ItemData}}}
|item_name=
|sprite=
|item_id=
|is_edible=
|value=
}}
item_name (required)
The item's name, correctly capitalized and spaced.
sprite (required)
The file name of the item's sprite. A list of all item sprites can be found at Category:Item_sprites Please see Help:Uploading sprites if the sprite you're looking for hasn't been uploaded.
item_id (required)
The item's internal string ID. This is the leftmost column if you are viewing the guide output. Unlike abilities, moves, or Pokémon, this is usually different from the item name.
is_edible (required)
"Yes" if this item triggers Belch, and "No" if not.
value (required)
The item's sell value, which is also used in Roguelocke score calculation.

3. Preview the page to make sure everything looks correct, then save the page when done.

Item Page

4. Create a page for the item.

5. Paste the following template into the page. Replace [ITEM NAME] with the name of the item, correctly capitalized and spaced.

{{:[ITEM NAME]/Data|ItemInfobox}}

The '''[ITEM NAME]''' is an item in [[PMDO]].

== Uses ==

6. Either fill out the Uses section or mark the page as a stub with {{stub}}.

7. Preview the page to make sure everything looks correct, then save the page when done.

Moves

Example pages: Tackle, Tackle/Data, and Growl/Data

Data Page

1. Create the move's data page at [MOVE NAME]/Data.

2. Add the below template and fill out the empty values:

{{{{{1|MoveData}}}
|move_name=
|move_id=
|type=
|category=
|power=
|accuracy=
|pp=
|range=
|target=
|description=
}}
move_name (required)
The move's name, correctly capitalized and spaced.
move_id (required)
The ability's internal string ID. This is the leftmost column if you are viewing the guide output.
type (required)
The move's type, capitalized (e.g. "Normal")
category (required)
The move's category, capitalized (e.g. "Physical", "Special", or "Status")
power (required)
The move's power. Type two hyphens ("--") if the move does not have a listed power.
accuracy (required)
The move's accuracy. Type two hyphens ("--") if the move does not have a listed accuracy.
pp (required)
The move's PP.
range (required)
The move's range. This should more or less look like one of the following:
  • In front
  • X-tile dash/shot/beam/area
  • X-away row/single tile/area
  • Self
  • Party
  • Floor
target (required)
One of "Foes", "Allies", "Self", or "Anyone", depending on who this move can hit.
description
A terse but accurate description of the move's non-damage effects, if any. Don't include if the move only deals damage. Separate sentences with <br>.

3. Preview the page to make sure everything looks correct, then save the page when done.

Move Page

4. Create a page for the move.

5. Paste the following template into the page. Replace [MOVE NAME] with the name of the ability, correctly capitalized and spaced.

{{:[MOVE NAME]/Data|MoveInfobox}}

'''[MOVE NAME]''' is a [[move]] in [[PMDO]].

== Effects ==

== Strategy ==

6. Either fill out the Effects and Strategy sections, or mark the page as a stub with {{stub}} or a blank section with {{sectstub}}.

7. Preview the page to make sure everything looks correct, then save the page when done.

Pokémon

Example pages: Charizard family, Charmander/Data, and Charmander/Learnset

This section is a stub. You can help PMDO Wiki by expanding it.


Dungeons

The templates for dungeons are still a work in progress, so please wait to add pages for them until they are ready.