Difference between revisions of "Portals"

From HLKitWiki
Jump to: navigation, search
Line 10: Line 10:
 
==Label Portals==
 
==Label Portals==
  
Labels are the simplest type of portal and allow the display of information to the user. There are different types of label portals, depending on what the label contains and how it is to be displayed to the user. Literal labels display fixed text, field-based labels show the contents of a specific field, script-based labels synthesize their contents via a script, and title labels present their contents with special formatting for use as a title.
+
Labels are the simplest type of portal and allow the display of information to the user. There are different types of label portals, depending on what the label contains and how it is to be displayed to the user.
 +
 
 +
:{| class="infotable"
 +
|class="leftnormal"|Literal
 +
|Literal label portals display a fixed string of text.
 +
|-
 +
|Field-Based
 +
|Field-based label portals show the contents of a specific field.
 +
|-
 +
|Script-Based
 +
|Script-based label portals synthesize their contents via a script, with the results being displayed.
 +
|-
 +
|Titles
 +
|Title label portals present their contents with special formatting for use as a title.
 +
|-
 +
|}
  
 
==Image Portals==
 
==Image Portals==
 
Image portals enable the display of images to the user, and there are different types. Literal images display the same image always, field-based images show the image specified by a field, user images present the image selected by a user, and reference images allow a user-added image to be adapted dynamically at run-time (such as using the character portrait on the Tactical Console).
 
Image portals enable the display of images to the user, and there are different types. Literal images display the same image always, field-based images show the image specified by a field, user images present the image selected by a user, and reference images allow a user-added image to be adapted dynamically at run-time (such as using the character portrait on the Tactical Console).
 +
 +
:{| class="infotable"
 +
|class="leftnormal"|
 +
|
 +
|-
 +
|
 +
|
 +
|-
 +
|
 +
|
 +
|-
 +
|}
  
 
==Edit Portals==
 
==Edit Portals==
|Edit portals enable the user to edit the contents of a specific field. Simple edits provide direct editing of a numeric or text field, while date edits offer structured editing that ensures the contents of the field always subscribe to specific rules (e.g. four digits for year, two digits for month, etc.).
+
Edit portals enable the user to edit the contents of a specific field. Simple edits provide direct editing of a numeric or text field, while date edits offer structured editing that ensures the contents of the field always subscribe to specific rules (e.g. four digits for year, two digits for month, etc.).
 +
 
 +
:{| class="infotable"
 +
|class="leftnormal"|
 +
|
 +
|-
 +
|
 +
|
 +
|-
 +
|
 +
|
 +
|-
 +
|}
  
 
==Incrementer Portals==
 
==Incrementer Portals==

Revision as of 22:29, 15 November 2008

[Context: HL KitBasic Concepts and TerminologyVisual Building Blocks]

Overview

Portals are the finest level of control within a visual presentation. They provide access to individual fields within things and picks. Fields are hooked up to portals, thereby allowing the user to view and/or modify the contents of those fields. For example, a "label" portal could be associated with the "damage" field for a weapon, thereby allowing the contents of the field to be displayed to the user via that portal. If an "edit" portal were used instead, then the contents of the field could potentially be modified by the user.

Each of the different types of portals is summarized in the sections below. Complete details on each portal type will be found within the Kit Reference section of this documentation.

Label Portals

Labels are the simplest type of portal and allow the display of information to the user. There are different types of label portals, depending on what the label contains and how it is to be displayed to the user.

Literal Literal label portals display a fixed string of text.
Field-Based Field-based label portals show the contents of a specific field.
Script-Based Script-based label portals synthesize their contents via a script, with the results being displayed.
Titles Title label portals present their contents with special formatting for use as a title.

Image Portals

Image portals enable the display of images to the user, and there are different types. Literal images display the same image always, field-based images show the image specified by a field, user images present the image selected by a user, and reference images allow a user-added image to be adapted dynamically at run-time (such as using the character portrait on the Tactical Console).

Edit Portals

Edit portals enable the user to edit the contents of a specific field. Simple edits provide direct editing of a numeric or text field, while date edits offer structured editing that ensures the contents of the field always subscribe to specific rules (e.g. four digits for year, two digits for month, etc.).

Incrementer Portals

Checkbox Portals

Menu Portals

Chooser Portals

Action Portals

Region Portals

Separator Portals

Table Portals

Special Portals