JourneyPage: Difference between revisions
From Dune Awakening DB
mNo edit summary Tag: Reverted |
mNo edit summary |
||
| (2 intermediate revisions by the same user not shown) | |||
| Line 6: | Line 6: | ||
<!-- A New Beginning --> | <!-- A New Beginning --> | ||
<div class="journey-section" data-section="A New Beginning"> | <div class="journey-section" data-section="A New Beginning"> | ||
<div class="journey-section-header"> | <div class="journey-section-header" style="padding-top:6px;"> | ||
<h3 class="section-title">A New Beginning</h3> | <h3 class="section-title">A New Beginning</h3> | ||
</div> | </div> | ||
| Line 12: | Line 12: | ||
{{#get_external_data: source=externaldb | {{#get_external_data: source=externaldb | ||
|from=data_journeys | |from=data_journeys | ||
|data=ID=id,Slug=slug,Name=name,Description=description,Tier=tier,Category=journey_category,Location=location,Icon=journey_icon | |data=ID=id,Slug=slug,Name=name,Description=description,Tier=tier,Category=journey_category,Location=location,Icon=journey_icon | ||
|cache=yes | |cache=yes | ||
|where=journey_group='A New Beginning' AND id IS NOT NULL AND name IS NOT NULL AND name != '' | |where=journey_group='A New Beginning' AND id IS NOT NULL AND name IS NOT NULL AND name != '' | ||
| Line 36: | Line 36: | ||
{{#get_external_data: source=externaldb | {{#get_external_data: source=externaldb | ||
|from=data_journeys | |from=data_journeys | ||
|data=ID=id,Slug=slug,Name=name,Description=description,Tier=tier,Category=journey_category,Location=location,Icon=journey_icon | |data=ID=id,Slug=slug,Name=name,Description=description,Tier=tier,Category=journey_category,Location=location,Icon=journey_icon | ||
|cache=yes | |cache=yes | ||
|where=journey_group='Vermillius Gap' AND id IS NOT NULL AND name IS NOT NULL AND name != '' | |where=journey_group='Vermillius Gap' AND id IS NOT NULL AND name IS NOT NULL AND name != '' | ||
| Line 55: | Line 55: | ||
<div class="journey-section" data-section="Jabal Eifrit & Hagga Rift"> | <div class="journey-section" data-section="Jabal Eifrit & Hagga Rift"> | ||
<div class="journey-section-header"> | <div class="journey-section-header"> | ||
<h3 class="section-title | <h3 class="section-title">Jabal Eifrit & Hagga Rift</h3> | ||
</div> | </div> | ||
<div class="journey-grid"> | <div class="journey-grid"> | ||
{{#get_external_data: source=externaldb | {{#get_external_data: source=externaldb | ||
|from=data_journeys | |from=data_journeys | ||
|data=ID=id,Slug=slug,Name=name,Description=description,Tier=tier,Category=journey_category,Location=location,Icon=journey_icon | |data=ID=id,Slug=slug,Name=name,Description=description,Tier=tier,Category=journey_category,Location=location,Icon=journey_icon | ||
|cache=yes | |cache=yes | ||
|where=journey_group='Jabal Eifrit & Hagga Rift' AND id IS NOT NULL AND name IS NOT NULL AND name != '' | |where=journey_group='Jabal Eifrit & Hagga Rift' AND id IS NOT NULL AND name IS NOT NULL AND name != '' | ||
| Line 84: | Line 84: | ||
{{#get_external_data: source=externaldb | {{#get_external_data: source=externaldb | ||
|from=data_journeys | |from=data_journeys | ||
|data=ID=id,Slug=slug,Name=name,Description=description,Tier=tier,Category=journey_category,Location=location,Icon=journey_icon | |data=ID=id,Slug=slug,Name=name,Description=description,Tier=tier,Category=journey_category,Location=location,Icon=journey_icon | ||
|cache=yes | |cache=yes | ||
|where=journey_group='Find The Fremen' AND id IS NOT NULL AND name IS NOT NULL AND name != '' | |where=journey_group='Find The Fremen' AND id IS NOT NULL AND name IS NOT NULL AND name != '' | ||
| Line 108: | Line 108: | ||
{{#get_external_data: source=externaldb | {{#get_external_data: source=externaldb | ||
|from=data_journeys | |from=data_journeys | ||
|data=ID=id,Slug=slug,Name=name,Description=description,Tier=tier,Category=journey_category,Location=location,Icon=journey_icon | |data=ID=id,Slug=slug,Name=name,Description=description,Tier=tier,Category=journey_category,Location=location,Icon=journey_icon | ||
|cache=yes | |cache=yes | ||
|where=journey_group='Miscellaneous' AND id IS NOT NULL AND name IS NOT NULL AND name != '' | |where=journey_group='Miscellaneous' AND id IS NOT NULL AND name IS NOT NULL AND name != '' | ||
| Line 132: | Line 132: | ||
{{#get_external_data: source=externaldb | {{#get_external_data: source=externaldb | ||
|from=data_journeys | |from=data_journeys | ||
|data=ID=id,Slug=slug,Name=name,Description=description,Tier=tier,Category=journey_category,Location=location,Icon=journey_icon | |data=ID=id,Slug=slug,Name=name,Description=description,Tier=tier,Category=journey_category,Location=location,Icon=journey_icon | ||
|cache=yes | |cache=yes | ||
|where=journey_group='Factions' AND id IS NOT NULL AND name IS NOT NULL AND name != '' | |where=journey_group='Factions' AND id IS NOT NULL AND name IS NOT NULL AND name != '' | ||
Latest revision as of 15:37, 31 May 2025
Journey Page Template
This template displays the journey tracking system for Dune Awakening.
Usage
Simply add {{JourneyPage}} to any page where you want the journey tracker to appear.
Features
- Displays all journeys grouped by category
- Interactive journey cards that show details when clicked
- Progress tracking with checkboxes
- Material prep list for each journey
- Video guide links (when available)
- Responsive design for different screen sizes
Dependencies
- Template:JourneyPage/styles.css - Styling
- MediaWiki:Common.js - JavaScript functionality
Database Tables
This template pulls data from:
- data_journeys - Main journey information
- data_journey_objectives - Objectives for each journey
- data_journey_tasks - Tasks within objectives
- data_journey_task_components - Materials needed for tasks
