Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:VHModIcon: Difference between revisions

Template page
Created page with "<includeonly> <div class="vho-mod-icon" data-mod="{{{id}}}" {{#if:{{{prerequisites|}}}|data-prerequisites="{{{prerequisites}}}"}} {{#if:{{{description|}}}|data-description="{{{description}}}"}} {{#if:{{{curseforge|}}}|data-curseforge="{{{curseforge}}}"}} {{#if:{{{wiki|}}}|data-wiki="{{{wiki}}}"}} {{#if:{{{documentation|}}}|data-documentation="{{{documentation}}}"}} {{#if:{{{support|}}}|data-support="{{{support}}}"}} {{#if:{{{note|}}}|d..."
Tag: 2017 source edit
 
No edit summary
Tag: 2017 source edit
 
Line 1: Line 1:
<includeonly>
<includeonly>
<templatestyles src="Template:VHModIcon/styles.css" />
<div class="vho-mod-icon" data-mod="{{{id}}}"  
<div class="vho-mod-icon" data-mod="{{{id}}}"  
     {{#if:{{{prerequisites|}}}|data-prerequisites="{{{prerequisites}}}"}}
     {{#if:{{{prerequisites|}}}|data-prerequisites="{{{prerequisites}}}"}}

Latest revision as of 05:42, 15 July 2025


Documentation[view] [edit] [history] [purge]

Usage

This template creates a mod icon for the VH Research UI system.

Parameters

  • id (required) - The unique mod identifier used for JavaScript interactions
  • name (required) - Display name shown in tooltips
  • description - Brief description of the mod's functionality
  • icon - Image filename (defaults to name if not specified)
  • curseforge - URL to the mod's CurseForge page
  • wiki - URL to the mod's wiki or main documentation
  • documentation - URL to additional documentation (GitHub, etc.)
  • support - URL to Discord or other support channels
  • note - Special notes (e.g., "Custom modpack feature")
  • prerequisites - Comma-separated list of prerequisite mod IDs

Examples

{{VHModIcon
|id=thermal-expansion
|name=Thermal Expansion
|description=Tech mod with machines and automation.
|curseforge=https://www.curseforge.com/minecraft/mc-mods/thermal-expansion
|wiki=https://teamcofh.com/
}}

{{VHModIcon
|id=vault-compass
|name=Vault Compass
|description=Compass for vault navigation.
|note=No CurseForge link available (feature of Vault Mod)
}}

Creates a mod icon with tooltip and metadata for the VH Research UI

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Mod IDid

The unique identifier for the mod (used in data-mod attribute)

Example
colossal-chests
Stringrequired
Display Namename

The name shown in tooltips and UI

Example
Colossal Chests
Stringrequired
Descriptiondescription

Brief description of what the mod does

Example
Massive storage chests.
Stringoptional
Icon Nameicon

Image filename (without .png extension). Defaults to name if not specified.

Example
Colossal Chest
Stringoptional
CurseForge URLcurseforge

Link to the mod's CurseForge page

URLoptional
Wiki URLwiki

Link to mod wiki

URLoptional
Documentation URLdocumentation

Link to additional documentation

URLoptional
Support URLsupport

Discord or other support link

URLoptional
Notenote

Special note about the mod (e.g., 'Custom modpack feature')

Stringoptional
Prerequisitesprerequisites

Comma-separated list of prerequisite mod IDs

Example
thermal-expansion,mekanism
Stringoptional
[view] [edit] [history] [purge]The above documentation is transcluded from Template:VHModIcon/doc.