TAGGER: To Tag a Template
|
READER: To Use a Template
|
12 TagBot Templates - click link to see preview image | |||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||
Selected: |
The Help pages describe the desktop program.
Template tagging of the markup file is identical for both the Desktop and Web versions of TagBot,
so files created on one system should port to the other, with these exceptions:
Program differences:
Onscreen differences
Basic TagBotThe most basic TagBot creates a plain text editing slot. It is the second of the two examples shown below. The word "Description" is added as the label for the slot, and the phrase "This is about my item." is the default value for the slot and will be edited by the user. The default value could be left empty.
[TagBot! Title = My Widget ] | |||||
[TagBot | ! | Title | = | My Widget | ] |
↑ TagBot Keyword |
↑ Style Symbol* |
↑ Prompt for slot |
↑ delimiter |
↑ default data for slot |
↑ close TagBot |
Always the same. Not case sensitive.
TagBots must not be nested within other TagBot brackets. |
Must touch keyword.
Several basic choices define slot colors: ! bold title : blue URL # orange value space is white for text. A text (space) slot can be used for most tagging. Other symbols perform operations: + include a file ^ Create theme % color chip & image chip And these symbols are only used in Globals and Targets: ? global variable ( math operation |
Prompt to remind the purpose of slot. Must not contain the = symbol. OK to surround with extra spaces or linebreaks. They will be stripped in the form. |
Delimiter marks start of default data. |
Can be left empty. Default data for slot must not contain a closing bracket "]".
The pipe "|" symbol will break data into options. Can be wrapped in extra spaces and linebreaks. They will be stripped. |
Always the same |
* The file tagbot symbol "+" only works in the desktop program. A desktop file can not be pulled by the program into this online tagging page. Similarly, an online file can not be pulled into the desktop program. |
Global TagBotGlobal TagBots are values that the user sets or selects once in the slots.
The values are then carried to additional locations in the code that need that value. Target TagBots are the recipients of the values.
[TagBot?urlName? Base URL = https://mysite.com] | |||||||
[Tagbot | ? | VarName | ? | color | = | red | ] |
↑ TagBot Keyword |
↑ Global Symbol |
↑ Variable name for slot |
↑ Style Symbol |
↑ Prompt for slot |
↑ delimeter |
↑ default data for slot |
↑ close TagBot |
Always the same. Not case sensitive. TagBots must not be nested within other TagBot brackets. |
Must touch keyword.
Can only be "?" |
Must touch Symbol. Variable Name can not contain any spaces or Style Symbols.
A variable name should not be a subset of another variable name. If one variable is bkcolor, another variable could be txtcolor, but not color. |
Can be any Style Symbol. Must touch Variable Name.
If Theme "^" style is chosen, slots will be hidden and options will map into Theme options. Only one Theme TagBot per page. When using themes, all option lists (in the default data slot) associated with the theme must have the same number of options. |
Prompt to remind the purpose of slot. Must not contain the = symbol. OK to surround with extra spaces or linebreaks. They will be stripped in the form. |
Delimiter marks start of default data. |
Can be left empty. Default data for slot must not contain a closing bracket "]".
The pipe "|" symbol will break data into options. Can be wrapped in extra spaces and linebreaks. They will be stripped. |
Always the same |
Target TagBotTargets do not create slots. They are substitution sites within the code. There are three kinds of targets: 1) the variable substitutions are targets for Global variables that the user sets; 2) random integers are not touched by the user; 3) and math operations may receive one variable set elsewhere, but are otherwise not touched by the user.
[TagBot?VariableName] | |||
[TagBot | ? | VariableName | ] |
↑ TagBot Keyword |
↑ Style Symbol |
↑ Variable or Math Value |
↑ close TagBot |
Always the same. Not case sensitive. TagBots must not be nested within other TagBot brackets. |
Must touch keyword.
Will be either ? variable substitution ( math substitution |
Not case sensitive. No extra spaces or linebreaks allowed.
Must touch style symbol.
Substitute Variable name as defined in the Global Variable. If Variable name is "random", then substitute the same random integer wherever this tag is found. If math style, then perform simple math from left to right and substitute results. A target variable is allowed in first position. Operators are + add - subtract * multiply / divide \ integer division # color ratio Color ratio starts with a whole number from 0-100 (lower than 50 darkens color and higher than 50 lightens color), followed by # and a 6-hex color code. A closing parenthesis ")" on the math style is ignored. |
Always the same |
Section Wrapper TagBotSection Wrappers define sections of code to include or omit if the slot is checkmarked. Wrapped sections should not divide HTML tag pairs and should encompass complete code sections that will not be missed if excluded.
<TagBot Include this photo=true> .... </TagBot> | ||||||
<TagBot | Prompt | =true | > | ...content... | </TagBot> | |
↑ TagBot Keyword |
↑ Space |
↑ Prompt for wrapper |
↑ =true =false |
↑ close TagBot |
↑ Template Content |
↑ End TagBot |
Always the same. Not case sensitive. Wrapper TagBots must not be nested within other Wrapper TagBots. Wrapper may include other types of TagBots. |
Space indicates more info follows. Otherwise start tag may be ended here. | Instruction to user. If omitted, a default instruction will appear. | True or False indicates default state of content.
If omitted, the default state will be true (checked) and the content will be included. The user will check or uncheck a box to alter the state. |
Always the same | Wrapped content may be any text or complete section of code.
May include other types of TagBots, but not another Section Wrapper TagBot.
Do not split HTML tags or break the template by including required codes within a wrapper. |
End tag. Always the same. Not case sensitive. |
courtesy of eBay user shipscript
copyright 2006-2014-2022 © www.isdntek.com