Template:Mark
From CruisersWiki
(Difference between revisions)
(Created page with "<includeonly><!-- --><span class="h-review"><!-- --><span class="p-name" style="display:none">{{FULLPAGENAME}}#{{{name}}}</span><!-- review name --><span class="u-url" style=...") |
|||
Line 4: | Line 4: | ||
--><span class="u-url" style="display:none">{{localurl:{{FULLPAGENAMEE}}}}#{{anchorencode:{{{name}}}}}</span><!-- review url | --><span class="u-url" style="display:none">{{localurl:{{FULLPAGENAMEE}}}}#{{anchorencode:{{{name}}}}}</span><!-- review url | ||
--><span class="p-item h-card"><!-- h-card | --><span class="p-item h-card"><!-- h-card | ||
- | --><span class="p-name">'''{{{name}}}'''</span> <!-- | + | -->{{poi icon|{{{type|}}}}} <span class="p-name">'''{{{name}}}'''</span> <!-- |
-->{{if | test={{{type|}}} |then= | -->{{if | test={{{type|}}} |then= | ||
| else='''{{red|Please specify POI type}}'''  | | else='''{{red|Please specify POI type}}'''  |
Revision as of 14:22, 27 January 2016
TEST
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:
{{mark | lat= | lon= | 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) {{mark |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:Mark#ISA grocery store|ISA grocery store]] 41°14.356′N, 9°11.446′E
- Something else