Template:TalkList: Difference between revisions

From ChoralWiki
Jump to navigation Jump to search
No edit summary
mNo edit summary
 
(3 intermediate revisions by the same user not shown)
Line 7: Line 7:
|addeditdate = true
|addeditdate = true
|userdateformat = [[:\C\a\t\e\g\o\r\y:Y-m-d|Y-m-d]], H:i
|userdateformat = [[:\C\a\t\e\g\o\r\y:Y-m-d|Y-m-d]], H:i
|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%]]-{{REVISIONUSER:%PAGE%}},, \n¦}
|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}}}}}
|allrevisionssince = {{{since|{{#expr:{{CURRENTYEAR}}-1}}{{CURRENTMONTH}}{{CURRENTDAY2}}}}}
|order = descending
|order = descending
Line 17: Line 18:
*<tt><nowiki>{{TalkList|ns=«namespace»|cat=«page_category»|hd=«optional_header»|since=«optional_date»}}</nowiki></tt>
*<tt><nowiki>{{TalkList|ns=«namespace»|cat=«page_category»|hd=«optional_header»|since=«optional_date»}}</nowiki></tt>


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 year.
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]]
[[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.