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...) |
(→Reply) |
||
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) |
Revision as of 21:53, 16 January 2008
Description: | There are new lines |
Extension / Version: | DPL / 1.6.4 |
Type / Status: | Bug / open |
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.
- Gero 20:53, 16 January 2008 (CET)