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. For adding links to different laws, please check {{eLinkLaw}}.

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:

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

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

May 2017

  • Adding link to {{eLinkLaw}}
  • Minor styling to the usage