Help - Characters template Sheet
Index:
- What is temp
- What the requirements to create or edit a template?
- What I need to use a template that is ready?
- How to created a new template?
- Fields
- Scripts:
- Functions
- field getElement(fieldName)
- void saveField(fieldName)
- void forceNumberInput(field)
- Other questions about scripts:
- How to change a template from another user?
- How can I report a template that breaks the conduct of Taulukko?
- By create a template, others can copy them? What rights do I have on the template? by create
What is template?
Taulukko is a generic system that supports many different types of games. So doesn't makes sense Taulukko have a single type of character sheet. So, Taulukko offers a template system that can be created by the players themselves.
You can add scripts to events on sheet's fields, so they can be automatically filled.
Also, fields are saved automatically when it loses focus. The player only needs to worry about saving data fields generated via script.
What are the requirements to create or edit a template?
To edit or create a template, the minimum and recommended requirements are the same from Taulukko. Except that the editor does not work for Internet Explorer. To view and attach the campaigns any compatible browser Taulukko is enough.
What I need to use a template that is ready?
To use a template ready and posted, you should go to your campaign web site and click "Attach Model. " Then, just select the template that most closely resembles the system you use and done!
V�deo-tutorial explaining how to use a template:
How do I create a new template?
The first step is to click on the menu in Sheets Create template.
The system will ask the model name, a short description and a detailed description.
The models in sheets are divided in pages, like a double-sided of a paper. However, you can create until five pages for template. You need create a name for each pages that will have your template, such as: Features, Fighting, Equipment etc.
Each page consists in many fields.
Video-tutorial explaining how create a new template:
Fields
Each field is composed of many attributes: name, description, type, default value, the left margin, top margin, height, width, maximum length, blocked, visible. All attributes are obligatory. Optionally, you can put javascript for each of the events: mouse click, move the mouse, keyboard, while losing focus.
Name Attribute:
Independent of the name that the field has, it does not affect the appearance of the field for the player. However, it is important to appoint a case of using this field in any script in the future.
Description Attribute:
Description is an attribute only descriptive. If desired, you can leave it blank.
Type Attribute:
Type is how your field will shown on screen. Exist the following types:
Textl:
Simple text field. If it is blocked, can't be edited by the user. It is also the only type that accepted limit of characters (full size).
Image:
Image field. This field can not be edited by the user and, therefore, it ignores the attribute "blocked. " The path of the image it displays is the URL that is in the Default Value field.
Button:
Field type button. This field appears as a button to the user. He does not accept being edited and, therefore, it ignores the attribute "blocked. " The contents of the default value is what will appear over the button.
Text Area:
Field type text box. This field appears as a text field, but accepts multiple lines. This field type does not accept minimum size, but may be limited to 4000 characters.
Default Value Attribute:
Used in different ways depending on the type, in most of the cases is the value it assumes for the field when it contains no value entered by the user. However, in fields type image, it must be filled with the image URL.
Left and Top Attributes
This attribute marks how much the field will appears away from the left margin and top margin.
Wight and Height Attributes:
his attribute marks how much the width and height in pixels will occupy its field.
Attribute Width and Height:
This attribute is used only for fields of type Text. This attribute how much limits the maximum amount that the user can type in the text field.
Blocked attribute:
This attribute, when is configured to yes, change the labels for the text fields that can't be changed by the user only via javascript.
Mouse Click Event:
The click event is activated when you click on field. This attribute, event works equally for all types.
Mouse Move Event:
The move event is fired when the mouse moves over the field.
Mouse Keypress Event:
The event is activated when typing a key is pressed onto the field. This event works only with fields of type text.
Mouse Onblur Event:
The event lose focus is activated when cursor leaves the field.
extra CSS:
Fields accept CSS formatting. Simply include the CSS attributes that you want change and they will be incorporated into the css of the field.
Scripts
The script are accepted is the javascript. Taulukko offers some functions ready for developers. Below is a list of them:
field getElement(nomeDoCampo)
This function takes the field name and returns an object of type field.
void saveField(nomeDoCampo)
This function receives the name of the field and saved in the database. It usually do not need to be activated because the fields Taulukko saved automatically when it loses focus. But, if you find it necessary, to save a field that had its value changed via code, it will be useful.
void forceNumberInput(campo)
This function receives the field and, if the value is not numeric, it changes its value to zero.
What happens if a script of my template contains error?
The scripts of each field are the responsibility of the developer template. If a script contains an error, the model can be displayed incorrectly and make mistakes like not save, missing pages, among others.
If isn't you have built the template, please contact the developer.
There is compatibility with scriptaculous?
Yes, in addition to the javascript functions and additional functions of Taulukko, the editor accepts the developer to use the library functions Effects of scriptaculous.
How to change a template from another user?
From the main template is the "Save As". But note that this option only appears if the user template is not the author of an account owner PREMIUM.
How can I report a template that breaks the conduct the Taulukko?
You can click the report button and fill out the informations or send an email to taulukko@taulukko.com.br stating the name of the authorthe template, model name and the reason for complaint.
By creating a template, others can copy them? What rights do I have about template?
Yes From the moment you publish the template, the material becomes part the site Taulukko and any user can use or even copy for use within the site. But, , if you have a premium account, the option "Save as" will not appear for other users, making it difficult to copy your sheet.
