Difference between revisions of "Issue:Table Error while using include and first letter is an "-""
From FollowTheScore
(→Reply) |
(→Reply) |
||
Line 27: | Line 27: | ||
You could use the [[tablerow]] command and put a nonbreaking space before the %% at the critical field. | 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) | :[[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) |
Revision as of 12:54, 18 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.