Template: Location map: Difference between revisions
From A Wiki of Ice and Fire
mNo edit summary |
mNo edit summary |
||
| Line 65: | Line 65: | ||
}} ({{Location map {{{1}}}|name}})}}}</div></div></includeonly><noinclude> | }} ({{Location map {{{1}}}|name}})}}}</div></div></includeonly><noinclude> | ||
Usage, | ==Usage== | ||
{| | |||
{{Location map | |||
| File:Map.PNG Is the relevant Map from the "Available maps" list bellow (for example File:The_North.png) | |||
| label = The label shown near the location you mark on the map | |||
| label_size = label size (try 92) | |||
| lat = X coordinate of the location[-90..90] (you'll have to play battleship with this, until you'll get it right) | |||
| long = Y coordinate of the location[-180..180] (you'll have to play battleship with this, until you'll get it right) | |||
| position = "right" or "left" - on which side of the marker to add the label. | |||
| mark = image used as marker -e.g "filename.png" | |||
| marksize = size in? | |||
| width = Map width. (usually from 300 to 400) | |||
| float = "right" or "left" - where the map would be located (usually right) | |||
| caption = Text caption show below the map, write here it's description. | |||
| alt = Text to shown if image doesnt load or when mouse hover over it (make it same as caption) | |||
}} | |||
|} | |||
[[Category:Templates]]</noinclude> | [[Category:Templates]]</noinclude> | ||
Revision as of 08:54, 18 May 2012
Usage
- CCC; margin: 3px; float:right; clear:right;background:#F9F9F9;">[[File:Template:Location map File:Map.PNG Is the relevant Map from the "Available maps" list bellow (for example File:The North.png)|Map width. (usually from 300 to 400)px|Text to shown if image doesnt load or when mouse hover over it (make it same as caption)]]<div style="font-size: label size (try 92)%; line-height: 110%; position: relative; top: -1.5em; width: 6em; Expression error: Unexpected < operator.">The label shown near the location you mark on the map
<div style="position: absolute; z-index: 2; top: Expression error: Unrecognized punctuation character "[".%; left: Expression error: Unrecognized punctuation character "[".%; height: 0; width: 0; margin: 0; padding: 0;"><div style="position: relative; text-align: center; left: -Expression error: Unrecognized word "size".px; top: -Expression error: Unrecognized word "size".px; width: size in?px; font-size: size in?px;">
Text caption show below the map, write here it's description.