Templates: Difference between revisions

From HLKitWiki
Jump to navigationJump to search
New page: Category:Basic Concepts and Terminology [Context: HL KitBasic Concepts and TerminologyVisual Building Blocks] The contents of every template are assoc...
 
No edit summary
Line 2: Line 2:
[Context: [[Home|HL Kit]] … [[Basic Concepts and Terminology]] … [[Visual Building Blocks]]]
[Context: [[Home|HL Kit]] … [[Basic Concepts and Terminology]] … [[Visual Building Blocks]]]


The contents of every template are associated with a specific thing or pick. Templates make it easy to group portals together that access different fields of the same thing or pick for display and editing by the user. For example, if a template is associated with the pick "pistol" and the template contained a portal associated with the "range" field, that portal would display the contents of the "range" field of the "pistol" pick.
Templates contain one or more portals and represent a rectangular region within the containing layout. The template is responsible for coordinating the position of its own portals within its boundaries.
 
Every template is associated with a specific thing or pick. All of the portals within the template are associated with that thing or pick. Therefore, all fields associated with portals reference that field with the thing/pick associated with the template. For example, if a template is associated with the "pistol" pick and the template contained a portal associated with the "range" field, that portal would display the contents of the "range" field of the "pistol" pick.

Revision as of 09:39, 16 November 2008

[Context: HL Kit … Basic Concepts and Terminology … Visual Building Blocks]

Templates contain one or more portals and represent a rectangular region within the containing layout. The template is responsible for coordinating the position of its own portals within its boundaries.

Every template is associated with a specific thing or pick. All of the portals within the template are associated with that thing or pick. Therefore, all fields associated with portals reference that field with the thing/pick associated with the template. For example, if a template is associated with the "pistol" pick and the template contained a portal associated with the "range" field, that portal would display the contents of the "range" field of the "pistol" pick.