Difference between revisions of "Template:PrettyLogsAll"

From NorCon MUSH
(Created page with "{{#dpl: | namespace=Logs | linksto={{{name|{{BASEPAGENAME}} }}} | includematch=/\{{!}}\s*gamedate\s*=\s*\d{4}\.\d{2}\.\d{2}/si | include={Log}:gamedate:%TITLE% | fo...")
 
Line 1: Line 1:
 
{{#dpl:
 
{{#dpl:
 
| namespace=Logs
 
| namespace=Logs
| linksto={{{name|{{BASEPAGENAME}} }}}
 
 
| includematch=/\{{!}}\s*gamedate\s*=\s*\d{4}\.\d{2}\.\d{2}/si
 
| includematch=/\{{!}}\s*gamedate\s*=\s*\d{4}\.\d{2}\.\d{2}/si
| include={Log}:gamedate:[[%PAGE%|%TITLE%]]
+
| include={Log}:gamedate,[[%PAGE%|%TITLE%]],{Log}:who,{Log}:when,{Log}:what,{Log}:where
| format= ,\n* (%gamedate%) [[%PAGE%|%TITLE%]],,
+
 
| category=RP Logs
 
| category=RP Logs
 +
|notcategory=Plot Summary Logs
 
| ordermethod=sortkey
 
| ordermethod=sortkey
 
| order=descending
 
| order=descending
|format=,<h3>,<br><br>,
+
|format=,<font size="2">''',<br><br>,
|secseparators=,:,  [[%PAGE%|%TITLE%]],</h3>'''Who: ''',,<br>'''When: ''',,<br>'''What: ''',,<br>'''Where: '''
+
|secseparators=,:,  [[%PAGE%|%TITLE%]],</font>'''<br>'''Who: ''',,<br>'''When: ''',,<br>'''What: ''',,<br>'''Where: '''
|count        = {%DPL_count:20%}
+
|noresultsheader=''No logs have been posted yet.''
 +
|resultsheader=''%PAGES% of %TOTALPAGES% logs''<br>
 +
|count        = {%DPL_count:10%}
 
|offset = {%DPL_offset:0%}
 
|offset = {%DPL_offset:0%}
 
| resultsheader = ²{Scroll¦total=%TOTALPAGES%¦offset={%DPL_offset:0%}¦count={%DPL_count:20%}¦page={{FULLPAGENAME}}\Logs }²\n
 
| resultsheader = ²{Scroll¦total=%TOTALPAGES%¦offset={%DPL_offset:0%}¦count={%DPL_count:20%}¦page={{FULLPAGENAME}}\Logs }²\n
 
| resultsfooter = ²{Scroll¦total=%TOTALPAGES%¦offset={%DPL_offset:0%}¦count={%DPL_count:20%}¦page={{FULLPAGENAME}}\Logs }²\n
 
| resultsfooter = ²{Scroll¦total=%TOTALPAGES%¦offset={%DPL_offset:0%}¦count={%DPL_count:20%}¦page={{FULLPAGENAME}}\Logs }²\n
 
| noresultsheader=''No logs have been posted yet.''
 
| noresultsheader=''No logs have been posted yet.''
 +
| linksto = {{{name}}}
 
}}
 
}}

Revision as of 10:35, 23 May 2013

Extension:DynamicPageList (DPL), version 2.3.0 : Error: Wrong 'linksto' parameter: '{{{name}}}'! Help: linksto= full pagename.