Actions

Template

VideoGallery: Difference between revisions

From Dune Awakening DB

mNo edit summary
mNo edit summary
Line 1: Line 1:
<includeonly><templatestyles src="Template:VideoGallery/styles.css" />__NOTOC__
<includeonly><templatestyles src="Template:VideoGallery/styles.css" />__NOTOC__
<!-- Header Section -->
<div class="video-gallery-header">
  <h1 class="video-gallery-title">Dune Awakening Video Gallery</h1>
  <p class="video-gallery-subtitle">Essential guides and tutorials for surviving Arrakis</p>
</div>
<!-- Main Video Gallery Container -->
<!-- Main Video Gallery Container -->
<div class="video-gallery-main-container">
<div class="video-gallery-main-container">
Line 461: Line 467:


=== Features ===
=== Features ===
* Header section with title and subtitle
* Six tabs: Featured, Leveling, Crafting, Building, PvE, PvP
* Six tabs: Featured, Leveling, Crafting, Building, PvE, PvP
* Videos grouped by purpose within each category
* Videos grouped by purpose within each category

Revision as of 21:40, 2 June 2025


Template:Documentation

Video Gallery Template

This template displays the video gallery system for Dune Awakening using external data.

Usage

Simply add {{VideoGallery}} to any page where you want the video gallery to appear.

Features

  • Header section with title and subtitle
  • Six tabs: Featured, Leveling, Crafting, Building, PvE, PvP
  • Videos grouped by purpose within each category
  • Search functionality across all video metadata
  • Embedded YouTube player with video notes
  • Responsive design

Dependencies

  • Template:VideoGallery/styles.css - Styling
  • Gadget-VideoGallerySystem.js - JavaScript functionality
  • External Data extension - For database queries

Database

This template pulls data from the `data_videos` table using the external data extension.

Purpose Categories

Videos are grouped by the "purpose" field:

  • Featured: New Player Guide, Essential Guides
  • Leveling: Leveling 1-20, Leveling 21-40, Leveling 41-60
  • Crafting: Basic Crafting, Advanced Crafting
  • Building: Base Building
  • PvE: Boss Guides
  • PvP: PVP Strategy