Wikily

Spiel wechseln

46 Wikis · wähle dein Spiel
WikilyWIKILY
Alle Spiele46 Wikis · wähle dein Spiel
Menu

Documentation

Images and icons

Updated 2026-11-29

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 & Datasets.
  3. Upload your image.
  4. Copy its URL, or just pick it from the library wherever you need it.

Images in a dataset

Upload the pictures first. A Media column can resolve an uploaded filename, a copied media ID, or a full image URL.
FilenameAshen_Archer.png. Keep exported filenames unchanged for repeat imports.
Media IDClick Copy ID on the file, then paste it into the dataset cell. It identifies that exact uploaded file.
Image URLUse Copy URL for an image block or a Lua script that returns a URL.

A filename or media ID needs a Media column. A plain Text column does not resolve it to an image URL for Lua.

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.

Several icons in one cell

A text cell of a table you type in can carry small icons between its words, as many as it needs. Write an icon as ![](Name.png), with the name of a picture in your media library:

The cell holdsrepair with ![](CurrencyCash_icon.png) Bucks or ![](Iron_icon.png) [Iron](/items/iron)
Readers seerepair with [Bucks icon] Bucks or [Iron icon] Iron, with Iron linking to its page.
  1. Select the table and type in a cell in the Cells list, where the icon should go.
  2. Click Insert icon in the last cell you typed in and pick the picture. It is added at the cursor as ![](its name).
  3. Repeat for every icon of the cell. Type the words around them as usual.
Alt text![Bucks](CurrencyCash_icon.png) gives the icon a description for screen readers, and a cell of icons only sorts by it.
An icon with a linkPut the icon before the link: ![](Iron_icon.png) [Iron](/items/iron).
By nameThe icon follows its name: uploading a new picture under the same name changes every cell that shows it.
ColumnsWorks in Auto and Text columns. Sorting and the search ignore the icons and read the words.

Icons and links in dataset cells

The same markup works in your data. Write it into a dataset field and show that field as a column of a Catalog in its table view, or of a table filled from a dataset or a script:

price![Gold](Coin_icon.png) 60 Coins
repair![](SteelBar_icon.png) 20x [Steel Bar](/items/steel-bar)
rewards![](Coin_icon.png) 100x Coins, ![](Furnace_icon.png) 1x [Furnace](/items/furnace)
ColumnsAuto and Text show the icons and links in the run of text. In Chips and Icon + label each item may carry its own.
IconsAs many as the cell needs. A name is looked up in your media library; a full https:// address works too.
Links[label](/path) opens that page of your wiki, in the reader's language. A full https:// address opens as written.
Sorting and searchRead the words only. A cell of icons alone sorts by their alt text.

Keep the markup in a text field. A JSON list of objects is a different kind of value: show it with Chips, or make it text first.

A picture column with its own field

A column set to Image shows the picture in its own field: a currency icon, a station icon, a rarity frame. The row's own picture in the Name column stays as it is, so one table can show both.

  1. Add the pictures to a dataset field, one media name (or address) per row.
  2. In the catalog's table columns, add a column on that field and set Display to Image.
  3. To be sure the rows keep their own picture, set the catalog's card Image field to that field by name instead of Auto.
Auto imageWith the card image on Auto, the row picture is the first field typed Media, else the first text field named like a picture (icon, image, img, art, thumb, render, sprite, portrait).
Column fields stay outAuto never takes a field an Image column shows, as long as another picture field exists. A second media field no longer replaces the row pictures.
Every pageThe column's pictures load on the first page and on every page the reader browses to.

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