Template:RP Logs: Difference between revisions
From X-Men: rEvolution
Jump to navigationJump to search
No edit summary Tag: Reverted |
Tag: Undo |
||
Line 16: | Line 16: | ||
| category=RP Logs | | category=RP Logs | ||
| linksto={{{name|{{BASEPAGENAME}}}}} | | linksto={{{name|{{BASEPAGENAME}}}}} | ||
| includematch=/\{{!}}\s*cast\s*=[^=]*{{BASEPAGENAME}}.*\{{!}}\s*gamedate\s*=\s*\d{4}\-\d{2}\-\d{2}/si | | includematch=/\{{!}}\\s*(cast\s*=[^=]*{{BASEPAGENAME}}.|mentions\s*=[^=]*{{BASEPAGENAME}}.)*\{{!}}\s*gamedate\s*=\s*\d{4}\-\d{2}\-\d{2}/si | ||
| include={Logs}:gamedate:[[%PAGE%|%TITLE%]]:cast:mentions | | include={Logs}:gamedate:[[%PAGE%|%TITLE%]]:cast:mentions | ||
| format= ,\n* (%gamedate%) [[%PAGE%|%TITLE%]] cast,, mentions,, | | format= ,\n* (%gamedate%) [[%PAGE%|%TITLE%]] cast,, mentions,, |
Latest revision as of 20:44, 27 June 2024
How to include a dynamic log list in your page: |
---|
{{ RP Logs | name = {{BASEPAGENAME}} | columns = 3 | ordermethod = gamedate }} To retrieve archived logs, add the parameter "namespace" as follows: {{ RP Logs | name = {{BASEPAGENAME}} | columns = 3 | ordermethod = gamedate | namespace = ArchivedLogs }} |