# =============================================================================== # = Short Comments: # =============================================================================== # Template 1: page variables -> e.g. index.tmpl # Template 2: html template -> 00_html_page.templ (always!) # Template 3: describing page -> 00_tmpl_page.descr (this page) # # =============================================================================== # = MAKING HTML FILE: # =============================================================================== # # 1) reading first: index.tmpl # 2) then reading: 00_html_page.templ # 3) making: index.html # # index.tmpl ---------> +-----------------------+ # | 0_make_html_page.rexx | --> index.html # 00_html_page.templ --> +-----------------------+ # # =============================================================================== # = EXAMPLE PAGES: # =============================================================================== # I. Text Area with list II. Text Area + Right Menu + Footer # (one column table) (two column table) # # Text Area Text Area RMenu # +----------------------------+ +--------------------+-------+ # | Page Title_2 | | Page Title_2 | pict1 | # | ------- horiz line ------- | | --- horiz line --- | | # | date | | date | pict2 | # | homepage -> this page | | homepage | | # | | | | pict3 | # | * list item | | * list item | | # | * list item | | * list item | pict4 | # | * list item | | * list item | | # | | | | pict5 | # | | | paragraph | | # | | | | | # | | |--------------------+-------+ # | E-mail | | Footer | # +----------------------------+ +----------------------------+ # | | | | | # +<----------- 800 ---------->+ +<----- 600 -------->+<-200->+ # # III: Left Menu + Text Area + Right Menu # (three column table) # # LMenu Text Area RMenu # +-------+----------------+-------+ # | SECT1 | Page Title_2 | SECT1 | # | item1 | - horiz line - | item1 | # | item2 | date | item2 | # | item3 | homepage ->... | | # | | | SECT2 | # | SECT2 | paragraph 0 | item1 | # | item1 | | item2 | # | item2 | paragraph 1 | | # | item3 | paragraph 2 | SECT3 | # | | paragraph 3 | item1 | # | SECT3 | | item2 | # | item1 | - horiz line - | item3 | # | item2 | E-mail | | # +-------+----------------+-------+ # | | # +<-150->+<--- 550 ------>+<-200->+ # ********************************************************************************* * ATTENTION!!! * * * * There's strict relation between variable names: e.g "var_3": * * Qvar_3Q <--> $var_3$ (00_html_page.templ <--> page.tmpl) * * * ********************************************************************************* # =============================================================================== # = PAGE VARIABLES in 00_html_page.templ files: # Examples: #
Qvar_3Q
images with or w/o links) --- $ltype2$ images $list_2$ × ./images/p2o2_50_8.png × [Logo P2O2] $list_2$ http://www.netbsd.org/ × ./images/NetBSD-flag.png × [Logo NetBSD] $list_2$ http://www.oorexx.org × ./images/oorexx_50.png × [Logo Open Object Rexx] # --- 3 list (e-mail links) --- $ltype3$ emails $list_3$ pp_o2@o2.pl × Przemysław Pawełczyk × - Cracow, Poland