Template:Station Trade Rank Ref

From EVE University Wiki
Jump to: navigation, search

{{{name}}} [1]

Template documentation (for the above template, sometimes hidden or invisible)
Description
This template takes a station id, station name, and region, formats the name, and creates a standardized reference to eve-marketdata.com, showing the trade rank for that station in its region. It is used to more easily create multiple references and allow for bulk formatting changes, if desired.
Syntax
Type {{Station Trade Rank Ref|<id=>|<name=>|<region=>}} for each station in a list of Trade Hubs, specifying the details for the trade hub you want to name and cite.
  • Station Names and IDs may be easily cross-referenced at eve-marketdata.com.
  • Region name is optional
Sample output
* {{Station Trade Rank Ref|id=60003760|name=Jita IV - Moon 4 - Caldari Navy Assembly Plant|region=The Forge}}
gives...
  • Jita IV - Moon 4 - Caldari Navy Assembly Plant [1]
Notes
Hopefully, in the future, the UniWiki will enable the External Data Extension, which will allow this template to be modified to accept either a station name or ID, and look up the rest via the eve-marketdata.com API, using for example:
{{#get_web_data: url=https://api.eveonline.com/eve/CharacterName.xml.aspx?ids={{{id}}} | format=XML | data=name=/eveapi/result/rowset/row/name | use xpath}}
Visit Template:Station Trade Rank Ref/doc to edit this text! (How does this work?) (Refresh this text - why?)