Difference between revisions of "Test includetrim"

From FollowTheScore
Jump to: navigation, search
Line 24: Line 24:
 
listseparators      =,,,
 
listseparators      =,,,
 
secseparators      ={| class="collapsible autocollapse" border="0" style="background:black; color:white" cellspacing="0" border-collapse="collapse" bordercolor="black"¶|- style="background:black; color:white"¶!width="425"|[[,]],¶!width="300"|,¶!width="200"|%DATE%¶|- align="center"¶,| {{#ev:,|,,}}, ||,¶|}¶
 
secseparators      ={| class="collapsible autocollapse" border="0" style="background:black; color:white" cellspacing="0" border-collapse="collapse" bordercolor="black"¶|- style="background:black; color:white"¶!width="425"|[[,]],¶!width="300"|,¶!width="200"|%DATE%¶|- align="center"¶,| {{#ev:,|,,}}, ||,¶|}¶
 +
includetrim        =true
 
</DPL>
 
</DPL>

Revision as of 05:15, 7 April 2008

Test includetrim


We create pages that contain chapter contents :

Random Chapter Content 1

Random Chapter Content 2

Random Chapter Content 3


Now we want to create tables that will call the chapter content from some sections (chapters) of these pages. Using the mode userformat we want to have full freedom on the output of DPL.

{{Extension DPL}}{| class="collapsible autocollapse" border="0" style="background:black; color:white" cellspacing="0" border-collapse="collapse" bordercolor="black"
|- style="background:black; color:white"
!width="425"|[[This is a random sentence. 1.]]
!width="300"|This is a chapter. 1.
!width="200"|2008-04-07 05:03:20
|- align="center"
{| class="collapsible autocollapse" border="0" style="background:black; color:white" cellspacing="0" border-collapse="collapse" bordercolor="black"
|- style="background:black; color:white"
!width="425"|[[This is a random sentence. 2.]]
!width="300"|This is a chapter. 2.
!width="200"|2008-04-07 05:04:08
|- align="center"
{| class="collapsible autocollapse" border="0" style="background:black; color:white" cellspacing="0" border-collapse="collapse" bordercolor="black"
|- style="background:black; color:white"
!width="425"|[[This is a random sentence. 3.]]
!width="300"|This is a chapter. 3.
!width="200"|2008-04-07 05:04:50
|- align="center"