Template:ELink

From eRepublik Official Wiki
Jump to: navigation, search
edit

Complex.png Complex template

The code of this template is really complex, please use your sandbox before editing this template


[edit] [purge]

Documentation
{{eLink}} is a template easily allowing to create links to the game by their IDs.

Usage

{{eLink|article,profile,unit,...|number|text}}

Linking possibilities

You can use this template to link following pages withing eRepublik by adding the one of the following words as first parameter:

  • profile or citizen: link to citizen profile
  • article: link to newspaper article
  • newspaper: link to newspaper
  • organization: link to organization profile
  • war: link to war details
  • company: link to company presentation page
  • country: link to country profile
  • party: link to party page
  • battle: link to battlefield
  • land: link to someone's land
  • unit or militaryunit: link to military unit profile
  • update: link to game update
  • post: link to post
  • unitpost: link to military unit post
  • partypost: link to party post

Number is the ID found from the URL (a many-digit number in the URL, ONLY NUMBERS).
Exception: link to country page requires the country link (found from URL of come page about the country) - not country ID.

Examples

Changes

April 2011

  • Fixes for economy/forum subdomains

October 2013

  • Organization correction

November 2013

  • Update added

February 2015

  • Battle link corrected
  • Post, unitpost and partypost added
  • Forum and topic corrections
  • Example list updated

May 2015

  • Company removed from the list; they don't exist anymore in the game as they did before
  • Land removed from the list; impossible to access
  • Country linking corrected
  • Example list includes all of the possibilities