Template:TalkList: Difference between revisions

From ChoralWiki
Jump to navigation Jump to search
m (resultsheader)
mNo edit summary
 
(25 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>{{#dpl: articlecategory = {{{1|None}}}
<includeonly>=={{{hd|{{{cat|{{{ns|}}} talk pages}}}}}}==
|namespace = Talk
{{#dpl: articlecategory = {{{cat|}}}
|namespace = {{anchorencode:{{ucfirst:{{{ns|}}} talk}}}}
|shownamespace = false
|shownamespace = false
|ordermethod = lastedit
|ordermethod = lastedit
|addlasteditor = true
|addlasteditor = true
|addeditdate = true
|addeditdate = true
|userdateformat = Y-m-d at H:i . .
|userdateformat = [[:\C\a\t\e\g\o\r\y:Y-m-d|Y-m-d]], H:i
|mode = userformat
|format = \n{¦width=100% class="wikitable sortable" \n! width="120px"¦ Last edited on !!Talk page of \n! width="160px"¦ Edited by, \n¦-\n¦ align=center¦ %DATE% ¦¦[[%PAGE%|%TITLE%]] ¦¦[[User:%USER%|%USER%]],, \n¦}
|allrevisionssince = {{{since|{{#expr:{{CURRENTYEAR}}-1}}{{CURRENTMONTH}}{{CURRENTDAY2}}}}}
|order = descending
|order = descending
|resultsheader = \n=={{{2|{{{1}}}}}}==\n
|noresultsheader = No discussions found.
|noresultsheader = \n=={{{2|{{{1|Category missing}}}}}}==\nNo discussions found for articles in category {{{1|(not informed)}}}.
|allowcachedresults = true
|allowcachedresults = true
}}</includeonly><noinclude>
}}</includeonly><noinclude>
{{Doc|text=
;Usage:
;Usage:
*<tt><nowiki>{{DiscussionsList|«page_category»|«optional_header»}}</nowiki></tt>
*<tt><nowiki>{{TalkList|ns=«namespace»|cat=«page_category»|hd=«optional_header»|since=«optional_date»}}</nowiki></tt>


[[Category:Templates|{{PAGENAME}}]]
If not specified, «namespace» defaults to Talk. The «optional_date» is a string in the format <tt>YYYY</tt>, <tt>YYYYMM</tt>, or <tt>YYYYMMDD</tt>. If not specified, the template will display discussions created or replied to in the last 12 months.
}}
[[Category:DPL templates]]
</noinclude>
</noinclude>

Latest revision as of 05:21, 9 December 2020


Documentation
Usage
  • {{TalkList|ns=«namespace»|cat=«page_category»|hd=«optional_header»|since=«optional_date»}}

If not specified, «namespace» defaults to Talk. The «optional_date» is a string in the format YYYY, YYYYMM, or YYYYMMDD. If not specified, the template will display discussions created or replied to in the last 12 months.