Difference between revisions of "Issue:Table Error while using include and first letter is an "-""
From FollowTheScore
(New page: {{Issue |Type = Bug |Extension = DPL |Version = 1.6.4 |Description = There are new lines |Status = open }} == Problem == I'm using the following code to get a table...) |
|||
(2 intermediate revisions by 2 users not shown) | |||
Line 4: | Line 4: | ||
|Version = 1.6.4 | |Version = 1.6.4 | ||
|Description = There are new lines | |Description = There are new lines | ||
− | |Status = | + | |Status = resolved |
}} | }} | ||
Line 25: | Line 25: | ||
== Reply == | == Reply == | ||
+ | You could use the [[tablerow]] command and put a nonbreaking space before the %% at the critical field. | ||
+ | :[[User:Gero|Gero]] 20:53, 16 January 2008 (CET) | ||
+ | ::Hi Gero, thanks for your answer, works fine. I'm using now the [[table]] and [[tablerow]] syntax and put a nowiki-tag around the critical field. --[[User:Beatz|Beatz]] 11:54, 18 January 2008 (CET) |
Latest revision as of 14:42, 18 January 2008
Description: | There are new lines |
Extension / Version: | DPL / 1.6.4 |
Type / Status: | Bug / resolved |
Problem
I'm using the following code to get a table with some information stored in pages with an template:
<DPL> category=Clan notnamespace=Kategorie notnamespace=MOHAA_Wiki includepage={Clan}:Clantag:Mitgliederzahl:Suchen_Member:Gründung:Homepage addpagecounter=true format=¶{|{{prettytable}} class=sortable width=100% ¶!Clan¶!Clantag ¶!Mitglieder ¶!Suchen Member ¶!Gründung ¶!Homepage ,¶|-¶|[[%PAGE%]] (%COUNT%),,¶|} secseparators=¶| </DPL>
In many cases, the field Clantag (in my template) begins with an "-". In this case, the rendered table will begin a new row instead of showing the correct Clantag beginning with an "-".
Reply
You could use the tablerow command and put a nonbreaking space before the %% at the critical field.