te3:toplist_tutorial4
no way to compare when less than two revisions
Differences
This shows you the differences between two versions of the page.
| — | te3:toplist_tutorial4 [2014/11/17 06:13] (current) – created moderator | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | |||
| + | |||
| + | ====== Create a history toplist ====== | ||
| + | ~~NOTOC~~ | ||
| + | <WRAP caution> | ||
| + | We'll be using three fictitious trades (''< | ||
| + | </ | ||
| + | |||
| + | ===== 1. Create a toplist template ===== | ||
| + | |||
| + | If you want a **history toplist** use the same tags as you use for the last 24h toplist, but add ''< | ||
| + | |||
| + | Of course you should only add '' | ||
| + | |||
| + | ++++ List of template tags | | ||
| + | |||
| + | |< 100% 15% 25% 60% >| | ||
| + | ^ Parameter ^ Description ^ Example ^ | ||
| + | | ''## | ||
| + | | ''## | ||
| + | | ''## | ||
| + | | ''## | ||
| + | | ''## | ||
| + | | ''## | ||
| + | | ''## | ||
| + | | ''## | ||
| + | | ''## | ||
| + | | ''## | ||
| + | | ''## | ||
| + | | ''## | ||
| + | | ''## | ||
| + | | ''## | ||
| + | | ''## | ||
| + | | ''## | ||
| + | | ''## | ||
| + | | ''## | ||
| + | | ''## | ||
| + | |||
| + | ++++ | ||
| + | |||
| + | TE3 template tags allow you to create completely unique toplists, but for the purpose of this tutorial use the example template we've prepared below: | ||
| + | |||
| + | < | ||
| + | <table border=" | ||
| + | |||
| + | <tr> | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | </tr> | ||
| + | <tr> | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | </tr> | ||
| + | <tr> | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | </tr> | ||
| + | <tr> | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | </tr> | ||
| + | |||
| + | </ | ||
| + | </ | ||
| + | |||
| + | |||
| + | |||
| + | ---- | ||
| + | |||
| + | ===== 2. Add new toplist ===== | ||
| + | |||
| + | Once you have created a toplist template, you have to **add it to yor TE3.** | ||
| + | |||
| + | |||
| + | ==== Step by step ==== | ||
| + | {{: | ||
| + | |||
| + | {{: | ||
| + | Navigate to the '' | ||
| + | |||
| + | {{: | ||
| + | You can choose between two different [[te3: | ||
| + | |||
| + | {{: | ||
| + | Now you have to add a toplist template into the textarea (if you use "File input" method, it is assumed, you have already uploaded your template at this stage). Copy-paste the example template we've prepared above. | ||
| + | |||
| + | {{: | ||
| + | Specify where would you like to save your template e.g., ''/ | ||
| + | (this is a toplist file with template tags) | ||
| + | |||
| + | {{: | ||
| + | Next, you have to enter File output path, e.g., ''/ | ||
| + | (this is an output file - template tags get replaced with real values) | ||
| + | |||
| + | {{: | ||
| + | Click {{: | ||
| + | |||
| + | |||
| + | ---- | ||
| + | |||
| + | |||
| + | |||
| + | ===== 3. Preview and edit the toplist ===== | ||
| + | |||
| + | |||
| + | |||
| + | The new toplist is already added to the " | ||
| + | {{: | ||
| + | | ||
| + | Close "Add new" window and click {{: | ||
| + | {{: | ||
| + | |||
| + | Take a look at html source for our output - you can see that TE3 template tags were replaced with real values: | ||
| + | |||
| + | {{: | ||
| + | |||
| + | You can easily edit your toplist and test its output - click {{: | ||
| + | |||
| + | |||
| + | ---- | ||
| + | |||
| + | |||
| + | ===== 4. Include toplist into your web page ===== | ||
| + | |||
| + | After you have created and added a toplist, it has to be [[te3: | ||
| + | |||
| + | ---- | ||
| + | |||
| + | |||
| + | ===== Related topics ===== | ||
| + | |||
| + | |||
| + | * [[te3: | ||
te3/toplist_tutorial4.txt · Last modified: 2014/11/17 06:13 by moderator