Templates
Templates help simplify the construction of a wiki article by automatically formatting the content of the template into complex table layouts that would be very difficult to create and maintain using standard wiki markup tags. The templates work well to organize products with their descriptions. The easiest way to create a template is by using the Template Wizard. The Template Wizard provides a user interface that allows the user to specify the attributes of the template. The Wizard will then construct the wiki markup required, so the user doesn't need to understand all of the specific wiki markup syntax for the template. The Template Wizard can be started by clicking on the Template Wizard toolbar button, which looks like this: To edit an existing template in the Rich Text editor, simply edit the content of the template as with any other text. To delete a template, right mouse click (control + click for Mac users) on the template and click Delete Template from option menu. Types of TemplatesProduct templates are designed to display products or product information in a table format. However, they are not limited to only displaying product information. Examples of the templates are shown at the bottom of this article.
Borderless templates can be selected for specialize cases, where no borders are shown and transparent backgrounds are required. These work great on directory pages. Adding and Removing ItemsTo add items to horizontal templates, right-mouse click (control+click on Mac) on the template and select "Add Item" from the pop-up menu (a maximum of five items can be added to a horizontal template). Similarly, ]to remove items from horizontal templates, right-mouse click on the item to remove and select the "Remove Item" menu option. ImagesGetting an image to fill a template is as easy as searching for a product image through the crawler and adding it to the template. External images are supported, but we prefer you use images from our search. There are several different properties that control how Images are managed in templates. Below are the properties supported on ShopWiki:
To change an image in the rich text editor, right-mouse click (control+click on a Mac) on the image and select "Image Properties" to get back to the pop-up menu. DescriptionThe description for the product/item can contain any of the supported wiki markup tags to improve the formatting. Common markup used in descriptions would be bolding, centering and hyperlinking part of the copy. For more information on the standard wiki markup, see the Wiki Markup article. Template PropertiesThe Template Properties menu in the Rich Text Editor allows you to change the width and border of a specific template. Right click (control+click on Macs) on the template you want to modify and choose "Template Properties" from the drop-down menu. Here you can easily change the width, which should always be in a percent, and the border, which is always a number (0 denotes a borderless template). Wiki Markup TemplatesThe wiki markup syntax for templates is specified below. This is only needed if creating or modifying the templates using the wiki plain text editor. Modifying the templates using the rich text editor is managed entirely by the rich text editor and the template wizard dialog. Each parameter of the template begins with a vertical bar character (|) located on a new line. Parameters can be ordered in any way. Format for Vertical Product Template Format for Horizontal Product Template Note: Only Image1 and Description1 item keywords are required. The template will support up to five items in the horizontal template. The parameter names for items 2-5 are simply the term Image or Description followed by the item number. Format of Image referenceThe image reference that is specified for the Image parameter can include additional attributes. Borderless TemplatesBorderless templates can be selected for specialized cases where no borders are shown and transparent backgrounds are required. There are two ways to create a borderless template.
Template Samples
| |||||||||||||||||





