WikilyWIKILY
All games8 Wikis · pick your game
Menu

Documentation

Images and icons

Updated 2026-07-24

Pictures make a wiki easier to read: a creature portrait, a food icon, a map. You add them as media, upload once, and reuse the address anywhere.

Add an image

Every field that takes a picture has the media library beside it, and shows the picture once one is chosen, so a link to something since deleted is visible while you edit.
  1. Open your wiki.
  2. Go to Media.
  3. Upload your image.
  4. Copy its URL, or just pick it from the library wherever you need it.

Show an image on a page

An image blockShows a single picture. Drop it onto the page and give it a URL.
An image columnSet a column display to Image and its cells become thumbnails. The natural home for a column of icons.

You rarely need the URL by hand. Every field that takes a picture has a Library button beside it, and shows the picture once chosen.

A field pointing at something since deleted says so in the editor, instead of leaving a broken image on the page.

Icons that follow an input

An image cell can hold a {{ }} token instead of a fixed URL. When it does, the picture is live: it changes whenever the token value changes.

The script returnsf1_icon = "https://.../icons/" .. row.icon .. ".webp"
The cell holds{{ tame.f1_icon }}
A reader picksA different creature, and every row icon updates.

The taming calculator food icons work exactly this way.

Safe by default

Fails quietlyAn empty token, or one that is not a URL, shows a blank slot. Never a broken image.
No flickerThe first load uses the value already worked out on the server, so the right icon is there from the start.

Next steps

The calculator behind the iconsLua with datasets
How a script returns fieldsWriting Lua scripts