Difference between revisions of "Template:RenderingImage"

From Imagico.de TagDoc
Jump to navigation Jump to search
(Add support for keys and second level secondary tags)
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly><table class="tagdoc-rendersample"><tr><td>https://imagico.de/tag_data/{{{key}}}{{#if: {{{value|}}}|_{{{value}}}}}/{{{style}}}.{{{test}}}.{{{zoom}}}.{{{key}}}{{#if: {{{value|}}}|={{{value}}}}}.png</td></tr><tr><td class="tagdoc-rendersample-caption">z{{{zoom}}}</td></tr></table><nowiki/></includeonly>
<includeonly><table class="tagdoc-rendersample"><tr><td>https://imagico.de/tag_data/{{urlencode:{{{key}}}|PATH}}{{#if: {{{value|}}}|_{{urlencode:{{{value}}}|PATH}}}}/{{{style}}}.{{{test}}}.{{{zoom}}}.{{urlencode:{{{key}}}|PATH}}{{#if: {{{value|}}}|={{urlencode:{{{value}}}|PATH}}}}{{#if: {{{key2|}}}|@{{urlencode:{{{key2}}}|PATH}}={{urlencode:{{{value2}}}|PATH}}}}{{#if: {{{key3|}}}|@{{urlencode:{{{key3}}}|PATH}}={{urlencode:{{{value3}}}|PATH}}}}.png</td></tr><tr><td class="tagdoc-rendersample-caption">z{{{zoom}}}</td></tr></table><nowiki/></includeonly><noinclude>Template to display a rendering sample image for a specified zoom level.  Like:
<noinclude>Template to display a rendering sample image for a specified zoom level.  Like:
{{RenderingImage
{{RenderingImage
|key=natural
|key=natural
Line 7: Line 6:
|zoom=8
|zoom=8
|test=coastline_polygon
|test=coastline_polygon
}}
{{RenderingImage
|key=natural
|value=coastline
|style=carto
|key2=
|value2=
|zoom=8
|test=coastline_polygon
}}
{{RenderingImage
|key=natural
|value=water
|key2=intermittent
|value2=yes
|style=carto
|zoom=8
|test=vertical_polygon
}}
{{RenderingImage
|key=ele
|key2=natural
|value2=peak
|style=carto
|zoom=19
|test=basic_node
}}
{{RenderingImage
|key=ele
|key2=tourism
|value2=information
|key3=information
|value3=guidepost
|style=carto
|zoom=19
|test=basic_node
}}
}}
</noinclude>
</noinclude>

Latest revision as of 03:13, 4 March 2022

Template to display a rendering sample image for a specified zoom level. Like:

carto.coastline_polygon.8.natural=coastline.png
z8
carto.coastline_polygon.8.natural=coastline.png
z8
carto.vertical_polygon.8.natural=water@intermittent=yes.png
z8
carto.basic_node.19.ele@natural=peak.png
z19
carto.basic_node.19.ele@tourism=information@information=guidepost.png
z19