Template:RP Logs: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 17: | Line 17: | ||
}} | }} | ||
</pre> | </pre> | ||
</noinclude><includeonly>{{#ifeq: {{{ordermethod}}} | gamedate | | </noinclude><includeonly> | ||
{{#dpl: category=RP_Logs | linksto={{{name|{{BASEPAGENAME}} }}} | ordermethod=firstedit | includematch=/\{{!}}\s*gamedate\s*=\s*\d{4}\.\d{2}\.\d{2}/si| include={log}:gamedate:[[%PAGE%|%TITLE%]]| format= ,\n* (%gamedate%) [[%PAGE%|%TITLE%]],,| addeditdate=false | userdateformat= '''d/m/y:'''| | |||
shownamespace=false | noresultsheader=\n''No logs yet.'' | columns={{{columns|2}}} | rowcolformat=width=100%}}</includeonly><noinclude> | {{#ifeq: {{{ordermethod}}} | gamedate | | ||
{{#dpl: category=RP_Logs | |||
| linksto={{{name|{{BASEPAGENAME}} }}} | |||
| ordermethod=firstedit | |||
| includematch=/\{{!}}\s*gamedate\s*=\s*\d{4}\.\d{2}\.\d{2}/si | |||
| include={log}:gamedate:[[%PAGE%|%TITLE%]]| format= ,\n* (%gamedate%) [[%PAGE%|%TITLE%]],, | |||
| addeditdate=false | |||
| userdateformat= '''d/m/y:''' | |||
| shownamespace=false | |||
| noresultsheader=\n''No logs yet.'' | |||
| columns={{{columns|2}}} | |||
| rowcolformat=width=100%}} | |||
}} | |||
</includeonly><noinclude> | |||
[[Category:Templates]]</noinclude> | [[Category:Templates]]</noinclude> | ||
Revision as of 10:41, 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
}}