- 1 Feedback
- 2 Questions
- 3 Feature requests
- 4 Bugs
- 5 Contributors
- 6 Version history
Is this working on 1.19.x
More cells in a table
Is it possible to somehow get more than two cells in a table, without using different titles?.. I'm looking for something like:
--Jesper 12:49, 15 January 2008 (UTC)
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.
- I'm working on this. --Fernando Correia 11:49, 28 June 2007 (UTC)
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 -- 188.8.131.52
- 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)
This seems a good extension! It is possible to have a little more? Say, using the key=value syntax for me could be useful to have the table on more than 2 column... as example:
|Section 1||Section 2|
with following syntax (the @title is of course just a proposal):
<properties> @title=section 1 key1=value1 key2=value2 key3=value3 @title=section 2 key4=value4 key5=value5 </properties>
--Briotti 08:37, 25 October 2007 (UTC)
- I've seen your code... I'll try to implement this feature and I'll send you the code for approval... --Briotti 09:19, 25 October 2007 (UTC)
- Done! It works... you can see it in action at http://www.usnb.it/wiki/index.php?title=Ameba_Gigante#La_Scheda
- the tag is
<properties> @title=Qualità Abilità=12 Coraggio=7 Classe=15 @title=Dati Fisici Resistenza=10 Velocità=0,25 En. Vitale=40 Costituzione=20 @title=Combattimento Attacco=12 Parata=0 @title=Armamento Impatto=1D6+3 Protezione=0 </properties>
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 <properties> sda=1 sdb=2 sdc=0 </properties>
would not generate the sdc=0 row. I used .0 to make it appear
Source code contributors:
- Fernando Correia: Original contributor.
Release date: 2007-02-09
- Initial release.
Release date: 2007-02-12
- BUGFIX: message key should be lowercase.
Release date: 2007-02-26
- FEATURE: Polish translation by user with IP 184.108.40.206.
Release date: 2007-06-26
- FEATURE: Automatic numbering.
Release date: 2007-07-25
- FEATURE: Parser function.
- FEATURE: Automatic increment using letters.