Predefinição:Mapa objeto/doc

De RuneScape Wiki
Ir para: navegação, pesquisa
Ícone informação.svg
Isto é uma subpágina de documentação para Predefinição:Mapa objeto.
Contém informações de uso, categorias e outros conteúdos que não fazem parte da predefinição original
Predefinição:Mapa objeto invoca a função objectmap em Módulo:Map usando Lua.
Necessita tradução
Este artigo ou seção contém termos não traduzidos
Se souber alguma tradução, por favor, edite!

Generates a map for object (scenery) locations, where each location point is marked.

Single

{{Object map|objectname=Photo booth|objectid=46396|x=2928|y=3323|caption=Location of the [[photo booth]]}} The caption is optional, for all other available parameters see below.

Location of the photo booth

Multiple

Multiple object locations can be combined, objectid and objectname can be set for all, or each location individually. For all other available parameters see below. Pins should be represented as unnamed arguments in the format |param:value,param2:value...|

{{Object map
|objectname=Acadia tree
|objectid:109007,x:3180,y:2753
|objectid:109007,x:3192,y:2753
|objectid:109007,x:3180,y:2747
|objectid:109007,x:3192,y:2747
|objectid:109001,x:3179,y:2736
|objectid:109001,x:3194,y:2736
|objectid:109001,x:3183,y:2722
|objectid:109001,x:3189,y:2722
|objectid:109001,x:3183,y:2716
|objectid:109001,x:3195,y:2716
|objectid:109001,x:3196,y:2708
|objectid:109001,x:3180,y:2704
}}

Parameters

Template

  • mapID - Map id (see RuneScape:Map/mapIDs for a list) defaults to 28 (surface)
  • plane - The map plane (0 is surface)
  • objectname - Name of the object
  • objectid - Id of the object
  • respawn - Respawn time for the object (if it respawns)
  • version - The version name (anchor) for the version of the object. (Should match the version in the infobox)
  • caption - Optional caption
  • align - The alignment, defaults to center
  • width - Width of the map (in px)
  • height - height of the map (in px)
  • zoom - override default zoom
  • x - X-coordinate for the center of the map
  • y - Y-coordinate for the center of the map
  • group - Spawn group
  • type - Accepts maplink to create a link instead of the map
    • text - Alternate text for link
  • nopreprocess - Any value causes the template to output the html element and json instead of rendering the map/link

Per Pin

Will override the common params

  • plane - The map plane (0 is surface)
  • objectname - Name of the object
  • objectid - Id of the object
  • respawn - Respawn time for the object (if it respawns)
  • npcid - NPC id of the object (if represented as an NPC)
  • version - The version name (anchor) for the version of the object. (Should match the version in the infobox)
  • notes - Additional notes to add to the pin description

See also