Template:RP Logs: Difference between revisions

From X-Men: rEvolution
Jump to navigationJump to search
No edit summary
Tag: Reverted
(Undo revision 27247 by Borg (talk))
Tag: Undo
Line 24: Line 24:
| tablesortcol=0
| tablesortcol=0
| tablerow=\n* (%%),%%
| tablerow=\n* (%%),%%
| columns={{{columns|3}}}
| rowcolformat=width=100%
| noresultsheader=''No logs have been posted yet.''
| resultsheader      = ²{Extension DPL Continue¦total=%TOTALPAGES%¦offset={%DPL_offset:0%}¦count={%DPL_count:50%}¦page={{PAGENAME}}}²\n
| resultsfooter      = ²{Extension DPL Continue¦total=%TOTALPAGES%¦offset={%DPL_offset:0%}¦count={%DPL_count:50%}¦page={{PAGENAME}}}²\n
| count = {%DPL_count:50%}
| dplcache = {{BASEPAGENAME}}/{{{namespace|Logs}}}/offset/{%DPL_offset:%}
| dplcacheperiod = 900
}}
}}
|
|

Revision as of 02:18, 27 June 2024

How to include a dynamic log list in your page:
{{ RP Logs | name = {{BASEPAGENAME}} | columns = 3 | ordermethod = gamedate  }}

The name, column and ordermethod parameters are optional. Name will default to the title of the page and columns will default to three. 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 malformed or unspecified, the logs will be automatically organized by the date of posting. To retrieve archived logs, add the parameter "namespace" as follows:

{{ RP Logs | name = {{BASEPAGENAME}} | columns = 3 | ordermethod = gamedate | namespace = ArchivedLogs }}