Difference between revisions of "Template:RP Logs"

From NorCon MUSH
Line 14: Line 14:
 
}
 
}
 
}}
 
}}
<includeonly>{{#ifeq: {{{ordermethod}}} | gamedate |
+
<includeonly>
 
{{ #dpl:
 
{{ #dpl:
 
| namespace=Logs
 
| namespace=Logs
Line 30: Line 30:
 
| rowcolformat=width=100%
 
| rowcolformat=width=100%
 
| noresultsheader=''No logs have been posted yet.''
 
| noresultsheader=''No logs have been posted yet.''
}}
 
|
 
{{ #dpl:
 
| userdateformat=(y.m.d)
 
| namespace=Logs
 
| linksto={{{name|{{BASEPAGENAME}} }}}
 
| ordermethod=firstedit
 
| addeditdate=true
 
| shownamespace=false
 
| columns={{{columns|3}}}
 
| rowcolformat=width=100%
 
| noresultsheader=''No logs have been posted yet.''
 
}}
 
 
}}</includeonly><noinclude>
 
}}</includeonly><noinclude>
 
{|
 
{|

Revision as of 05:56, 20 September 2011


How to include a dynamic log list in your page:
{{ RP Logs | name = Eugene | 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.