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)
Undo revision 1182 by Lyov (talk)
Line 19: Line 19:
</noinclude><includeonly>
</noinclude><includeonly>
{{#dpl: category=RP_Logs | linksto={{{name|{{BASEPAGENAME}}}}} | ordermethod=firstedit | addeditdate=false |  
{{#dpl: category=RP_Logs | linksto={{{name|{{BASEPAGENAME}}}}} | ordermethod=firstedit | addeditdate=false |  
shownamespace=false | noresultsheader=\n''No logs yet.'' | columns={{{columns|2}}} | rowcolformat=width=100%| includematch=/\{{!}}\s*gamedate\s*=\s*\d{4}\.\d{2}\.\d{2}/si
shownamespace=false | noresultsheader=\n''No logs yet.'' | columns={{{columns|2}}} | rowcolformat=width=100%|| 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%]],,}}</includeonly><noinclude>
| format= ,\n* (%gamedate%) [[%PAGE%|%TITLE%]],,}}</includeonly><noinclude>
[[Category:Templates]]</noinclude>
[[Category:Templates]]</noinclude>

Revision as of 10:07, 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
}}