Template:comic discussion/doc
|
This documentation page is transcluded inside Template:comic discussion as its documentation, so everyone can edit it. |
The template {{comic discussion}} has an associated sandbox, available at {{comic discussion/sandbox}}. See also {{comic}} and {{comic/sandbox}}.
Usage[edit]
|
This template is compatible |
This template is used to embed the talk page at the bottom of every explanation. On every page other than the MediaWiki:mainpage, it prints quick action buttons (such as add a comment), a "Discussion" heading, and a box transcluding the page's talk page, or a prompt to start one.
Explanation Improvement Project tracking[edit]
This template also records the status and outcome of a page's nomination for This Week's Explanation for Improvement (TWEFI), using the following optional parameters:
twefi, eithercurrent(the explanation is currently featured as This Week's Explanation for Improvement),yes(a past nomination went ahead and this page was featured), orno(the nomination did not go ahead).featured, the month and year when the explanation was selected/featured (such asNovember 2026), shown in the notice fortwefi=currentandtwefi=yes.date, the month and year of the nomination, such asNovember 2026, matching a section anchor on the project page. Required once a nominated explanation has either been selected (twefi=yes) or failed (twefi=no), and optional whentwefi=current.user, optional username of the editor who nominated the explanation.oldandnew, optional permanent revision IDs shown as a link in the talk page banner to illustrate how much the explanation changed. Any combination works: if both are given, a diff link between the two revisions is shown; if only one is given, a permanent link to that revision is shown instead.|1=through|10=, optional improvement suggestions shown as a collapsible iconed list inside the talk page banner, in the same format as {{incomplete}}. The list is collapsed by default. At least|1=must be given for the list to appear.
Behavior summary:
- If
twefi=currentis given on 160: Penny Arcade Parody, the discussion box and buttons turn green, a green borderless notice with a gold star is added above the discussion box using present-week wording, the page is added to Category:Successful nominations for This Week's Explanation for Improvement, and a gold star indicator is added next to the page title. - If
twefi=yesanddateare both given, the discussion box stays its normal blue, a green borderless notice recording the successful week (and optionalfeatureddate) is added above it, the page is added to Category:Successful nominations for This Week's Explanation for Improvement, and a small green star indicator is added next to the page title. - If
twefi=noanddateare both given, the discussion box stays its normal blue, a grey borderless notice is added above it instead, the page is added to Category:Unsuccessful nominations for This Week's Explanation for Improvement, and a grey star indicator is added next to the page title. - If
dateis omitted fortwefi=yesortwefi=no, or iftwefiis anything other thancurrent,yes, orno, a red warning asks the editor to fix the template parameters. - If the page is currently 160: Penny Arcade Parody and
twefi=currentisn't given (or iftwefi=currentis left on a mainspace page that is no longer 160: Penny Arcade Parody), a red warning asks the editor to update the template. - Otherwise, nothing happens.
Examples[edit]
See an example of how it works in explain xkcd:This Week's Explanation for Improvement: 160: Penny Arcade Parody. And see how it works on a previous successful (380: Emoticon) or unsuccessful (unixkcd) nomination.
=== Current TWEFI ===
{{:{{TWEFI}}}}
=== Past successful TWEFI ===
{{:380: Emoticon}}
=== Past unsuccessful TWEFI ===
{{:1975: Right Click}}