Help:Composite Templates

From The Heretic Knowledge Vault

Revision as of 13:15, 6 October 2008 by Slamlander (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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

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

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

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

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

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

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

Personal tools
Support and Help