WikilyWIKILY
All games8 Wikis · pick your game
Menu

Documentation

Show a block only when it applies

Updated 2026-08-13

One layout, many entries, and they are not all the same shape. Three of your forty enemies are bosses. Half your weapons have a video.

A condition is the block that handles that. It wraps other blocks and decides, per entry, whether they are drawn at all.

Try one

Three entries, one rule, and the verdict for each:

Set a condition and watch which entries would draw the block. Nothing here is saved - it is the same rule the editor and the published page run, on three made-up rows.

if
NameFamilyRenderBoss phaseThe block
GruntCrypticenemy_grunt.webpemptyhidden
AssassinCrypticenemy_assassin.webpemptyhidden
The WardenBossempty3drawn

1 of 3 entries draw it.

The fallbackRender is-empty draws a stand-in picture on the one entry with no art, and nothing on the rest.
The optional sectionBoss phase has-value puts the block in one layout, showing only where it means something.

Add a condition

  1. Drag the Conditional block onto the page.
  2. Put the blocks it governs inside it. A condition is a container.
  3. Open Properties and pick the Field, the column the rule looks at, from the list of columns.
  4. Pick the Operator, and a value if it needs one.

There are four operators:

Has valueTrue when the cell holds anything at all.
Is emptyIts exact opposite.
EqualsCompares against text you type.
Does not equalThe opposite of Equals.

Equals compares as text. 3 matches a boss phase of 3, and Boss does not match boss.

On a page not bound to a row there is nothing to test, so every branch is drawn. That is right for a template or an ordinary article. See Tables and rows for binding a page.

What the editor shows

The canvas asks the same question the published page will ask, of the same row, with the same rule. So what you are arranging is the page, not a pile of alternatives.

On the canvas a condition that is true for this entry draws its blocks with a small if tag; one that is false collapses to a single line, so what you see is the page rather than every possibility at once. Show opens a hidden branch for editing without changing the page.
A branch that drawsCarries a small if tag. The rule itself lives in Properties.
A branch that does notCollapses to one line, still selectable and still a drop target.

Show opens a collapsed branch so you can edit what is inside without changing what the page does. Useful when the branch you need is the one this entry happens not to take.

Three that come up constantly

The optional sectionhas value on the column the section is about. A boss-phase panel appears on the three bosses and nowhere else.
The fallbackTwo conditions on one column, opposite ways round. Exactly one of them ever draws.
The variantequals on a category column, one condition per value, when the categories genuinely need different blocks.

Conditions are for structure that genuinely differs. Several near-identical branches usually means the difference is a value, and a value belongs in the data.

If the only difference is a colour, do not copy the blocks. A block can take a colour from a field, which is one block instead of one copy per value.

Conditions need a page bound to a row to decide with, and earn their keep inside a shared layout.