iWebPress iWebPress: User Guide

4.2. iWebPress Markup Language

Introduction

The iWebPress pseudo-language (iWebPress Markup Language) is designed to have extreme power, versatility, and ease of use. For most templates, designers need only place a variable (sometimes referred to as a keyword) in the proper location. More advanced structures such as lists (loops) and basic logic also exist.

All iWP code must be enclosed in percent signs (%) in order to work properly (i.e.: %assignmentTitle%). This is necessary to distinguish iWP code from HTML and text on the page.

Only variables that are applicable to a page will be available on that page. For example, if you are making usersTemplate and type %assignmentTitle% on the page, the variable will not be replaced with a title because there is no appropriate title to put there. You will simply get an empty space. Below is a detailed explanation of how the iWebPress Markup Language works. If you'd like, you can skip ahead to the examples section, or simply browse through the available variables list.



4.2.1. Static Keywords
4.2.2. Introduction to Lists
4.2.3. Simple Lists
4.2.4. Dynamic Lists
4.2.5. Functions