Template:ELink/doc

From eRepublik Official Wiki
< Template:ELink
Revision as of 11:56, 16 November 2019 by Democr1tus (Talk | contribs)

Jump to: navigation, search
edit

Edit-copy green.png Documentation subpage

This documentation subpage contains instructions, categories, or other information for technical reasons.
To view the Template page itself, see Template:ELink.

{{eLink}} is a template easily allowing to create links to the game by their IDs. For adding links to laws, please check {{eLinkLaw}}.

Usage

{{eLink|article,citizen,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: 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

December 2018

  • militaryunit is NO LONGER IN USE - unit should be used instead!