MarioWiki:Image maps: Difference between revisions

From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
(proposal passed)
 
m (Protected "MarioWiki:Image Maps": Important policy page. ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)))
(No difference)

Revision as of 11:05, October 1, 2013

Image Maps are images where different parts of the image link to different pages (as opposed to the entire image being a link to a single destination). For example, Template:Bowsermap is a map of Bowser's body from Mario & Luigi: Bowser's Inside Story, in which every area of the body links to the article corresponding to that area. Similarly, Template:SMRPGmap links to the areas that are visited in Super Mario RPG: The Legend of the Seven Stars, all of which are pictured on the map. The purpose of Image Maps are to allow for easier navigation between areas in a game, as they are visual, rather than name-based. This policy page outlines standards that must be followed when creating a Image Maps template.

Rules

Choosing an image

The Map Images must be a map sprite from the game (i.e this), screenshot (i.e this), or an official map artwork (i.e this). A fan-made or any artworks that didn't come from official sources aren't allowed in any case.

Things to consider before making the template

  • Templates must only be made for real articles.
  • Image Maps are meant for locations, or levels. Creating an Image Map for characters is not allowed.
  • Creating Image Maps with less than 8 links is discouraged and not allowed.
  • While specifying size for the Map, 2 things must be considered:
    • The Image Map's any dimension must not exceed 400 pixels, and the other one must not exceed 200 pixels.
    • The Image Map's width in the {{Worldbox}} template must never exceed 300 pixels.
  • If the map isn't going to be put into the Worldbox template, then the map should be classed as a thumbnail and aligned to the right. However, If the map is only going to be put in the Worldbox template, it must be classed as none and it must be aligned in the center.
    • Otherwise a variable must be declared; so if it is set to infobox,it would be aligned in the center and it would be classed as none. And if it is not set, it would be classed as a thumbnail and it would be aligned to the right.

Where to put the template

  • The template must only be put where it links to (i.e If the template only links to Template:Fakelink and Template:Fakelink, it must never be put on Template:Fakelink)
  • If the article is about a subject that only appeared in the Image Map's game, the template should be put under the info-box. Otherwise the template should be put as the first line in the game's section on the article.
    • For the Platformer games: in the Worlds pages, the template should be put in the map parameter of the {{Worldbox}} template (using the code |map={{templatename}})

Creating the Image Map

  1. First thing is specify the image, upload one if none exists.
  2. Specify the name of the template that will contain the Image Map, The name should contain the name (or a shorten form) of the game plus additional 'map' at the end.
  3. Start coding the template. If you cannot specify the coordinates, you could use online tools such as this. (But change the output to 'Wiki imagemap')
  4. Once Done, preview the template and check it appear correctly, and that links works (press CTRL while clicking on the map, to open on another window, and to keep the current page).
  5. If every things works correctly save the template, and start adding it to articles.

Basic Coding

<imagemap>
[file]|[size]px|[class]|[align]|Click an area to open the relevant article.
[coordinates]|[[page]]
[coordinates]|[[page]]
</imagemap>
  • [file]: The internal Image for the map. (i.e: File:MLRPG3 Map.png)
  • [size]: The size of the map.
  • [class]: The class of the image (thumb, frame, or none)
    • Use thumbnail, or none depending on either the template will go into the Worldbox or no, respectively.
    • Use frame instead of thumb only when the image size equals to the size of the map.
      • When using frame, remove the [size] variable including the '|'.
  • [align]: Where to align the template.
  • Specify each [coordinates] and page accordingly to the Image Map links
  • For using variable, add defaultvalue (ex. replace [size] with 300)

Basic Usage

{{templatename|variable1=value|variable2=value}}

Change each variable name and value accordingly or remove them if no variables exists.

Template:BoxTop Template:Wikipolicy