This wiki is a XML full dump clone of "Heroes Wiki", the main wiki about the Heroes saga that has been shut down permanently since June 1, 2020. The purpose of this wiki is to keep online an exhaustive and accurate database about the franchise.
Template:Pushpin: Difference between revisions
Jump to navigation
Jump to search
Content deleted Content added
imported>Hardvice +width |
imported>Hardvice fix width |
||
| Line 4: | Line 4: | ||
==Example== |
==Example== |
||
<div style="border: thin black solid; height:200px; width:200px; position: relative; background-color: silver;"> |
<div style="border: thin black solid; height:200px; width:200px; position: relative; background-color: silver;"> |
||
{{pushpin|color=red|link=This is a pushpin|left=40|top=40|label=y|override=This is a label|labelwidth= |
{{pushpin|color=red|link=This is a pushpin|left=40|top=40|label=y|override=This is a label|labelwidth=100px}} |
||
{{pushpin|color=lime|link=Louisiana|left=20|top=120|label=y|override=This one links to Louisiana}} |
{{pushpin|color=lime|link=Louisiana|left=20|top=120|label=y|override=This one links to Louisiana}} |
||
{{pushpin|color=fuchsia|link=This one has no label and no link|left=180|top=180|}} |
{{pushpin|color=fuchsia|link=This one has no label and no link|left=180|top=180|}} |
||
| Line 34: | Line 34: | ||
| labelleft= || OPTIONAL Left coordinate for label relative to pin || <code>10</code> |
| labelleft= || OPTIONAL Left coordinate for label relative to pin || <code>10</code> |
||
|- |
|- |
||
| labelwidth= || OPTIONAL Force width of label || <code> |
| labelwidth= || OPTIONAL Force width of label || <code>100px</code> |
||
|} |
|} |
||
Revision as of 06:51, 19 October 2007
Example
Usage
Creates a colored dot which links to an article. For use on Template:Locationmap.
{{pushpin|color=|link=|left=|top=|label=|override=|labeltop=|labelleft=}}
| Option | Purpose | Example |
|---|---|---|
| color= | Pushpin color | Green, #CCC, #CCCCCC
|
| link= | Article name of location | New York, NY
|
| left= | Left coordinate | 264
|
| top= | Top coordinate | 210
|
| label= | OPTIONAL Labels the pushpin | anything |
| override= | OPTIONAL Text override for label | NYC
|
| labeltop= | OPTIONAL Top coordinate for label relative to pin | 10
|
| labelleft= | OPTIONAL Left coordinate for label relative to pin | 10
|
| labelwidth= | OPTIONAL Force width of label | 100px
|