Template:comic discussion/sandbox
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 three quick action buttons (add a comment, start a new topic, and refresh), a "Discussion" heading, and a box transcluding the page's talk page, or a prompt to start one.
The template {{comic discussion}} has an associated sandbox, available at {{comic discussion/sandbox}}. See also {{comic}} and {{comic/sandbox}}.
Explanation Improvement Project tracking[edit]
This template also records the outcome of a page's nomination for This Week's Explanation for Improvement (twefi), using two optional parameters:
date, a month and year such asAugust 2026, matching a section anchor on the project page.twefi, eitheryes(the nomination went ahead and this page was featured) orno(the nomination did not go ahead).
Both are expected to be set once a nominated explanation has either been selected or failed.
This tracking is currently limited, on purpose, to the single test page 395: Morning, so the feature can be checked before being rolled out to every comic. On that page only:
- if
twefi=yesanddateare both given, the discussion box turns green, a green, borderless notice recording the successful week is added below it, the page is added to Category:Successful nominations for This Week's Explanation for Improvement, and a small star indicator linking to explain xkcd:Explanation Improvement Project#Past successful nominations 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 below it instead, the page is added to Category:Unsuccessful nominations for This Week's Explanation for Improvement, and the star indicator links to explain xkcd:Explanation Improvement Project#Unsuccessful nominations Instead. - if only 1 parameter is given or
twefiis anything other thanyesorno, a red warning asks the editor to fix the template parameters. - If the page is currently the TWEFI and these parameters aren't given, a red warning asks the editor to add them.
- Otherwise, nothing happens.
See an example of how it works in explain xkcd:This Week's Explanation for Improvement: 395: Morning. And see how it works on a previous successful ([[]]) or unsuccessful ([[]]) nomination.
Add comment
Create topic (use sparingly)
Refresh
Discussion
This is a test. --FaviFake (talk) 14:21, 25 April 2025 (UTC)
Bug Fix[edit]
This template exists to fix a bug where headers will not render if they're the first thing on the discussion page. -- RouterIncident (talk) 15:31, July 25, 2013 (UTC) (please sign your comments with ~~~~)
Separate template[edit]
Does this really need its own template? -- Mikemk (talk) 04:37, March 21, 2016 (UTC) (please sign your comments with ~~~~)
- Nope! I turned it into a sandbox. --FaviFake (talk) 14:21, 25 April 2025 (UTC)
Add comment