Template:Israeli football club on map

From blackwiki
Revision as of 17:48, 13 May 2019 by imported>Gonnym
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Template documentation[view] [edit] [history] [purge]

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

{{Israeli football club on map|<team name>|label_size=|background=|raise=|lower=|position=}}

Parameter list

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

TemplateData documentation used by VisualEditor and other tools
See the monthly parameter usage report for this template.

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.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Team name1

The team's name. See table for supported team labels.

Stringrequired
Label sizelabel_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.

Stringoptional
Background colorbackground

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.

Stringoptional
Raise label textraise

Raises the label a specified number of units – the proportional "em" units are recommended. Uses {{tl|Raise}}. See template page for more information.

Stringoptional
Lowers label textlower

Lowers the label a specified number of units – the proportional "em" units are recommended. Uses {{tl|Lower}}. See template page for more information.

Stringoptional
Positionposition

The position of the label relative to the mark. Valid values are <code>left</code>, <code>right</code>, <code>top</code> and <code>bottom</code>. The default is <code>right</code>.

Stringoptional

Example

Israeli football club on map is located in IsraelLua error in Module:Location_map at line 399: Malformed coordinates value.Lua error in Module:Location_map at line 399: Malformed coordinates value.Lua error in Module:Location_map at line 399: Malformed coordinates value.Lua error in Module:Location_map at line 399: Malformed coordinates value.Lua error in Module:Location_map at line 399: Malformed coordinates value.Lua error in Module:Location_map at line 399: Malformed coordinates value.Lua error in Module:Location_map at line 399: Malformed coordinates value.Lua error in Module:Location_map at line 399: Malformed coordinates value.Lua error in Module:Location_map at line 399: Malformed coordinates value.Lua error in Module:Location_map at line 399: Malformed coordinates value.Lua error in Module:Location_map at line 399: Malformed coordinates value.Lua error in Module:Location_map at line 399: Malformed coordinates value.Lua error in Module:Location_map at line 399: Malformed coordinates value.Lua error in Module:Location_map at line 399: Malformed coordinates value.
Locations of the 2012–13 Israeli Premier League teams
{{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

Label Team article Coordinates on map
Beitar Jerusalem Beitar Jerusalem F.C. Lua error: callParserFunction: function "#coordinates" was not found.
Bnei Sakhnin Bnei Sakhnin F.C. Lua error: callParserFunction: function "#coordinates" was not found.
Bnei Yehuda Bnei Yehuda Tel Aviv F.C. Lua error: callParserFunction: function "#coordinates" was not found.
F.C. Ashdod F.C. Ashdod Lua error: callParserFunction: function "#coordinates" was not found.
Hapoel Acre Hapoel Acre F.C. Lua error: callParserFunction: function "#coordinates" was not found.
Hapoel Ashkelon Hapoel Ashkelon F.C. Lua error: callParserFunction: function "#coordinates" was not found.
Hapoel Be'er Sheva Hapoel Be'er Sheva F.C. Lua error: callParserFunction: function "#coordinates" was not found.
Hapoel Hadera Hapoel Hadera F.C. Lua error: callParserFunction: function "#coordinates" was not found.
Hapoel Haifa Hapoel Haifa F.C. Lua error: callParserFunction: function "#coordinates" was not found.
Hapoel Kfar Saba Hapoel Kfar Saba F.C. Lua error: callParserFunction: function "#coordinates" was not found.
Hapoel Petah Tikva Hapoel Petah Tikva F.C. Lua error: callParserFunction: function "#coordinates" was not found.
Hapoel Ra'anana Hapoel Ra'anana A.F.C. Lua error: callParserFunction: function "#coordinates" was not found.
Hapoel Ramat Gan Hapoel Ramat Gan Givatayim F.C. Lua error: callParserFunction: function "#coordinates" was not found.
Hapoel Ramat Gan Givatayim Hapoel Ramat Gan Givatayim F.C. Lua error: callParserFunction: function "#coordinates" was not found.
Hapoel Ramat HaSharon Hapoel Ramat HaSharon F.C. Lua error: callParserFunction: function "#coordinates" was not found.
Hapoel Ironi Nir Ramat HaSharon Hapoel Ironi Nir Ramat HaSharon F.C. Lua error: callParserFunction: function "#coordinates" was not found.
Hapoel Nir Ramat HaSharon Hapoel Nir Ramat HaSharon F.C. Lua error: callParserFunction: function "#coordinates" was not found.
Ironi Nir Ramat HaSharon Ironi Nir Ramat HaSharon F.C. Lua error: callParserFunction: function "#coordinates" was not found.
Hapoel Rishon LeZion Hapoel Rishon LeZion F.C. Lua error: callParserFunction: function "#coordinates" was not found.
Hapoel Tel Aviv Hapoel Tel Aviv F.C. Lua error: callParserFunction: function "#coordinates" was not found.
Ironi Kiryat Shmona Hapoel Ironi Kiryat Shmona F.C. Lua error: callParserFunction: function "#coordinates" was not found.
Maccabi Ahi Nazareth Maccabi Ahi Nazareth F.C. Lua error: callParserFunction: function "#coordinates" was not found.
Maccabi Haifa Maccabi Haifa F.C. Lua error: callParserFunction: function "#coordinates" was not found.
Maccabi Herzliya Maccabi Herzliya F.C. Lua error: callParserFunction: function "#coordinates" was not found.
Maccabi Netanya Maccabi Netanya F.C. Lua error: callParserFunction: function "#coordinates" was not found.
Maccabi Petah Tikva Maccabi Petah Tikva F.C. Lua error: callParserFunction: function "#coordinates" was not found.
Maccabi Tel Aviv Maccabi Tel Aviv F.C. Lua error: callParserFunction: function "#coordinates" was not found.

Adding a new team

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.