Template:Pin/doc
From CruisersWiki
(Difference between revisions)
m |
|||
(6 intermediate revisions not shown) | |||
Line 1: | Line 1: | ||
- | 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"). | + | 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: | To include it into a page copy & paste: | ||
- | <pre><nowiki>{{ | + | <pre><nowiki>{{pin |
- | | | + | | lon= |
- | | | + | | lat= |
- | | | + | | type= |
- | | | + | | name= |
- | + | }} | |
- | + | </nowiki></pre> | |
+ | |||
+ | {{red|NB}}: Mind a vertical bar "|" at the end of coordinate parameters | ||
Example: | Example: | ||
Line 14: | Line 16: | ||
* A few small shops in the town. | * 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) {{pin |41|14.356|N|9|11.446|E| |
- | + | | type= provisions | |
- | + | | name= ''ISA'' grocery store | |
- | + | }} | |
- | + | ||
- | | | + | |
* Something else | * Something else | ||
Line 27: | Line 27: | ||
* A few small shops in the town. | * 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) {{pin |41|14.356|N|9|11.446|E| |
- | + | | type= provisions | |
- | + | | name= ''ISA'' grocery store | |
- | + | }} | |
- | + | ||
- | | | + | |
* Something else | * Something else | ||
+ | |||
+ | [[Category:Templates|Poi inline/doc]] |
Latest revision as of 11:13, 4 December 2016
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:
{{pin | lon= | lat= | 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) {{pin |41|14.356|N|9|11.446|E| | type= provisions | 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) ISA grocery store [[Template:Pin/doc#ISA grocery store|ISA grocery store]]
- Something else