Site Members

<< list of all talk/discuss pages

site-members «< Main page Edit (append)

Not sure I'm doing it right but "Discuss THIS Page" brings me here.

I have an idea to improve this code as it auto-numerate every table on page: http://try.wikidot.com/incl-site-members

Example: http://try.wikidot.com/incl-site-members-2

[[module CSS]]
.auto-numerate table {
   counter-reset: line-number;
}

.auto-numerate td:first-child:before {
  content: counter(line-number) ".";
  counter-increment: line-number;
  padding-right: 0.3em;
}
[[/module]]

+ Members:

[[div class="auto-numerate"]]
[[module Members]]
[[/div]]

+ Moderators

[[div class="auto-numerate"]]
[[module Members group="moderators"]]
[[/div]]

+ Admins

[[div class="auto-numerate"]]
[[module Members group="admins"]]
[[/div]]

We could also extract auto numeration of tables as stand alone module and use them in auto numbered site-members.


site-members «< Main page Edit (append)

Your Comments:

Add a New Comment

Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License