Extension talk:PropertyTable

Use in templates
Is it possible to call your extension from a template. I've tried it and it just prints out the variable call, not the value.

More complex tables
Is it somehow possible to have more complex tables created using this syntax? I'm not worried about styling, but rather having 3 or 4 columns, merging cells, etc. Thanks -- 199.173.224.21


 * I've considered that but initially I decided against it. It seems to me that the value of this extension lies in the simplicity of the syntax. If we add too many options that would complicate the sintax and we would soon have a complex syntax similar to the native MediaWiki table markup or to HTML table tags. But if anyone can suggest syntax improvements that would keep it simple and add more features, feel free to do so. --Fernando Correia 10:40, 21 February 2007 (UTC)

Links with equal sign in them (=) break the table
If I put a link that has an = sign anywhere in it as the right column entry, that entire row will be missing from the table. As soon as I remove the = sign, it works again.

Message key should be lowercase (fixed)
For me it first did not work, but it does now, after I created "MediaWiki:PropertyTable tag" with "properties".--Patrick 18:38, 9 February 2007 (UTC)
 * That's strange. I didn't have to create it and it was supposed to be created automatically. What version of MediaWiki are you using? --Fernando Correia 19:49, 9 February 2007 (UTC)

1.9.0rc2.--Patrick 23:22, 9 February 2007 (UTC)


 * I was thinking maybe it has something to do with languages. I think something is missing in my setup instructions or in the software, but I don't know the behavior of these message settings yet. I provided a message for "en". What is your wiki's default language? And your user's language preference? --Fernando Correia 01:00, 10 February 2007 (UTC)

Both English. I think I found it: message keys should start with lowercase, i.e. "propertyTable_tag", because function "get" in MessageCache.php applies lcfirst to it.--Patrick 13:25, 10 February 2007 (UTC)


 * Thanks a lot! I will fix it. --Fernando Correia 18:53, 10 February 2007 (UTC)


 * Version 1.0.1 should fix it. Thanks for the feedback. --Fernando Correia 11:16, 12 February 2007 (UTC)

G'day, when I have zero ie "0" in a field the table row does not appear so sda=1 sdb=2 sdc=0

would not generate the sdc=0 row. I used .0 to make it appear

Contributors
Source code contributors:
 * Fernando Correia: Original contributor.

1.0.0
Release date: 2007-02-09
 * Initial release.

1.0.1
Release date: 2007-02-12
 * BUGFIX: message key should be lowercase.

1.0.2
Release date: 2007-02-26
 * FEATURE: Polish translation by user with IP 83.31.211.157.

1.1.0
Release date: 2007-06-26
 * FEATURE: Automatic numbering.