Jump to content

Template:Player map: Difference between revisions

From DND Wiki
Fix image URLs for static /images/ hosting
 
Fix image embeds: external URLs, URL-encoded filenames
Line 1: Line 1:
<noinclude><!-- Template:Player map — thumbnail linking to full map in /images/maps/. --></noinclude>
<noinclude><!-- Template:Player map — thumbnail linking to full map in /images/maps/. --></noinclude>
<includeonly><div style="text-align:center; margin:1em 0;">
<includeonly><div style="text-align:center; margin:1em 0;">
<a href="https://wiki.nerdygamertools.com/images/maps/{{{1}}}"><img alt="{{{2}}}" src="https://wiki.nerdygamertools.com/images/maps/{{{1}}}" width="{{{3|300}}}" style="max-width:100%; height:auto; border:1px solid #a2a9b1;" /></a>
[https://wiki.nerdygamertools.com/images/maps/{{{1}}}|{{{3|300}}}px|alt={{{2}}}]
<div style="font-size:90%; font-style:italic; margin-top:0.35em;">{{{2}}}. Click for full size.</div>
<div style="font-size:90%; font-style:italic; margin-top:0.35em;">{{{2}}}. Click for full size.</div>
</div></includeonly><noinclude>
</div></includeonly><noinclude>
Usage:
Usage — pass '''URL-encoded''' filename (spaces as %20):
<pre>
<pre>
{{Player map|Player Map - Red Larch.png|Player map of Red Larch}}
{{Player map|Player%2520Map%2520-%2520Red%2520Larch.png|Player map of Red Larch}}
{{Player map|Player Map - Dessarin Valley.png|Player map of the Dessarin Valley (known area)|400}}
{{Player map|Player%2520Map%2520-%2520Dessarin%2520Valley.png|Player map of the Dessarin Valley (known area)|400}}
</pre>
</pre>
[[Category:Wiki templates]]
[[Category:Wiki templates]]
</noinclude>
</noinclude>



Revision as of 19:58, 3 July 2026


Usage — pass URL-encoded filename (spaces as %20):

{{Player map|Player%2520Map%2520-%2520Red%2520Larch.png|Player map of Red Larch}}
{{Player map|Player%2520Map%2520-%2520Dessarin%2520Valley.png|Player map of the Dessarin Valley (known area)|400}}