Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

datatemplatelist table with header #5

Open
janinko opened this issue Dec 16, 2016 · 2 comments
Open

datatemplatelist table with header #5

janinko opened this issue Dec 16, 2016 · 2 comments

Comments

@janinko
Copy link

janinko commented Dec 16, 2016

I'm trying to generate table using the datatemplatelist, however there is problem that the header of the table is detached from the content.

template:

|  {{@@!imgname@@?nolink|@@name@@}}  |@@name@@|@@dmg@@|@@durability@@|@@req-str@@/@@req-dex@@/@@req-int@@|@@twohand@@|@@weight@@|@@resources@@|@@skillmake@@|

page:

^obrázek^jméno^poškození^výdrž^síla/obr/int^obouruč^váha^zdroje^dovednost^
---- datatemplatelist ----
template : datatmp_craftlist
cols     : imgname_img, name, dmg, durability, req-str, req-dex, req-int, twohand, weight, resources, skillmake
headers  : obrázek, jméno, poškození, výdrž, síla/obr/int, obouruč, váha, zdroje, dovednost
sort     : dmg
filter   : %pageid%~nolda-test:*
----

Result:
snimek z 2016-12-16 14-36-56

Is there a way how to use it so the table header is properly attched?

@tmo26
Copy link

tmo26 commented Nov 5, 2017

Include the table header in your template.

@janinko
Copy link
Author

janinko commented Nov 6, 2017

If I do it then I have the table header on every odd row, but I need it only at the top.

^obrázek^jméno^poškození^výdrž^síla/obr/int^obouruč^váha^zdroje^dovednost^
|  {{@@!imgname@@?nolink|@@name@@}}  |@@name@@|@@dmg@@|@@durability@@|@@req-str@@/@@req-dex@@/@@req-int@@|@@twohand@@|@@weight@@|@@resources@@|@@skillmake@@|

snimek z 2017-11-06 14-01-20

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants