Help:Composite Templates
From The Heretic Knowledge Vault
Revision as of 20:02, 30 October 2007
Composite templates are basically an easier way to build tables with a common format and still retain some flexibility.
Contents
|
Descriptive
All composite templates have the same common features and the names have been carefully chosen such as to fit into a system that is easy to remember.
In using these templates to build tables, you will build tables row by row, with the number of columns being fixed by the template. These components can also be used by other templates.
Usage
First there are the raw Table Open and Close functions;
- Table Open
- Table Close
These are independent of the number of columns in the desired table. However, they set up the basic table parameters such as; border color, which side to float it on (Side), and how wide to make it (Wide).
Specific table functions
The first part, the name, tells you the number of columns in the table. There are existing composite template definitions for tables of up to six columns.
- Two-Column
- Three-Column
- Four-Column
- Five-Column
- Six-Column
Within each of these are the various components for each named column type.
- Header - Opens the table and sets initial parameters.
- Plain - No Title and no Picture
- Image - With Picture and Title
- Section Title - Creates a section break, with a title.
- Field - adds a row of row label followed by row data values
- Labels - Creates a row of column labels
- Values - adds a row of data values
- Notes - Adds a table-wide notes, comments, or image section
- Footer Notes - Notes section and closes the table.
- Footer - Closes the table
Template definitions and implementation samples
Basic Table Functions
test |
- Table Open -- Usage -- Table Open sequence
- Table Close -- Usage -- Table Closing sequence
One Column - Composite Template
Implementation Samples
Single Columnar |
A Sample Notes text. |
Section delimiter |
Column Name |
Data1 |
Another Section delimiter |
Notes: text |
Plain (No title, no picture)
A Sample Notes text. |
Section delimiter |
Column Name |
Data1 |
Another Section delimiter |
Notes: text |
Components
- One-column Header -- Usage -- Normal one-column Header
- One-column Header Plain -- Usage -- Header with no title
- One-column Header Image -- Usage -- One-column Header with Image
- One-column Section Title -- Usage -- Section delimiter
- One-column Labels -- Usage -- Column labels
- One-column Values -- Usage -- Data Values
- One-column Notes -- Usage -- Table-wide Notes
- One-column Footer Notes -- Usage -- Footer with Notes
- One-column Footer -- Usage -- Footer, no notes field
Two Column - Composite Template
Implementation Samples
Two Columnar | |
A Sample Notes text. | |
Lable: | Value |
Section delimiter | |
Lable: | Value |
Section delimiter | |
Column Name | Column Name2 |
Data1 | Data2 |
Data1 | Data2 |
Data1 | Data2 |
Data1 | Data2 |
Another Section delimiter | |
Lable: | Value |
Notes: text |
Components
- Two-column Header -- Usage -- Normal two-column Header
- Two-column Header Plain -- Usage -- Header with no title
- Two-column Header Image -- Usage -- Normal two-column Header with Image
- Two-column Section Title -- Usage -- Section delimiter
- Two-column Field -- Usage -- Field Spec
- Two-column Labels -- Usage -- Column labels
- Two-column Values -- Usage -- Data Values
- Two-column Notes -- Usage -- Table-wide Notes
- Two-column Footer Notes -- Usage -- Footer with Notes
- Two-column Footer -- Usage -- Footer, no notes field
Three Column - Composite Template
Implementation Sample
Three Columnar | ||
A Sample Notes text. | ||
Lable: | {{{Value1}}} | {{{Value2}}} |
Section delimiter | ||
Lable: | {{{Value1}}} | {{{Value2}}} |
Raw data dump | ||
With | Header | Row |
of | any | Color |
Data | is | columnar |
{{{Value1}}} | {{{Value2}}} | {{{Value3}}} |
{{{Value1}}} | {{{Value2}}} | {{{Value3}}} |
and back to fields | ||
. | Two | Axis |
Table: | {{{Value1}}} | {{{Value2}}} |
{{{Label}}}: | {{{Value1}}} | {{{Value2}}} |
{{{Label}}}: | {{{Value1}}} | {{{Value2}}} |
Notes: |
Components
- Three-column Header -- Usage -- Normal Three-column Header
- Three-column Header Plain -- Usage -- Three-column Header, no Image
- Three-column Header Image -- Usage -- Normal Three-column Header with Image
- Three-column Section Title -- Usage -- Section delimiter
- Three-column Field -- Usage -- Field Spec
- Three-column Labels -- Usage -- Column Labels
- Three-column Values -- Usage -- Column Values
- Three-column Notes -- Usage -- Table-wide Notes
- Three-column Footer -- Usage -- Footer, no notes field
- Three-column Footer Notes -- Usage -- Footer with Notes
Four Column - Composite Template
Implementation Sample
Four Columnar | |||
A Sample Notes text. | |||
Lable: | {{{Value1}}} | {{{Value2}}} | {{{Value3}}} |
Section delimiter | |||
Lable: | {{{Value1}}} | {{{Value2}}} | {{{Value3}}} |
Raw data dump | |||
With | Header | Row | Labels |
of | any | possible | color |
Data | is | columnar | {{{Value4}}} |
{{{Value1}}} | {{{Value2}}} | {{{Value3}}} | {{{Value4}}} |
{{{Value1}}} | {{{Value2}}} | {{{Value3}}} | {{{Value4}}} |
and back to fields | |||
. | Two | Axis | Table |
Row name: | {{{Value1}}} | {{{Value2}}} | {{{Value3}}} |
{{{Label}}}: | {{{Value1}}} | {{{Value2}}} | {{{Value3}}} |
{{{Label}}}: | {{{Value1}}} | {{{Value2}}} | {{{Value3}}} |
Notes: |
Components
- Four-column Header -- Usage -- Normal Four-column Header
- Four-column Header Plain -- Usage -- Four-column Header, no Image
- Four-column Header Image -- Usage -- Normal Four-column Header with Image
- Four-column Section Title -- Usage -- Section delimiter
- Four-column Field -- Usage -- Field Spec
- Four-column Labels -- Usage -- Column Labels
- Four-column Values -- Usage -- Column Values
- Four-column Notes -- Usage -- Table-wide Notes
- Four-column Footer -- Usage -- Footer, no notes field
- Four-column Footer Notes -- Usage -- Footer with Notes
Five Column - Composite Template
Implementation Sample
Five Columnar | ||||
A Sample Notes text. with line breaks. and such.</font> </font> | ||||
Lable: | {{{Value1}}} | {{{Value2}}} | {{{Value3}}} | {{{Value4}}} |
Section delimiter | ||||
Lable: | {{{Value1}}} | {{{Value2}}} | {{{Value3}}} | {{{Value4}}} |
Raw data dump | ||||
With | Header | Row | Labels | {{{Label5}}} |
of | any | possible | color | {{{Label5}}} |
Data | is | columnar | Raw | Data |
{{{Value1}}} | {{{Value2}}} | {{{Value3}}} | {{{Value4}}} | {{{Value5}}} |
{{{Value1}}} | {{{Value2}}} | {{{Value3}}} | {{{Value4}}} | {{{Value5}}} |
and back to fields | ||||
. | Two | Axis | Table | {{{Label5}}} |
Row name: | Data | Data | Data | Data |
{{{Label}}}: | {{{Value1}}} | {{{Value2}}} | {{{Value3}}} | {{{Value4}}} |
{{{Label}}}: | {{{Value1}}} | {{{Value2}}} | {{{Value3}}} | {{{Value4}}} |
{{{Label}}}: | {{{Value1}}} | {{{Value2}}} | {{{Value3}}} | {{{Value4}}} |
{{{Label}}}: | {{{Value1}}} | {{{Value2}}} | {{{Value3}}} | {{{Value4}}} |
{{{Label}}}: | {{{Value1}}} | {{{Value2}}} | {{{Value3}}} | {{{Value4}}} |
Notes: |
Components
- Five-column Header -- Usage -- Normal Four-column Header
- Five-column Header Plain -- Usage -- Five-column Header, no Image
- Five-column Header Image -- Usage -- Normal Five-column Header with Image
- Five-column Section Title -- Usage -- Section delimiter
- Five-column Field -- Usage -- Field Spec
- Five-column Labels -- Usage -- Column Labels
- Five-column Values -- Usage -- Column Values
- Five-column Notes -- Usage -- Table-wide Notes
- Five-column Footer -- Usage -- Footer, no notes field
- Five-column Footer Notes -- Usage -- Footer with Notes
Six Column - Composite Template
Implementation Sample
Six Columnar | |||||
A Sample Notes text. | |||||
Lable: | {{{Value1}}} | {{{Value2}}} | {{{Value3}}} | {{{Value4}}} | {{{Value5}}} |
Section delimiter | |||||
Lable: | {{{Value1}}} | {{{Value2}}} | {{{Value3}}} | {{{Value4}}} | {{{Value5}}} |
Raw data dump | |||||
With | Header | Row | Labels | {{{Label5}}} | {{{Label6}}} |
of | any | possible | color | {{{Label5}}} | {{{Label6}}} |
Data | is | columnar | Raw | Data | {{{Value6}}} |
{{{Value1}}} | {{{Value2}}} | {{{Value3}}} | {{{Value4}}} | {{{Value5}}} | {{{Value6}}} |
{{{Value1}}} | {{{Value2}}} | {{{Value3}}} | {{{Value4}}} | {{{Value5}}} | {{{Value6}}} |
and back to fields | |||||
. | Two | Axis | Table | {{{Label5}}} | {{{Label6}}} |
Row name: | test | {{{Value2}}} | {{{Value3}}} | {{{Value4}}} | {{{Value5}}} |
{{{Label}}}: | {{{Value1}}} | {{{Value2}}} | {{{Value3}}} | {{{Value4}}} | {{{Value5}}} |
{{{Label}}}: | {{{Value1}}} | {{{Value2}}} | {{{Value3}}} | {{{Value4}}} | {{{Value5}}} |
Notes: |
Components
- Six-column Header -- Usage -- Normal Four-column Header
- Six-column Header Plain -- Usage -- Six-column Header, no Image
- Six-column Header Image -- Usage -- Normal Six-column Header with Image
- Six-column Section Title -- Usage -- Section delimiter
- Six-column Field -- Usage -- Field Spec
- Six-column Labels -- Usage -- Column Labels
- Six-column Values -- Usage -- Column Values
- Six-column Notes -- Usage -- Table-wide Notes
- Six-column Footer -- Usage -- Footer, no notes field
- Six-column Footer Notes -- Usage -- Footer with Notes