Jump to content

Template:Tag: Difference between revisions

From WYOS Wiki
No edit summary
No edit summary
Line 1: Line 1:
<includeonly>
<includeonly>
<!--  
<!-- The main description of the tag, visible on the page. -->
  The main content/description for the topic page.
  This parameter will be enabled for VEForAll in the form.
-->
{{{Content|}}}
{{{Content|}}}


<!--  
<!-- Hidden Semantic Data -->
  ==================================================================
  == HIDDEN SEMANTIC DATA - Single source of truth.
  ==================================================================
-->
<div style="display:none;">
<div style="display:none;">
<!-- Sets the display title. Defaults to the page's actual name if not provided. -->
[[Has display title::{{{Display Title|{{PAGENAME}}}}}]]
<!-- This property is for organizing tags, not for display on a card. -->
[[Belongs to main category::{{{Main Category|}}}]]
<!-- Assigns the page to the correct category for management. -->
[[Category:Topic Tags]]
[[Category:Topic Tags]]
<!-- Set properties only if a value is provided -->
{{#if:{{{Display Title|}}}|[[Has display title::{{{Display Title}}}]]}}
{{#if:{{{Belongs to main category|}}}|[[Belongs to main category::{{{Belongs to main category}}}]]}}
</div>
</div>
</includeonly><noinclude>
</includeonly><noinclude>
'''Template:Tag'''
This is the template for creating a core Topic Tag page.
 
This is the template for all '''Topic Tag''' pages (e.g., "Tag:Habits").
 
Its primary job is to assign the topic to a '''Main Category''' (pillar) using the `Belongs to main category` property. It also provides a space for a description of the topic.
 
=== Parameters ===
* '''Display Title''': An optional, user-friendly title for the topic page. If blank, the page's own name is used.
* '''Belongs to main category''': The Main Category page that this topic is a part of.
* '''Content''': A rich-text field for the main description of the topic.


== Parameters ==
; Display Title : (Optional, Text) The clean title for the tag. Defaults to the page name.
; Main Category : (Page) The Main Category this tag belongs to (e.g., "Create & Build").
; Content : (Wikitext) The description of what this tag represents.
</noinclude>
</noinclude>

Revision as of 05:00, 21 September 2025

This is the template for creating a core Topic Tag page.

Parameters

Display Title
(Optional, Text) The clean title for the tag. Defaults to the page name.
Main Category
(Page) The Main Category this tag belongs to (e.g., "Create & Build").
Content
(Wikitext) The description of what this tag represents.