User:Wonghk3/Sandbox/WikiTextA3

CH-13: TEMPLATES
FOLLOW samples on tutorial page... Templates

DEFINITION of a TEMPLATE
 * a container of FIXED (non-changing) CODE that can be embedded anywhere on a page and onto many pages
 * may be text, tables, images, etc
 * used to standardize page sections
 * some templates allow for us to input 'values' that provide data or links to a page

SHOW EXAMPLES
 * Example of text/table: Aberton Parish
 * Check the breadcrumb trail and Jurisdiction Table


 * Example of image template:

HOW TO CREATE A TEMPLATE 1. Created the same way an ordinary article is created 2. In Search box, type Template:user-defined Template-name 3. Click on Create the page 4. Build template instructions in the edit box, then save page

HOW TO EMBED A TEMPLATE ENTER onto the page without the word Template

HOW TO EDIT A TEMPLATE Click "Edit source" at the top of the page Click Scroll to the bottom of the page and note list of templates Click Locate template of interest, then click on "Edit" CAUTION: Many templates have sub-templates within them which makes following the code difficult

HOW TO EDIT ONLY ONE EMBEDDED TEMPLATE Click "Edit source" at the top of the page

LIMITATIONS

CH-14: INFOBOX- CREATING
FOLLOW samples on tutorial page... Templates

CH-15: INFOBOX - PLACING
FOLLOW samples on tutorial page... Templates

CH-16: INFOBOX - IF FUNCTION
FOLLOW samples on tutorial page... Templates