Paradise 14 Wiki:Maintaining specific pages: Difference between revisions

From Paradise 14 Wiki
Jump to navigation Jump to search
imported>Aliser
blank
 
imported>Aliser
No edit summary
Line 1: Line 1:
[[Category:Contributing guides]]
[[Category:Contributing guides]]
== Maps ==
Page: [[Maps]]
=== Thumb images ===
Map images are shown as thumbnail images (small images) to prevent slow load and performance issues.
Thumb images should be in webp format, 300px wide (the maximum allowed thumbnail size in user preferences). Height doesn't matter.
Changing the format and resizing can be done with an online tool or locally. Author recommends using {{C|libwebp}} — the official webp CLI utility, although that requires some console commands knowledge.
If using {{C|libwebp}}, to convert from another image format to webp and resize, use:<syntaxhighlight lang="bash">
cwebp map_image.png -o map_image.webp -resize 300 0 -q 100
</syntaxhighlight>where {{C|map_image.png}} is the input filename, and {{C|map_image.webp}} is the output filename.
=== Full size images ===
3 links at the start of each section link to:
# map.spacestation14.com - an interactive map.
# this wiki - for storing full scale map images.
# mapserver.spacestation14.com - for storing full scale map image ''externally''.
For the wiki image, use a direct link to the image ''file'' instead of the file ''page''. File pages contain previous versions and can degrade performance significantly.

Revision as of 11:15, 8 February 2025


Maps

Page: Maps

Thumb images

Map images are shown as thumbnail images (small images) to prevent slow load and performance issues.

Thumb images should be in webp format, 300px wide (the maximum allowed thumbnail size in user preferences). Height doesn't matter.

Changing the format and resizing can be done with an online tool or locally. Author recommends using Template:C — the official webp CLI utility, although that requires some console commands knowledge.

If using Template:C, to convert from another image format to webp and resize, use:<syntaxhighlight lang="bash"> cwebp map_image.png -o map_image.webp -resize 300 0 -q 100 </syntaxhighlight>where Template:C is the input filename, and Template:C is the output filename.

Full size images

3 links at the start of each section link to:

  1. map.spacestation14.com - an interactive map.
  2. this wiki - for storing full scale map images.
  3. mapserver.spacestation14.com - for storing full scale map image externally.

For the wiki image, use a direct link to the image file instead of the file page. File pages contain previous versions and can degrade performance significantly.