Difference between revisions of "Test includetrim"

From FollowTheScore
Jump to: navigation, search
Line 3: Line 3:
 
}}
 
}}
  
Or Why is it always good to use includetrim=true when you want to include chapter content with mode=userformat.
+
Or Why is it always good to use includetrim=true when you want to include chapter content with mode=userformat ?
  
  
Line 18: Line 18:
  
 
<DPL>
 
<DPL>
debug              =5
 
 
category            =Random Chapter Content
 
category            =Random Chapter Content
 
mode                =userformat
 
mode                =userformat

Revision as of 05:19, 7 April 2008

Test includetrim

Or Why is it always good to use includetrim=true when you want to include chapter content with mode=userformat ?


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.

This is a random sentence. 1. This is a chapter. 1. 2008-04-07 05:03:20
This is a random sentence. 2. This is a chapter. 2. 2008-04-07 05:04:08
This is a random sentence. 3. This is a chapter. 3. 2008-04-07 05:04:50