Template:Pin/doc
From CruisersWiki
(Difference between revisions)
Line 2: | Line 2: | ||
To include it into a page copy & paste: | To include it into a page copy & paste: | ||
- | <pre><nowiki>{{poi inline| type= | name= | + | <pre><nowiki>{{poi inline |||N|||E| |
+ | | type= | ||
+ | | name= | ||
+ | }} | ||
+ | </nowiki></pre> | ||
+ | |||
+ | {{red|NB}}: Mind a vertical bar "|" at the end of coordinate parameters | ||
Example: | Example: | ||
Line 8: | Line 14: | ||
* A few small shops in the town. | * A few small shops in the town. | ||
- | * "ISA" is the nearest minimarket from the harbour. {{poi inline | + | * "ISA" is the nearest minimarket from the harbour. It is located at the first crossing from the harbour on the Via del Porto (with Via Angioy and Via Petrini) {{poi inline |41|14.356|N|9|11.446|E| |
| type= shopping | | type= shopping | ||
| name= "ISA" grocery store | | name= "ISA" grocery store | ||
- | + | }} | |
* Something else | * Something else | ||
Line 19: | Line 25: | ||
* A few small shops in the town. | * A few small shops in the town. | ||
- | * "ISA" is the nearest minimarket from the harbour. {{poi inline | + | * "ISA" is the nearest minimarket from the harbour. It is located at the first crossing from the harbour on the Via del Porto (with Via Angioy and Via Petrini) {{poi inline |41|14.356|N|9|11.446|E| |
| type= shopping | | type= shopping | ||
| name= "ISA" grocery store | | name= "ISA" grocery store | ||
- | + | }} | |
* Something else | * Something else |
Revision as of 17:00, 17 March 2015
This template is quite similar to Template:Poi, the difference is that it doesn't break a paragraph and does not create headings, thus it could be used inside a paragraph ("inline"). Hence a difference in syntax.
To include it into a page copy & paste:
{{poi inline |||N|||E| | type= | name= }}
NB: Mind a vertical bar "|" at the end of coordinate parameters
Example:
* A few small shops in the town. * "ISA" is the nearest minimarket from the harbour. It is located at the first crossing from the harbour on the Via del Porto (with Via Angioy and Via Petrini) {{poi inline |41|14.356|N|9|11.446|E| | type= shopping | name= "ISA" grocery store }} * Something else
Expands to:
- A few small shops in the town.
- "ISA" is the nearest minimarket from the harbour. It is located at the first crossing from the harbour on the Via del Porto (with Via Angioy and Via Petrini) Template:Poi inline
- Something else