Template:Image with icons/doc
From Another Eden Wiki
Documentation
[purge]
Subtemplates[edit]
Description[edit]
Template used for putting icons on images with 100x100 coordinates
- first unnamed parameter is filename without .png extension
- 2-31 unnamed parameters are icon names for Template:Icon to produce them.
- Each of 30 icon parameters consists from 4 parts delimited by 3 "#" symbols
- IconName#X#Y#Text
- IconName name for Template:Icon
- X#Y - X (horizontal) and Y (vertical) coordinates in 1-100 coordinate grid of the image
- #Text - can attach some text to icon (better styling for this part is still under construction..)
- grid=any text - Show coordinates grid if this parameter is not empty. Can be used on preview to look for X Y you need.
Another Dungeon pages use[edit]
When this template is used inside Another Dungeon template inside |maps= parameter it will produce tabs for tab:tabber with maps in them with width:min(500px,100%) And will fully replace standard maps block on Dungeon page with this template results.
- Each tab will be named like "Minimap %Last_word_of_Filename%". As example:
- "Miglance Castle 1" will produce "Minimap 1" tabname.
- "Miglance Castle (Another Dungeon) Bonus" will produce "Minimap Bonus" tabname
Use examples[edit]
{{Iwi|Miglance Castle (Another Dungeon) Minimap 1 |chest#28#45 |script#59#27#chant |chest#59#32 |grid=yes }}
Use grid to set coordinates for any icons from Template:Icon
- Template - {Iwi|map-name|Chest#30#30|chest#40#40#text}
- 1st chest icon with top-left coordinates 30x30
- 2nd chest icon with top-left coordinates 40x40 and show "text" to the right from it
- upto 30 icons can be added
- to remove grid and this help, remove |grid=parameter
{{Iwi|Miglance Castle (Another Dungeon) Minimap 2 |chest#28#45 |chest#59#32 |script#59#27#chant |icons-style=font-weight: bold; color: lightblue; font-size: large; }}