Template:Israeli football club on map/doc
![]() | This is a documentation subpage for Template:Israeli football club on map. It may contain usage information, categories and other content that is not part of the original template page. |
Template:Israeli football club on map is used to place an Israeli football (soccer) club location mark on a map of Israel with the team label and link. This template acts as a wrapper for {{Location map~}}.
Usage
[edit]{{Israeli football club on map|<team name>|label_size=|background=|raise=|lower=|position=}}
Parameter list
[edit]Parameter | Explanation |
---|---|
1 | The team's name. See table for supported team labels. |
label_size | The font size to use for the label, given as a percentage of the normal font size (<100 = smaller, >100 = larger). The default is 90. Do not include %, for example: label_size=80, not label_size=80%. If set to 0, the label is only displayed when the user hovers over the mark. |
background | The background color to use for the label. See web colors. The default is no background color, which shows the map image behind the label. When used with |raise= or |lower= the color is handled by {{Background color}}.
|
raise | Raises the label a specified number of units – the proportional "em" units are recommended. Uses {{Raise}}. See template page for more information. |
lower | Lowers the label a specified number of units – the proportional "em" units are recommended. Uses {{Lower}}. See template page for more information. |
position | The position of the label relative to the mark. Valid values are left , right , top and bottom . The default is right .
|
TemplateData
[edit]TemplateData documentation used by VisualEditor and other tools
| |||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
See a monthly parameter usage report for Template:Israeli football club on map in articles based on its TemplateData.
TemplateData for Israeli football club on map This template is used to place an Israeli football (soccer) club location mark on a map of Israel with the team label and link.
|
Example
[edit]{{Location map+ |Israel |caption=Locations of the 2012–13 Israeli Premier League teams |float=right |width=400 |places=
{{Israeli football club on map|Beitar Jerusalem|background=#fefeea}}
{{Israeli football club on map|Bnei Sakhnin|position=bottom}}
{{Israeli football club on map|F.C. Ashdod|position=left}}
{{Israeli football club on map|Hapoel Acre|position=left}}
{{Israeli football club on map|Hapoel Be'er Sheva}}
{{Israeli football club on map|Hapoel Haifa|position=left}}
{{Israeli football club on map|Maccabi Haifa|lower=0.9em|position=left}}
{{Israeli football club on map|Hapoel Ramat Gan|background=#fefeea|lower=0.3em}}
{{Israeli football club on map|Ironi Kiryat Shmona|background=#fefeea|position=left}}
{{Israeli football club on map|Hapoel Nir Ramat HaSharon|background=#fefeea|raise=0.3em}}
{{Israeli football club on map|Maccabi Netanya|position=left}}
{{Israeli football club on map|Bnei Yehuda|raise=0.9em|position=left}}
{{Israeli football club on map|Hapoel Tel Aviv|position=left}}
{{Israeli football club on map|Maccabi Tel Aviv|lower=0.9em|position=left}}
}}
Teams supported
[edit]Adding a new team
[edit]To add a new team to the template, first edit Template:Israeli football club on map/names and add to the list the new team label and the article link. Then edit Template:Israeli football club on map/coords and add to the list the same team label you've added to the previous page and the coordinates. Add new labels in alphabetical order and follow the style used in the templates.