Table of contents
Navigation
GuideNH builds its navigation tree from page frontmatter.
Expanded ancestors stay pinned while their child pages scroll beneath them. Multiple levels can remain visible until their descendants leave the visible area.
Navigation Frontmatter
The navigation map controls whether a page appears in the guide tree.
navigation:
title: Structure Preview
parent: index.md
position: 20
icon: minecraft:diamond_block
Field Reference
| Field | Description |
|---|---|
title |
Required display title |
keyword |
Optional single search keyword or alias |
keywords |
Optional list of search keywords or aliases |
parent |
Optional parent page id, resolved like a guide page link |
position |
Optional sibling ordering hint |
recommend |
Optional home-page recommendation priority; absent means the page is not shown in the Recommended panel |
priority |
Optional load priority for same-path page overrides; default 0 |
icon |
Optional single item icon; supports inline mod:item:meta:{snbt} tails |
icons |
Optional cycling item icons list; entries may be plain item ids with optional inline :{snbt} or {id, meta?, nbt?} maps |
icon_texture |
Optional texture icon resolved from guide assets |
icon_textures |
Optional cycling texture icon list |
icon_fluid |
Optional single fluid registry name; excludes icon_fluids and item/texture sources |
icon_fluids |
Optional nonempty fluid registry-name list cycling once per second; excludes icon_fluid and item/texture sources |
required_mod |
Optional single mod id; page is hidden when this mod is not loaded |
required_mods |
Optional list of mod ids; page is hidden unless all listed mods are loaded |
excluded_mod |
Optional single mod id; page is hidden when this mod is loaded |
excluded_mods |
Optional list of mod ids; page is hidden when any listed mod is loaded |
navigation.position
navigation.position is an optional integer used to order sibling pages in the navigation tree.
- Missing
positiondefaults to0. - Larger values appear earlier.
- If two pages have the same value, they are sorted by title alphabetically.
Search Keywords
navigation.keyword adds one search alias. navigation.keywords adds a list of aliases. Both fields
can be used together; values are trimmed and duplicate values are ignored. Keyword matches use the same
language analyzer and prefix matching as title and page content searches, while results continue to show
the normal navigation title.
navigation:
title: Molecular Assembler
keyword: assembler
keywords:
- molecular assembler
- autocrafting machine
Home Page Recommendations
navigation.recommend
navigation.recommend is an optional integer used by the home page Recommended panel.
- Pages only appear in the Recommended panel when this field is present.
0is valid.- Larger values appear earlier.
- If two pages have the same value, they are sorted by title alphabetically.
- Each recommendation opens its page directly.
navigation:
title: Steam Stage Checklist
parent: index.md
recommend: 0
Mod Requirements
Use required_mod or required_mods to require one or more loaded mods. Use excluded_mod or
excluded_mods to hide a page when one or more incompatible mods are loaded. When a condition is not
met, the page is excluded from the navigation tree and all page indices (item, category, etc.) so it
cannot be found through navigation or search.
navigation:
title: Applied Energistics Integration
parent: index.md
required_mod: appliedenergistics2
navigation:
title: Multi-Mod Feature
parent: index.md
required_mods:
- gregtech
- appliedenergistics2
Both keys may be combined; the page is only shown when every listed mod is present.
Required and excluded conditions can also be combined. All required mods must be loaded and none of the excluded mods may be loaded.
navigation:
title: Client-only Integration
parent: index.md
required_mod: guide_api
excluded_mods:
- incompatible_addon
- legacy_addon
Load Priority
When several loaded resource packs provide the same guide page path, GuideNH reads the page
frontmatter first and chooses the candidate with the highest navigation.priority.
navigation:
title: Pack Override
parent: index.md
priority: 100
Rules:
- missing
priorityis0 - values are integers
- higher priority wins
- if priorities are equal, the later processed resource pack entry wins, matching Minecraft resource-pack override order
- priority only decides between candidates for the same page path and language/fallback layer
This is useful when a mod ships a baseline guide page and a pack wants to replace it without relying only on resource-pack ordering.
Icon Sources
Choose icon_fluid or icon_fluids for fluid icons. The two fields are mutually exclusive and cannot accompany item or texture sources. Icons do not create fluid navigation bindings; add page-level fluid_id / fluid_ids separately.
When no fluid icon is configured, GuideNH chooses item and texture icons in this order:
icon_texturesif at least one texture entry is configuredicon_textureif the texture file loads successfullyiconsif at least one configured item resolves successfullyiconif the item exists- no icon if neither is usable
Texture icons are read from runtime assets, so relative page-local files such as test1.png work.
Parent And Root Nodes
- Omit
parentto create a root node. - Set
parent: index.mdor any other page id to create a child node. - The parent page must exist in the same guide navigation tree.
navigation.parent uses the same namespace rules as Markdown page links:
parent: index.mdandparent: ./index.mdresolve inside the current page namespace.parent: /index.mdresolves from the current page namespace root.parent: gregtech:index.mdorparent: gregtech:/index.mdexplicitly targets another namespace.
Data-driven guides are isolated by namespace. Pages under assets/guidenh/guidenh/_en_us/... belong to
guidenh:guidenh; pages under assets/gregtech/guidenh/_en_us/... belong to gregtech:guidenh.
Relative parents and links never fall through to another mod's same-named page.
Category Pages
Pages can join one or more named categories using frontmatter:
categories:
- basics
- machines|Arc Furnace
Each entry can be either a category name or category|sort key.
Those categories are queryable through the built-in <Category name="machines" rows="3" /> tag and also auto-create hidden searchable pages such as Category:machines.
GuideNH also auto-creates the hidden searchable special pages Special:AllPages and Special:Categories.
Item-Indexed Pages
Pages can register item-to-page mappings using item_id (one value) or item_ids (a list):
item_id: "minecraft:potion 16384-16462,!16386 | ae2:white_paint_ball:*"
item_ids:
- minecraft:compass
- minecraft:wool:*
- "minecraft:potion 0-16,20-36,!28"
- minecraft:iron_ore#crafting
These mappings are used by <ItemLink>. item_id is one NEI-style expression and each item_ids
entry is the same kind of expression. For example, minecraft:potion 16384-16462,!16386 matches a
metadata range except for 16386, while minecraft:potion 0-16,20-36,!28 combines two metadata ranges and
excludes 28. ae2:white_paint_ball:* is a compatible strict all-meta mapping.
An optional #anchor suffix scrolls to a specific heading when the link is clicked.
The anchor is formed by lowercasing the heading text and replacing spaces with hyphens
(e.g. ## Crafting Recipe → #crafting-recipe).
Lookup behavior:
- exact item + exact meta
- wildcard-meta fallback if present
- matching item expression
Fluid-indexed pages
Use fluid_id for one fluid or fluid_ids for a list; both fields may coexist. Bindings match exact registry names independently of amount and NBT. Append #anchor to open a section:
fluid_id: water
fluid_ids:
- steam#uses
navigation:
title: Fluid handling
icon_fluid: water
Bindings serve <FluidLink> and the hover-and-hold G shortcut. Recognized NEI fluid displays and filled containers are supported; empty containers retain item navigation. Multiple targets open a chooser with fluid pages before container-item pages.
External content pages
Use bindings to index this page by a BetterQuesting quest, Thaumcraft research or another registered content type:
bindings:
- {type: "thaumcraft", id: "INFUSION", anchor: "apparatus"}
- {type: "betterquesting", id: "01234567-89ab-cdef-0123-456789abcdef", anchor: "quest"}
When several pages or sections reference the same content, GuideNH opens the destination selector used for items. Identical page/anchor pairs merge; different anchors remain selectable. An omitted anchor means the top of the page. Full field and quoting rules are in Frontmatter.
QuestLink and QuestCard titles open BetterQuesting on left click. Right click opens bound guide destinations and falls back to BetterQuesting when none exist. Research and generic links/cards default to opening bound guides first; their target attribute selects the left-click action. See Tags Reference.
Hold the open-guide key (default G) while hovering a supported quest button, research entry or content icon to select its bound guides. With no binding, that hotkey does nothing. Mod-specific hover areas and return navigation are described in Mod Compatibility.
Heading Anchor Links
GuideNH supports heading anchor navigation in Markdown links and <a> tags.
Anchors are derived from heading text by lowercasing and replacing spaces with hyphens.
Same-page anchor:
[Jump to Installation](#installation)
[Jump to Crafting Recipe](#crafting-recipe)
Cross-page anchor:
[See Getting Started](./getting-started.md#installation)
[Another guide](other-guide.md#usage)
Absolute path anchor (using the guide namespace, avoids relative path ambiguity in subdirectories):
[Absolute link](guidenh:other-guide.md#usage)
[Any namespace](mymods:crafting/iron.md#smelting)
The namespace:path format resolves to the guide page whose id matches namespace:path.
This is identical to what relative paths resolve to, but avoids ../ navigation.
The target page must be loaded.
Named inline anchors can also be placed with <a name="..."> in MDX:
<a name="custom-anchor" />
...content...
[Jump here](#custom-anchor)
Navigating to a link with an anchor scrolls the guide to the target heading or named anchor.
<SubPages>
<SubPages> renders links to navigation children.
Attributes
| Attribute | Type | Default | Meaning |
|---|---|---|---|
id |
page id or empty string | current page | Page whose children should be listed |
alphabetical |
boolean expression | false |
Sort children by title instead of navigation order |
Examples
<SubPages />
<SubPages id="index.md" />
<SubPages id="" alphabetical={true} />
Special case: id="" lists root navigation nodes.
<Category>
<Category> renders links to every page in a named category.
Attributes
| Attribute | Type | Default | Meaning |
|---|---|---|---|
name |
string | none | Category name to render |
rows |
positive integer | 3 |
Number of display columns in the MediaWiki-style layout |
<Category name="machines" rows="3" />
If the category is missing, GuideNH renders an inline error.
The same category also has an auto-generated hidden searchable page at Category:machines.
<Special>
<Special> renders one of the built-in MediaWiki-style special page listings.
Attributes
| Attribute | Type | Default | Meaning |
|---|---|---|---|
name |
string | none | Special page name; use SpecialPages for the catalog, including AllPages, Categories and Templates |
rows |
positive integer | 3 |
Number of display columns in the MediaWiki-style layout |
page |
page id | none | Page target for special lists that require one |
prefix |
string | none | Title/page-ID prefix for AllPagesWithPrefix |
language |
string | none | Language filter for translation lists |
query |
string | none | List search text |
<Special name="AllPages" rows="4" />
<Special name="Categories" rows="3" />
The same content is also available through the hidden searchable pages Special:AllPages and Special:Categories.
Search Result Titles
Search titles are derived in this order:
navigation.title- first level-1 heading (
# Heading) - raw page id
Related Pages
GuideNH Wiki
English
- Home
- Installation
- Getting Started
- Live Preview
- Guide Page Format
- Navigation
- Search
- Images And Assets
- Tags Reference
- Syntax Completion
- GameScene
- Structure Export
- Annotations
- Ponder
- Recipes
- Localization
- Templates
- Examples
- Mod Compatibility
- Server Integration
- Debug Mode
- Developer Integration
- FAQ