Difference between revisions of "Leveraging Tags Via Tag Expressions"

From HLKitWiki
Jump to: navigation, search
(Ways of Using Tags)
(General Overview)
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{context|Basic Concepts and Terminology}}
+
{{context|Kit Reference}}
  
 
==General Overview==
 
==General Overview==
Line 5: Line 5:
 
The Kit utilizes tags as a fundamental building block upon which a substantial number of mechanisms are based. While scripts and field values are critical components as well, you'll often rely on tags to determine when and how to process those scripts and fields. This section provides in-depth details on how to leverage tags in your design and how tags are utilized through tag expressions.
 
The Kit utilizes tags as a fundamental building block upon which a substantial number of mechanisms are based. While scripts and field values are critical components as well, you'll often rely on tags to determine when and how to process those scripts and fields. This section provides in-depth details on how to leverage tags in your design and how tags are utilized through tag expressions.
  
{{important}}This section assumes you are already familiar with the basics of tags and tag expressions. If you have not already done so, please review the section [[Tag Expressions Basics]] before proceeding with this section.
+
In the topics below, we focus on the various ways in which tags can be utilized. The syntax details are quite similar for each, since all are built upon the same fundamental elements. There are four basic layers of use that progressively build upon each other.
  
=={{fl|Crafting Your Design Around Tags}}==
+
Simply click on the topics below to learn more about it.
  
This section delves into the nature of tags and how they can be leveraged for a diverse range of purposes. Simply click the link above to learn about tags.
+
{{important}}This section assumes you are already familiar with the basics of tags and tag expressions. If you have not already done so, please review the section [[Data Manipulation Basics]] before proceeding with this section.
  
==Ways of Using Tags==
+
=={{fl|Tag Templates}}==
  
The syntax details are quite similar for all of the various ways in which tags can be utilized, since all are built upon the same fundamental elements. In general, there are four basic layers of use that progressively build upon each other, with each being briefly summarized below and described in full detail in the sections that follow.
+
Tag templates provide a simple mechanism to determine if an entity contains a specific tag. Templates also provide wildcard comparisons.
  
:{| class="infotable"
+
=={{fl|Tag Terms}}==
|class="leftnormal"|{{fl|Tag Templates}}
+
|Tag templates provide a simple mechanism to determine if an entity contains a specific tag. Templates also provide wildcard comparisons.
+
|-
+
|{{fl|Tag Terms}}
+
|Tag terms build upon tag templates to determine if entities comply with a specific criteria, whether it be the presence of a tag or an arithmetic comparison against a tag.
+
|-
+
|{{fl|Tag Expressions}}
+
|Tag expressions utilize Boolean logic to combine tag terms into complex expressions.
+
|-
+
|{{flalt|Arithmetic Expressions Within Tag Expressions|Arithmetic Expressions}}
+
|Arithmetic expressions enable the creation of calculations based upon the tags assigned to objects in the portfolio.
+
|-
+
|}
+
  
Each of the above methods of using tags is detailed in the topics below.
+
Tag terms build upon tag templates to determine if entities comply with a specific criteria, whether it be the presence of a tag or an arithmetic comparison against a tag.
  
*{{fl|Tag Templates}}
+
=={{fl|Tag Expressions}}==
*{{fl|Tag Terms}}
+
 
*{{fl|Tag Expressions}}
+
Tag expressions utilize Boolean logic to combine tag terms into complex expressions.
*{{fl|Arithmetic Expressions Within Tag Expressions}}
+
 
 +
=={{flalt|Arithmetic Expressions Within Tag Expressions|Arithmetic Expressions}}==
 +
 
 +
Arithmetic expressions enable the creation of calculations based upon the tags assigned to objects in the portfolio.

Latest revision as of 03:35, 4 December 2008

Context: HL KitKit Reference 

General Overview

The Kit utilizes tags as a fundamental building block upon which a substantial number of mechanisms are based. While scripts and field values are critical components as well, you'll often rely on tags to determine when and how to process those scripts and fields. This section provides in-depth details on how to leverage tags in your design and how tags are utilized through tag expressions.

In the topics below, we focus on the various ways in which tags can be utilized. The syntax details are quite similar for each, since all are built upon the same fundamental elements. There are four basic layers of use that progressively build upon each other.

Simply click on the topics below to learn more about it.

IMPORTANT! This section assumes you are already familiar with the basics of tags and tag expressions. If you have not already done so, please review the section Data Manipulation Basics before proceeding with this section.

Tag Templates

Tag templates provide a simple mechanism to determine if an entity contains a specific tag. Templates also provide wildcard comparisons.

Tag Terms

Tag terms build upon tag templates to determine if entities comply with a specific criteria, whether it be the presence of a tag or an arithmetic comparison against a tag.

Tag Expressions

Tag expressions utilize Boolean logic to combine tag terms into complex expressions.

Arithmetic Expressions

Arithmetic expressions enable the creation of calculations based upon the tags assigned to objects in the portfolio.