Difference between revisions of "Template:RPLogs"

From Carpe Noctem
Jump to: navigation, search
(Created page with "<includeonly> {{#ifeq: {{{ordermethod}}} | gamedate | {{ #dpl: | namespace=Log | category=RP Logs | linksto={{{name|{{BASEPAGENAME}} }}} | include={Log}:gamedate:%PAGE%|%TIT...")
 
 
Line 32: Line 32:
  
 
How to include a dynamic log list in your page:
 
How to include a dynamic log list in your page:
| <pre>
+
<pre>
 
{{ RPLogs | name = Sue | columns = 1 | ordermethod = gamedate }}
 
{{ RPLogs | name = Sue | columns = 1 | ordermethod = gamedate }}
 
</pre>
 
</pre>

Latest revision as of 17:30, 4 January 2018


How to include a dynamic log list in your page:

{{ RPLogs | name = Sue | columns = 1 | ordermethod = gamedate }}

The name, column and ordermethod parameters are optional. Name will default to the title of the page and columns will default to one. Ordermethod is less self-explanatory. It takes the values "date" and "gamedate" and determines whether the logs will be sorted by date of posting or the date of the IC events stipulated in the log. Logs without a proper gamedate value will not show up if the latter option is selected. If ordermethod is malformed or unspecified, the logs will be automatically organized by the date of posting.