Template:Tag: Difference between revisions
Appearance
Created page with "<includeonly> {{{content|}}} <div style="display:none;"> <!-- This sets the display title. If the 'display_title' parameter is provided in the template call, it uses that. If not, it defaults to the base name of the page itself (e.g., for "Tag:Habits", it uses "Habits"). --> [[Has display title::{{#if:{{{display_title|}}}|{{{display_title}}}|{{BASEPAGENAME}}}}]] </div> Category:Topic Tags </includeonly><noinclude> This template is for all pages in the "Tag:..." |
No edit summary |
||
| (7 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
{{{ | <!-- Visible content for the tag page --> | ||
{{{Content|}}} | |||
<!-- Hidden Semantic Data --> | |||
<div style="display:none;"> | <div style="display:none;"> | ||
[[Has display title::{{{Display Title|{{#replace:{{PAGENAME}}|Tag:|}}}}}]] | |||
{{#if:{{{Main Category|}}} | |||
| [[Belongs to main category::{{{Main Category}}}]] | |||
}} | |||
[[Has display title::{{# | |||
[[Category:Topic Tags]] | [[Category:Topic Tags]] | ||
</div> | |||
</includeonly><noinclude> | </includeonly><noinclude> | ||
Template for core Topic Tag pages. | |||
{{ | <templatedata> | ||
{ | |||
} | "params": { | ||
"Display Title": { | |||
"label": "Display Title", | |||
"description": "Clean title for the tag (defaults to page name).", | |||
"type": "line" | |||
{ | }, | ||
"Main Category": { | |||
"label": "Main Category", | |||
}} | "description": "Main Category this tag belongs to (e.g., \"Create & Build\").", | ||
"type": "wiki-page-name", | |||
"required": true | |||
}, | |||
"Content": { | |||
"label": "Content", | |||
"description": "Brief description of what the tag represents.", | |||
"type": "content", | |||
"suggested": true | |||
} | |||
}, | |||
"description": "Defines a Topic Tag that powers taxonomy and queries.", | |||
"format": "block" | |||
} | |||
</templatedata> | |||
</noinclude> | </noinclude> | ||
Latest revision as of 18:33, 21 September 2025
Template for core Topic Tag pages.
Defines a Topic Tag that powers taxonomy and queries.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Display Title | Display Title | Clean title for the tag (defaults to page name). | Line | optional |
| Main Category | Main Category | Main Category this tag belongs to (e.g., "Create & Build"). | Page name | required |
| Content | Content | Brief description of what the tag represents. | Content | suggested |