Difference between revisions of "Template:RP Logs"

From Fate's Harvest
Jump to: navigation, search
Line 1: Line 1:
<includeonly>{{#switch: {{{order}}} | descending =
+
<css>
 +
#content table.log{
 +
border: 0;
 +
margin: -1.1em 0 0 -12px;
 +
background: transparent;
 +
}
 +
#content table.log th, #content table.log td {
 +
border: 0;
 +
background: transparent;
 +
}
 +
table.log ul {
 +
margin-top: 0;
 +
}
 +
</css><includeonly>{{#switch: {{{order}}} | descending =
 
{{ #dpl:
 
{{ #dpl:
 
| category=RP Logs
 
| category=RP Logs
Line 6: Line 19:
 
| include={Log}:gamedate:[[%PAGE%|%TITLE%]]
 
| include={Log}:gamedate:[[%PAGE%|%TITLE%]]
 
| order=descending
 
| order=descending
| table=class="wikitable sortable",-,
+
| table=class="table log",-,
 
| tablesortcol=1
 
| tablesortcol=1
 
| tablerow=\n* (%%),%%
 
| tablerow=\n* (%%),%%
Line 20: Line 33:
 
| ordermethod=sortkey
 
| ordermethod=sortkey
 
| order=ascending
 
| order=ascending
| table=class="wikitable sortable",-,
+
| table=class="table log",-,
 
| tablesortcol=1
 
| tablesortcol=1
 
| tablerow=\n* (%%),%%
 
| tablerow=\n* (%%),%%

Revision as of 21:50, 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.