Template:RP Logs: Difference between revisions

From Star Crusade MUX
Jump to navigation Jump to search
Lyov (talk | contribs)
No edit summary
Lyov (talk | contribs)
No edit summary
Line 20: Line 20:


{{#dpl: category=RP_Logs  
{{#dpl: category=RP_Logs  
| linksto={{{name|{{BASEPAGENAME}} }}}  
| linksto={{{name|{{BASEPAGENAME}} }}}
| ordermethod=firstedit
| 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%]]
| format= \n* (%Gamedate%) [[%PAGE%|%TITLE%]],,
| format= ,\n* (%gamedate%) [[%PAGE%|%TITLE%]],,
| addeditdate=false
| ordermethod=sortkey
| userdateformat= '''d/m/y:'''
| order=ascending
| shownamespace=false
| table=,-,
| noresultsheader=\n''No logs yet.''
| tablesortcol=1
| columns={{{columns|2}}}  
| tablerow=\n* (%%),%%
| rowcolformat=width=100%}}
| columns={{{columns|3}}}
| rowcolformat=width=100%
| noresultsheader=''No logs have been posted yet.''


</includeonly><noinclude>
</includeonly><noinclude>
[[Category:Templates]]</noinclude>
[[Category:Templates]]</noinclude>

Revision as of 11:29, 20 December 2012

Usage

{{ RPlogs
| name = 
| columns = 
}}

This template will automatically add all logs which link to the page referenced in "name".

Example

{{ RPlogs
| name = Gwen
| columns = 500
}}