Πρότυπο:toc-test
Μετάβαση στην πλοήγηση
Πήδηση στην αναζήτηση
This Template:toc-test is a test for Module:toc-test (goal: quasi Template:test-ol) with Template:toc/style.css
{{#invoke:toc-test|main}}
placed in a table
Headings of mainspace at wiktionary are standard and repetitive. A page often includes 2-4 languages with repetitive headings.
The goal is to reconstruct the magic word __TOC__
at a module with parameters for horizontal displays (by level or with toclimits)
- example: horizontal by level2 would look like sticky at bottom, at top, manual test (or tests at Template:test-ol)
- as simple as possible, as standalone as possible
#Need ...
- split all Level2 (language) columns
- toclimit horizontal list with commata needed at pages like wikt:en:te or wikt:el:Odin
Test template {toc-test|cols=1 (for new columns of td at L2 li}. There is a div in a td. The div has margin-left:-1em and li at css are margin-left:-30px to move the list left.
The class tocwikt (for numbering) is placed at the first host-table (Περιεχόμενα). It works wherever I put it.
The class tocwikt (for numbering) is placed at the first host-table (Περιεχόμενα). It works wherever I put it.
{toc-test} Try param |cols=1
| the real TOC |
write {#invoke:toc-test|main}
a) in a table b) alone
Περιεχόμενα = invoke:toc-test|main | ||
toc-test|main is:
Need
- to make new columns with cols=1 something like
</ol></td><td style="...left, top etc"><ol class=..><li class=>... continue
- to keep the numbering intact, + toclimit option
- to move the whole <ol> to the left: margin-left:0em; (not with margin -3em as in done now at a div).
- to formate sizes, line-heights, etc with css class="tocwikt" Template:toc/style.css
- in the real TOC, the numbers are linked togehter with the words. nevermind.
OPTIONAL extras: for Appendices, Talks etc
- headings might include any kind of text, templates etc. This is difficult.
Νέα ελληνικά (el)
[επεξεργασία]Ετυμολογία
[επεξεργασία]Προφορά
[επεξεργασία]Ουσιαστικό
[επεξεργασία]Παράγωγα
[επεξεργασία]παράγωγα
[επεξεργασία]Συγγενικά
[επεξεργασία]Αναφορές
[επεξεργασία]Μεσαιωνικά ελληνικά (gkm)
[επεξεργασία]Ετυμολογία 1
[επεξεργασία]Ουσιαστικό
[επεξεργασία]Ετυμολογία 2
[επεξεργασία]Ρήμα
[επεξεργασία]Συγγενικά
[επεξεργασία]Αναφορές 15
[επεξεργασία]Κυπριακά (el-cyp)
[επεξεργασία]Αρχαία ελληνικά (grc)
[επεξεργασία]Ετυμολογία 1
[επεξεργασία]ρήμα
[επεξεργασία]Ουσιαστικό
[επεξεργασία]Παράγωγα
[επεξεργασία]Δείτε επίσης
[επεξεργασία]Κλιτικοί τύποι
[επεξεργασία]Επίπεδο 6ο
[επεξεργασία]Ετυμολογία 2
[επεξεργασία]Ρήμα
[επεξεργασία]Αναφορές 15
[επεξεργασία]Appendix
[επεξεργασία]Etymology
[επεξεργασία]word linked
[επεξεργασία]word second and third
[επεξεργασία]Etymology 1
[επεξεργασία]altχρέος, altδρόμος elcyp with hyphen
[επεξεργασία]άλλο χρέος
[επεξεργασία]άλλο χρέος λέξη
[επεξεργασία]Etymology 2
[επεξεργασία]word
[επεξεργασία]Etymology 1
[επεξεργασία]# <code>{{toc-test}}</code> #: output: {{toc-test}} # <code>{{#invoke:toc-test|main}}</code> #: output: {{#invoke:toc-test|main}}