Difference between revisions of "Template:RP Logs"

From Fate's Harvest
Jump to: navigation, search
Line 1: Line 1:
 
<css>
 
<css>
#content table.wikitable{
+
.logtable{
 
border: 0;
 
border: 0;
 
margin: auto;
 
margin: auto;
 
background: transparent;
 
background: transparent;
 
}
 
}
#content table.wikitable th, #content table.wikitable td {
+
.logtable th, #content table.wikitable td {
 
border: 0;
 
border: 0;
 
background: transparent;
 
background: transparent;
 
}
 
}
table.wikitable ul {
+
.logtable ul {
 
margin-top: 0;
 
margin-top: 0;
 
}
 
}
Line 21: Line 21:
 
| ordermethod=sortkey
 
| ordermethod=sortkey
 
| order=descending
 
| order=descending
| table=,-,
+
| table=class=logtable,-,
 
| tablesortcol=1
 
| tablesortcol=1
 
| tablerow=\n* (%%),%%
 
| tablerow=\n* (%%),%%
Line 37: Line 37:
 
| ordermethod=sortkey
 
| ordermethod=sortkey
 
| order=ascending
 
| order=ascending
| table=class=wikitable,-,
+
| table=class=logtable,-,
 
| tablesortcol=1
 
| tablesortcol=1
 
| tablerow=\n* (%%),%%
 
| tablerow=\n* (%%),%%

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