Template:RP Logs: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
| (33 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 | ||
| linksto={{{name|{{BASEPAGENAME}} }}} | | linksto={{{name|{{BASEPAGENAME}} }}} | ||
| 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=, | | format= ,\n* | ||
| order=ascending | |||
| | | columns={{{columns|4}}} | ||
| rowcolformat=width=100% | |||
| noresultsheader=''No logs have been posted yet.'' | |||
| columns={{{columns| | }} | ||
| rowcolformat=width=100%}} | |||
</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
}}