Difference between revisions of "Template:RP Logs"

From NorCon MUSH
 
(22 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
{{#css:
 
{{#css:
 +
 +
table {
 +
margin-top: 20px;
 +
background-color: inherit !important;
 +
}
 +
 
#content table.wikitable{
 
#content table.wikitable{
 
border: 0;
 
border: 0;
 
margin: -1.1em 0 0 -12px;
 
margin: -1.1em 0 0 -12px;
 +
width=100%;
 
}
 
}
 
#content table.wikitable th, #content table.wikitable td {
 
#content table.wikitable th, #content table.wikitable td {
Line 11: Line 18:
 
}
 
}
 
}}
 
}}
 
 
<includeonly>
 
<includeonly>
 +
 
{{ #dpl:
 
{{ #dpl:
 
| namespace=Logs
 
| namespace=Logs
Line 25: Line 32:
 
| tablerow=\n* (%%),%%
 
| tablerow=\n* (%%),%%
 
| columns={{{columns|3}}}
 
| columns={{{columns|3}}}
| rowcolformat=width=95%
+
| rowcolformat=width=100%
 
| noresultsheader=''No logs have been posted yet.''
 
| noresultsheader=''No logs have been posted yet.''
 
}}</includeonly><noinclude>
 
}}</includeonly><noinclude>

Latest revision as of 07:00, 24 March 2015


How to include a dynamic log list in your page:
{{ RP Logs | name = Eugene | columns = 3 | order = ascending|descending}}

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.