Template:RP Logs: Difference between revisions

From X-Men: rEvolution
Jump to navigationJump to search
(Undo revision 22893 by Polymerase (talk))
Tag: Undo
(Switch to new CSS)
 
Line 1: Line 1:
<css>
{{ #css:
#content table.wikitable{
  #content table.wikitable{
border: 0;
  border: 0;
margin: -1.1em 0 0 -12px;
  margin: -1.1em 0 0 -12px;
}
  }
#content table.wikitable th, #content table.wikitable td {
  #content table.wikitable th, #content table.wikitable td {
border: 0;
  border: 0;
background: transparent;
  background: transparent;
}
  }
table.wikitable ul {
  table.wikitable ul {
margin-top: 0;
  margin-top: 0;
}
  }
</css><includeonly>{{#ifeq: {{{ordermethod}}} | gamedate |
}}<includeonly>{{#ifeq: {{{ordermethod}}} | gamedate |
{{ #dpl:
{{ #dpl:
| namespace={{{namespace|Logs}}}
| namespace={{{namespace|Logs}}}

Latest revision as of 23:29, 20 February 2022

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 }}