|
|
Line 1: |
Line 1: |
| ===Show the first and third chapter of each ''Fictitious country'':=== | | ===Show the first and third chapter of each ''Fictitious country'':=== |
− | Using standard output format, cut the text after 40 charcters ...
| |
− | <dpl>
| |
− | resultsheader=__NOTOC__
| |
− | category=Fictitious country
| |
− | include=%1[40],%3
| |
− | secseparators=<br>
| |
− | </dpl>
| |
− |
| |
− | ===Show the first and third chapter of each ''Fictitious country'':===
| |
− | Using standard output format with %SECTION% so that we see the headline.
| |
− | We can even generate hyperlinks to the chapters ...<br>
| |
− | Note that we get an entry also if the specified chapter is missing.
| |
− | <dpl>
| |
− | resultsheader=__NOTOC__
| |
− | category=Fictitious country
| |
− | include=%1,%3
| |
− | secseparators=\n=====[[%PAGE%#%SECTION%|%SECTION%]]=====\n
| |
− | </dpl>
| |
− |
| |
− | ===Show the first and third chapter of each ''Fictitious country'':===
| |
− | We could also use mode=userformat for more flexible formatting ..
| |
− | <dpl>
| |
− | resultsheader=__NOTOC__
| |
− | category=Fictitious country
| |
− | include=%1,%3
| |
− | mode=userformat
| |
− | listseparators=,\n=[[%PAGE%]]=\n<div>,</div>
| |
− | secseparators=\n=====[[%PAGE%#%SECTION%|%SECTION%]]=====\n
| |
− | </dpl>
| |
− |
| |
− | ===Show the first and third chapter of each ''Fictitious country'':===
| |
− | If we do not use %SECTION% missing chapters will be skipped.
| |
− | <dpl>
| |
− | resultsheader=__NOTOC__
| |
− | category=Fictitious country
| |
− | include=%1,%3
| |
− | mode=userformat
| |
− | listseparators=,\n* <big>[[%PAGE%]]</big>\n<div>,</div>
| |
− | secseparators=\n<br>
| |
− | </dpl>
| |