Difference between revisions of "Rising:Main Menu (Template)"

From eRepublik Official Wiki
Jump to: navigation, search
(proper linking to this version of the imagemap restored)
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<center>{{#tag:imagemap|
 
<center>{{#tag:imagemap|
File:MMR-{{{img|EN}}}.jpg{{!}}Main menu (clickable)
+
File:Main Menu Rising-{{{img|EN}}}.jpg{{!}}Main menu (clickable)
 
rect 0 0 48 46 {{L|Homepage}}
 
rect 0 0 48 46 {{L|Homepage}}
rect 49 0 229 46 {{L|My land}}
+
rect 49 0 229 46 {{L|Rising:My land|My land}}
rect 230 0 410 46 {{L|Wars|Wars List}}
+
rect 49 46 229 92 {{L|Rising:Company_(presentation_page)|Company}}
rect 592 0 772 46 {{L|Community}}
+
rect 48 90 229 131 {{L|Rising:Training grounds|Training grounds}}
 +
rect 48 129 229 171 {{L|Party}}
 +
rect 48 170 229 210 {{L|Newspaper}}
 +
rect 48 208 229 252 {{L|Organization}}
 +
rect 48 251 229 291 {{L|Country administration}}
 +
rect 48 290 229 332 {{L|Rising:Chat|Chat rooms}}
 +
rect 48 332 230 372 {{L|Rising:Advertising agency|Advertising agency}}
 +
rect 230 0 410 46 begin_of_the_skype_highlighting              230 0 410 46      end_of_the_skype_highlighting {{L|Market}}
 +
rect 230 46 410 91 {{L|Marketplace}}
 +
rect 230 90 410 130 {{L|Monetary market}}
 +
rect 229 130 410 173 {{L|Rising:Job market|Job market}}
 +
rect 229 173 410 219 {{L|Rising:Company (presentation page)|Company}}
 +
rect 410 46 591 93 {{L|Rising:Rankings|Rankings}}
 +
rect 411 0 591 46 {{L|Rising:Info|Info}}
 +
rect 411 91 591 130 {{L|Country stats}}
 +
rect 410 129 591 170 {{L|Rising:Wars|Wars list}}
 +
rect 410 168 591 214 {{L|Historical map|World map}}
 +
rect 592 0 772 46 {{L|Rising:Community|Community}}
 +
rect 592 46 772 91 {{L|Rising:Invite friends|Invite friends}}
 +
rect 592 90 772 130 {{L|Elections}}
 +
rect 592 128 772 171 {{L|News}}
 +
rect 592 170 772 214 [http://www.erepublik.com/en/badges Badges]
 +
rect 592 212 773 254 {{L|Forum}}
 +
rect 592 253 772 374 {{L|Rising:Main Page (portal)|Wiki}}
 
rect 773 0 952 46 {{L|Gold and Extras}}
 
rect 773 0 952 46 {{L|Gold and Extras}}
rect 591 128 772 171 {{L|Party}}
 
rect 592 253 772 294 {{L|Country administration}}
 
rect 410 46 591 93 {{L|Marketplace}}
 
rect 410 129 591 170 {{L|Monetary market}}
 
rect 411 91 591 130 {{L|Job market}}
 
rect 410 168 591 214 {{L|Companies for sale}}
 
rect 592 212 773 254 {{L|Rankings}}
 
rect 411 91 591 130 {{L|Country stats}}
 
rect 411 0 591 46 {{L|Market}}
 
rect 592 46 772 91 {{L|World map}}
 
rect 592 253 772 334 {{L|Invite friends}}
 
rect 591 170 772 214 {{L|Elections}}
 
rect 592 90 772 130 {{L|News}}
 
rect 592 253 772 374 {{L|Organization}}
 
rect 592 253 772 414 [http://www.erepublik.com/en/badges Badges]
 
 
desc none
 
desc none
}}</center></includeonly><noinclude>
+
}}</center><noinclude>
 
{{TOCright}}
 
{{TOCright}}
  
 
==Description==
 
==Description==
 
+
A template for displaying the '''Main menu bar''' with all drop-down menus open, each section linking to the page in question. To be used in the Rising versions of the articles.
A template for displaying the '''[[Main menu]] bar''' with all drop down menus open, each section linking to page in question.
+
  
 
==Supported languages==
 
==Supported languages==
 
 
Use parameter '''img''' to set the language in which you want the menu to appear. All the official languages are supported:
 
Use parameter '''img''' to set the language in which you want the menu to appear. All the official languages are supported:
  
Line 38: Line 44:
 
! Usage
 
! Usage
 
|-
 
|-
| [[:File:MMR-EN.jpg|EN]]
+
| [[:File:Main Menu Rising-EN.jpg|EN]]
 
| English
 
| English
 
| <nowiki>{{Main Menu|img=EN}}</nowiki>
 
| <nowiki>{{Main Menu|img=EN}}</nowiki>
 
|-
 
|-
| [[:File:MMR-ES.jpg|ES]]
+
| [[:File:Main Menu Rising-ES.jpg|ES]]
 
| Spanish
 
| Spanish
 
| <nowiki>{{Main Menu|img=ES}}</nowiki>
 
| <nowiki>{{Main Menu|img=ES}}</nowiki>
 
|-
 
|-
| [[:File:MMR-FR.jpg|FR]]
+
| [[:File:Main Menu Rising-FR.jpg|FR]]
 
| French
 
| French
 
| <nowiki>{{Main Menu|img=FR}}</nowiki>
 
| <nowiki>{{Main Menu|img=FR}}</nowiki>
 
|-
 
|-
| [[:File:MMR-DE.jpg|DE]]
+
| [[:File:Main Menu Rising-DE.jpg|DE]]
 
| Germany
 
| Germany
 
| <nowiki>{{Main Menu|img=DE}}</nowiki>
 
| <nowiki>{{Main Menu|img=DE}}</nowiki>
 
|-
 
|-
| [[:File:MMR-PT.jpg|PT]]
+
| [[:File:Main Menu Rising-PT.jpg|PT]]
 
| Portuguese
 
| Portuguese
 
| <nowiki>{{Main Menu|img=PT}}</nowiki>
 
| <nowiki>{{Main Menu|img=PT}}</nowiki>
Line 60: Line 66:
  
 
===Usage===
 
===Usage===
 +
For example, <pre>{{Rising:Main Menu (Template)|img=ES}}</pre> will produce full-size image map of: [[File:Main Menu Rising-ES.jpg|800px|thumb|center]]
  
For example, <pre>{{Main Menu|img=ES}}</pre> will produce full-size image map of: [[File:MM-ES.jpg|800px|thumb|center]]
+
For English language it is enough just to use <pre>{{Rising:Main Menu (Template)}}</pre>
  
 
===Adding new languages===
 
===Adding new languages===
This template uses only one image map code to add links on the image. Because of that, all the images <u>must be</u> the same size in order for it to work properly. The images used are made by combining five screen shots, and they should be about this sizes:
+
This template uses only one image map code to add links on the image. Because of that, all the images <u>must be</u> the same size in order for it to work properly. The images used are made by combining five screenshots, and they should be about these sizes:
  
 
{| class="wikitable"
 
{| class="wikitable"
Line 89: Line 96:
 
|}
 
|}
  
Once the image is successfully "built", just upload it with name '''MMR-X.JPG''' where X = the languages abbreviation used on it's eRepublik translation. For example French would be ''FR'', Germany ''DE'' etc. '''The images MUST be in .jpg format!''' If new features are added, these pictures shouldn't be updated until the yellow highlighting is gone. Also, it's more important to get the width right because below the menus, it's only white anyways. When updating images you can use old ones, there's no point in creating new ones from scratch unless it's for completely new language.  
+
Once the image is successfully "built", just upload it with name '''MMR-X.JPG''' where X = the languages abbreviation used on its eRepublik translation. For example French would be ''FR'', Germany ''DE'' etc. '''The images MUST be in .jpg format!''' If new features are added, these pictures shouldn't be updated until the yellow highlighting is gone. Also, it's more important to get the width right because below the menus, it's only white anyways. When updating images you can use old ones, there's no point in creating new ones from scratch unless it's for a completely new language.  
[[Category:Menu Templates|Main Menu]]
+
[[Category:Rising Templates|Main Menu]]
 
</noinclude>
 
</noinclude>

Revision as of 12:29, 5 August 2019

HomepageMy landCompanyTraining groundsPartyNewspaperOrganizationCountry administrationChat roomsAdvertising agencyMarketMarketplaceMonetary marketJob marketCompanyRankingsInfoCountry statsWars listWorld mapCommunityInvite friendsElectionsNewsBadgesForumWikiGold and ExtrasMain menu (clickable)

Description

A template for displaying the Main menu bar with all drop-down menus open, each section linking to the page in question. To be used in the Rising versions of the articles.

Supported languages

Use parameter img to set the language in which you want the menu to appear. All the official languages are supported:

img= Language Usage
EN English {{Main Menu|img=EN}}
ES Spanish {{Main Menu|img=ES}}
FR French {{Main Menu|img=FR}}
DE Germany {{Main Menu|img=DE}}
PT Portuguese {{Main Menu|img=PT}}

Usage

For example,
{{Rising:Main Menu (Template)|img=ES}}
will produce full-size image map of:
Main Menu Rising-ES.jpg
For English language it is enough just to use
{{Rising:Main Menu (Template)}}

Adding new languages

This template uses only one image map code to add links on the image. Because of that, all the images must be the same size in order for it to work properly. The images used are made by combining five screenshots, and they should be about these sizes:

Image Size
Menu bar 953 x 47
My places menu 182 x 254
Market menu 182 x 173
Info menu 182 x 173
Community menu 182 x 254
Finished image ~953 x ~301

Once the image is successfully "built", just upload it with name MMR-X.JPG where X = the languages abbreviation used on its eRepublik translation. For example French would be FR, Germany DE etc. The images MUST be in .jpg format! If new features are added, these pictures shouldn't be updated until the yellow highlighting is gone. Also, it's more important to get the width right because below the menus, it's only white anyways. When updating images you can use old ones, there's no point in creating new ones from scratch unless it's for a completely new language.