Content deleted Content added
No edit summary |
Add section: "link=" parameter: linking towns to sources |
||
Line 1:
[[Template:Libyan Civil War detailed map]]
=="link=" parameter: linking towns to sources==
{{___location map+ |Syria |float=right |width=340 |caption=. |places=
{{___location map~ |Syria |lat=33.017 |long=36.128 |mark=Location dot lime.svg |marksize=10 |label=[[Inkhil#civilwar|Inkhil]] |link=Inkhil#civilwar |label_size=100 |position=bottom}}
{{___location map~ |Syria |lat=33.9 |long=37.15 |mark=Arrow northeast.svg |marksize=65 |label=[[#no|"link=" parameter allows clicking on dot to take you to town article]] |link=#no |label_size=0 |position=top}}
{{___location map~ |Syria |lat=33.7 |long=36.8 |mark=Location dot lightgrey.svg |marksize=1 |label=[[Inkhil#civilwar|..., link = "Inkhil#civilwar",...]] |link=Inkhil#civilwar |label_size=100 |position=right}}
{{___location map~ |Syria |lat=35.4 |long=40.1 |mark=Serbian Wikipedia, article "Википедија".png |marksize=200 |label=[[Inkhil#civilwar|Article on Inkhil, civil war section]] |link=Inkhil#civilwar |label_size=0 |position=right}}
}}
Every element on the map should be verifiable. Information on towns (description of control & sources) can be found by ''clicking'' on the town dot on the map. Notice the caption of the map which says: "Hold cursor over ___location to display name; click to go to sources &/or status description (if available, the cursor will show as [[File:Pointing hand cursor vector.svg|25px]]; if not, it will show as [[File:Cursor.svg|14px]])."
Notice the “link=” parameter in the map code. This is supposed to link to the part in the Wikipedia article that contains the source and talks about the events in the town. So for example, if you click on the dot of the town "Inkhil" on the map, it will take you to the part of the Wikipedia article on the town "Inkhil" that has the description of war events (& sources): link = "[[Inkhil#civilwar]]" Here the first part ''before'' the # is the name of the article (Inkhil). the second part ''after'' the # is the name of the section (civilwar).
For this to work, there needs to be a section by this same name in the article or you need to put a wikilink anchor: [[WP:ANCHOR|<nowiki>{{anchor|section}}</nowiki>]] that will act as a section header (in this case <nowiki>{{anchor|civilwar}}</nowiki>). By the way, sources &/or status description can also be found in "battle/offensive/etc..." articles and not just in towns' articles... A quick look at the map's code will tell you where each town dot will link.
<noinclude>{{#invoke:Location map/multi|load|Module:Libyan Civil War detailed map}}</noinclude>
|