Template:RP Logs: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 19: | Line 19: | ||
</noinclude><includeonly> | </noinclude><includeonly> | ||
{{#ifeq: {{{ordermethod}}} | gamedate | | {{#ifeq: {{{ordermethod}}} | gamedate | | ||
{{#dpl: category=RP_Logs | linksto={{{name|{{BASEPAGENAME}}}}} | ordermethod=firstedit | includematch=/\{{!}}\s*gamedate\s*=\s*\d{4}\.\d{2}\.\d{2}/si| format= ,\n* (%gamedate%) [[%PAGE%|%TITLE%]],, |addeditdate=false | userdateformat= '''d/m/y:'''| | {{#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> | 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:28, 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
}}