Difference between revisions of "Template:RP Logs"

From Fate's Harvest
Jump to: navigation, search
Line 2: Line 2:
 
<dpl>
 
<dpl>
 
  category=RP Logs
 
  category=RP Logs
  linksto=[[{{PAGENAME}}]]
+
  linksto={{FULLPAGENAME}}
 
  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%]]
Line 18: Line 18:
 
<dpl>
 
<dpl>
 
  category=RP Logs
 
  category=RP Logs
  linksto=[[{{PAGENAME}}]]
+
  linksto={{FULLPAGENAME}}
 
  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%]]

Revision as of 21:19, 10 June 2016

How to include a dynamic log list in your page:
{{ RP Logs | columns = 2 | order = ascending }}

Please insert the above into your character page to populate RP logs. This template will automatically pull all logs that link to your character page. Input the number of columns you want to appear, and "ascending" or "descending" to control if the logs appear oldest first, or newest first.