Jump to content

Template:Tag: Difference between revisions

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


<!--
  ==================================================================
  == HIDDEN SEMANTIC DATA - Single source of truth.
  ==================================================================
-->
<div style="display:none;">
<div style="display:none;">
<!-- Manually set properties -->
[[Category:Topic Tags]]
[[Has display title::{{{display_title|}}}]]
 
[[Belongs to main category::{{{main_category|}}}]]
<!-- 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>
'''Template:Tag'''


[[Category:Topic Tags]]
This is the template for all '''Topic Tag''' pages (e.g., "Tag:Habits").
</includeonly><noinclude>
 
This is the simple template for Topic Tags.
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 (e.g., [[Category:Create & Build]]) that this topic is a part of.
* '''Content''': A rich-text field for the main description of the topic.


== Usage ==
{{Tag
|display_title=The Exact Title You Want
|main_category=The Main Category
|content=Description of the topic.
}}
</noinclude>
</noinclude>

Revision as of 06:10, 20 September 2025

Template:Tag

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 (e.g., ) that this topic is a part of.
  • Content: A rich-text field for the main description of the topic.