Difference between revisions of "Template:ELink/doc"
From eRepublik Official Wiki
('''militaryunit''' removed; documentation updated accordingly) |
Democr1tus (Talk | contribs) m |
||
Line 1: | Line 1: | ||
{{Documentation subpage}} | {{Documentation subpage}} | ||
− | {{Tl|eLink}} is a template easily allowing to create links to the game by their IDs. For adding links to | + | {{Tl|eLink}} is a template easily allowing to create links to the game by their IDs. For adding links to laws, please check {{Tl|eLinkLaw}}. |
==Usage== | ==Usage== |
Revision as of 11:56, 16 November 2019
This documentation subpage contains instructions, categories, or other information for technical reasons.
To view the Template page itself, see Template:ELink.
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}}.
Contents
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
-
{{eLink|citizen|2|Plato}}
= Plato -
{{eLink|organization|1271772|Organizacion Bancaria Mexicana}}
= Organizacion Bancaria Mexicana -
{{eLink|profile|2|Plato}}
= Plato -
{{eLink|newspaper|81|eRepublik Insider}}
= eRepublik Insider -
{{eLink|article|2512394|Koliko nas ima?}}
= Koliko nas ima? -
{{eLink|party|3683|P.O.R.R.A.D.A.}}
= P.O.R.R.A.D.A. -
{{eLink|war|1344|Latvia-Estonia War}}
= Latvia-Estonia War -
{{eLink|battle|10193|Heilongjiang}}
= Heilongjiang -
{{eLink|unit|3751|Unit 3751}}
= Unit 3751 -
{{eLink|update|10|Health to Energy}}
= Health to Energy -
{{eLink|country|United-Kingdom|United Kingdom}}
= United Kingdom
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!