Template:RP Logs: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| (6 intermediate revisions by one other user not shown) | |||
| Line 2: | Line 2: | ||
__NOTOC__== Usage == | __NOTOC__== Usage == | ||
<pre> | <pre> | ||
{{ | {{ RP Logs | ||
| name = | | name = | ||
| columns = | | columns = | ||
| Line 12: | Line 12: | ||
=== Example === | === Example === | ||
<pre> | <pre> | ||
{{ | {{ RP Logs | ||
| name = Gwen | | name = Gwen | ||
| columns = 500 | | columns = 500 | ||
| Line 18: | Line 18: | ||
</pre> | </pre> | ||
</noinclude><includeonly> | </noinclude><includeonly> | ||
{{#dpl: | {{#dpl: | ||
| category=RP_Logs | | category=RP_Logs | ||
| Line 24: | Line 23: | ||
| 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* | | format= ,\n* | ||
| order=ascending | | order=ascending | ||
| columns={{{columns|4}}} | |||
| columns={{{columns| | |||
| rowcolformat=width=100% | | rowcolformat=width=100% | ||
| noresultsheader=''No logs have been posted yet.'' | | noresultsheader=''No logs have been posted yet.'' | ||
}} | }} | ||
</includeonly><noinclude> | </includeonly><noinclude> | ||
[[Category:Templates]]</noinclude> | [[Category:Templates]]</noinclude> | ||
Latest revision as of 21:10, 7 June 2013
Usage
{{ RP Logs
| name =
| columns =
}}
This template will automatically add all logs which link to the page referenced in "name".
Example
{{ RP Logs
| name = Gwen
| columns = 500
}}