How to Use the Wiki
This comprehensive guide explains how to create, format, and structure wiki entries using the available templates, shortcodes, and styling features. It covers everything from basic frontmatter configuration to advanced content formatting and reference management.
This guide provides comprehensive instructions for creating and maintaining wiki entries in the Wheel of Heaven knowledge base. The wiki system is designed to provide a consistent, accessible, and visually appealing way to present complex information.
Getting Started
Creating a New Wiki Page
To create a new wiki page, create a markdown file in the content/wiki/ directory:
touch content/wiki/your-concept.md
Basic Frontmatter Structure
Every wiki page must include frontmatter with the following required and optional fields:
+++
title = "Your Concept Title"
slug = "your-concept"
description = "Brief description for SEO and page previews"
date = 2024-01-15
template = "wiki-page.html"
[extra]
summary = "2-3 sentence summary that appears prominently below the title"
category = "Core Concepts"
alternative_names = [
"Alternative Name 1",
"Alternative Spelling",
"Also Known As"
]
see_also = [
{ title = "Related Page", path = "wiki/related-page/", description = "Optional description" }
]
external_links = [
{ title = "External Resource", url = "https://example.com", description = "What this link provides" }
]
references = [
{ title = "Source Title", author = "Author Name", publication = "Publisher", date = "2024", description = "Why this source is relevant" }
]
+++
Frontmatter Fields Explained
Required Fields
- title: The main title of the wiki entry
- slug: URL-friendly version of the title
- template: Must be set to
"wiki-page.html"
Recommended Fields
- description: Brief description used for SEO and previews
- date: Last updated date (affects sorting and display)
- summary: Prominent summary displayed below the title
Optional Fields
- category: Groups related pages together
- alternative_names: Array of alternative names, spellings, or translations
- see_also: Array of related internal pages
- external_links: Array of external resources
- references: Array of academic or source references
Content Structure
Heading Hierarchy
Use a clear heading structure for automatic table of contents generation:
## Major Section (H2)
Content for this major section...
### Subsection (H3)
More detailed information...
#### Minor Point (H4)
Specific details or examples...
The table of contents will automatically generate from H2, H3, and H4 headings.
Management Summary
The summary field in frontmatter creates a prominent overview section that appears immediately after the title. This should be 2-3 sentences that explain:
- What the concept is
- Why it's important
- How it relates to the main hypothesis
Advanced Content Features
Info Boxes
Use info boxes to highlight important information:
<div class="wiki-info-box wiki-info-box--info">
<div class="wiki-info-box__header">
<h4 class="wiki-info-box__title">Important Context</h4>
</div>
<div class="wiki-info-box__content">
<p>This provides additional context that readers should be aware of when understanding this concept.</p>
</div>
</div>
<div class="wiki-info-box wiki-info-box--warning">
<div class="wiki-info-box__header">
<h4 class="wiki-info-box__title">Caution</h4>
</div>
<div class="wiki-info-box__content">
<p>This highlights potential misconceptions or areas where readers should be careful.</p>
</div>
</div>
<div class="wiki-info-box wiki-info-box--success">
<div class="wiki-info-box__header">
<h4 class="wiki-info-box__title">Key Insight</h4>
</div>
<div class="wiki-info-box__content">
<p>This emphasizes breakthrough moments or important conclusions.</p>
</div>
</div>
Available types: info, warning, danger, success
Definition Boxes
For key terminology, use definition boxes:
<div class="wiki-definition-box wiki-definition-box--scientific">
<div class="wiki-definition-box__term">Technical Term</div>
<div class="wiki-definition-box__content">
<p>Clear, precise definition of the term that readers can easily understand and reference.</p>
</div>
</div>
Available types: standard, scientific, historical, technical, philosophical
Citations and References
Inline Citations
Use the reference shortcode for clean inline citations:
This claim is supported by research
<sup class="wiki-reference">
<a href="#ref-1" class="wiki-reference__link" title="View reference: Smith 2024">
[Smith 2024]
</a>
</sup>
.
Footnotes
Standard markdown footnotes work seamlessly:
This statement needs clarification[^1].
[^1]: This is the footnote text that appears at the bottom of the page.
Reference Numbers
Link to your references section:
According to recent studies
<sup class="wiki-reference">
<a href="#ref-1" class="wiki-reference__link" title="View reference: ">
[]
</a>
</sup>
, this hypothesis is gaining support.
Best Practices
Writing Style
- Use clear, accessible language - Avoid unnecessary jargon
- Define technical terms - Use definition boxes for key concepts
- Maintain neutral tone - Present information objectively
- Structure logically - Order information from general to specific
- Include context - Explain why the concept matters
Content Organization
- Start with the summary - Clear overview in frontmatter
- Use consistent headings - Follow the H2 > H3 > H4 hierarchy
- Group related information - Keep similar concepts together
- Cross-reference liberally - Link to related wiki entries
- Cite sources - Include references for claims and data
Alternative Names
Include alternative names when:
- The concept has translations in other languages
- Multiple spellings exist in different sources
- The term has evolved over time
- Different authors use different terminology
Example:
alternative_names = [
"<span class="hebrew">אֱלֹהִים</span> (Hebrew)",
"Eloha (singular)",
"The Powerful Ones",
"Sky People"
]
Typography and Formatting
Text Emphasis
- Use bold for key terms and important concepts
- Use italic for emphasis or foreign terms
- Use
code formattingfor technical terms, file paths, or code
Lists
Create clear, scannable lists:
1. **Numbered lists** for sequential information
2. **Bullet points** for related items
3. **Nested lists** for subcategories
Tables
Use tables for comparative information:
| Concept | Definition | Source |
|---------|------------|---------|
| Term 1 | Definition 1 | Source 1 |
| Term 2 | Definition 2 | Source 2 |
Blockquotes
Use blockquotes for important passages or quotes:
> This is an important quote that provides key insight into the concept being discussed.
>
> <cite>Author Name, Source Publication</cite>
Technical Implementation
Template System
The wiki uses a custom Zola template (wiki-page.html) that:
- Auto-generates table of contents from headings
- Renders the summary section prominently
- Handles multiple reference types
- Provides responsive layout for all devices
- Includes proper semantic HTML for accessibility
Styling
The CSS follows BEM methodology with:
- Semantic class names (
.wiki__component) - CSS custom properties for theming
- Responsive design principles
- Accessibility considerations
Mobile Optimization
The layout adapts for mobile devices:
- TOC moves below content on small screens
- Typography scales appropriately
- Touch targets are properly sized
- Content remains readable at all sizes
SEO and Accessibility
Search Optimization
- Use descriptive titles and slugs
- Include comprehensive descriptions
- Structure content with proper headings
- Use semantic markup for better crawling
Accessibility Features
- Proper heading hierarchy for screen readers
- Focus indicators for keyboard navigation
- Alt text for images (when applicable)
- High contrast color schemes
- Semantic HTML structure
Quality Guidelines
Content Quality
- Accuracy: Verify all factual claims
- Completeness: Cover the topic comprehensively
- Clarity: Use clear, understandable language
- Currency: Keep information up to date
Style Consistency
- Tone: Maintain encyclopedic, neutral tone
- Formatting: Follow established patterns
- Terminology: Use consistent terms throughout
- Citations: Properly attribute all sources
Common Patterns
Scientific Concepts
For scientific topics:
## Definition
Clear, technical definition using scientific terminology.
## Scientific Basis
Current research and evidence supporting the concept.
## Implications
What this means for the broader hypothesis.
## Controversies
Areas of debate or conflicting interpretations.
Historical Concepts
For historical topics:
## Historical Context
When and where this concept originated.
## Development
How the concept evolved over time.
## Modern Interpretation
Contemporary understanding and analysis.
## Sources
Primary and secondary sources.
Technical Terms
For technical definitions:
<div class="wiki-definition-box wiki-definition-box--technical">
<div class="wiki-definition-box__term">Technical Term</div>
<div class="wiki-definition-box__content">
<p>Precise definition with technical accuracy.</p>
</div>
</div>
## Applications
How this term is used in context.
## Related Technologies
Connected technical concepts.
Troubleshooting
Common Issues
- TOC not generating: Check heading structure (H2, H3, H4)
- References not linking: Verify reference numbering
- Styling issues: Ensure proper template selection
- Mobile layout problems: Test responsive breakpoints
Template Debugging
If pages aren't rendering correctly:
- Check frontmatter syntax
- Verify template path
- Validate markdown syntax
- Test locally with
zola serve
This documentation should cover all aspects of creating effective wiki entries. For additional questions or suggestions, refer to the project's contribution guidelines.
See also
- Sample Concept Example wiki page showing all features
External links
- Zola Documentation Official Zola static site generator documentation
- Markdown Guide Comprehensive markdown syntax reference
- BEM Methodology CSS naming convention used in this project
References
-
The Elements of Typographic Style
Hartley & Marks
(2004)
Classic guide to typography and text design
-
Information Architecture for the Web and Beyond
O'Reilly Media
(2015)
Best practices for organizing digital content