Template:TalkList: Difference between revisions

From ChoralWiki
Jump to navigation Jump to search
(tabular format, now defaults to talks within the last year)
(new template to generate most recent discussions on talk pages in namespaces other than Main)
Line 1: Line 1:
<includeonly>=={{{2|{{{1|Category missing}}}}}}==
<includeonly>
{{#dpl: articlecategory = {{{1|None}}}
=={{{1|User}}} talk pages==
|namespace = Talk
{{#dpl: namespace = {{{1|User}}}_talk
|shownamespace = false
|shownamespace = false
|ordermethod = lastedit
|ordermethod = lastedit
Line 7: Line 7:
|addeditdate = true
|addeditdate = true
|userdateformat = Y-m-d, H:i
|userdateformat = Y-m-d, H:i
|format = \n{¦class="wikitable sortable" \n!Last edited on !!Talk page of !!Edited by, \n¦-\n¦%DATE% ¦¦[[Talk:%TITLE%|%TITLE%]] ¦¦[[User:%USER%|%USER%]],, \n¦}
|format = \n{¦class="wikitable sortable" \n!Last edited on !!Talk page of !!Edited by, \n¦-\n¦%DATE% ¦¦[[{{{1|User}}} talk:%TITLE%|%TITLE%]] ¦¦[[User:%USER%|%USER%]],, \n¦}
|allrevisionssince = {{{since|{{#expr:{{CURRENTYEAR}}-1}}{{CURRENTMONTH}}{{CURRENTDAY2}}}}}
|allrevisionssince = {{{since|{{#expr:{{CURRENTYEAR}}-1}}{{CURRENTMONTH}}{{CURRENTDAY2}}}}}
|order = descending
|order = descending
Line 14: Line 14:
}}</includeonly><noinclude>
}}</includeonly><noinclude>
;Usage:
;Usage:
*<tt><nowiki>{{DiscussionsList|«page_category»|«optional_header»|since=«optional_date»}}</nowiki></tt>
*<tt><nowiki>{{TalkList|«Namespace»|since=«optional_date»}}</nowiki></tt>


Where «optional_date» may be just <tt>YYYY</tt>, <tt>YYYYMM</tt>, or <tt>YYYYMMDD</tt>. If not informed, the template will display all discussions created or replied to in the last year.
Where «optional_date» may be just <tt>YYYY</tt>, <tt>YYYYMM</tt>, or <tt>YYYYMMDD</tt>. If not informed, the template will display all discussions created or replied to in the last year.

Revision as of 01:47, 7 May 2010

Usage
  • {{TalkList|«Namespace»|since=«optional_date»}}

Where «optional_date» may be just YYYY, YYYYMM, or YYYYMMDD. If not informed, the template will display all discussions created or replied to in the last year.