Template talk:Dosanddonts

(Redirected from Template talk:Dosanddonts/sandbox)
Latest comment: 2 years ago by Swpb in topic See also

Automatic categorization

Would it make sense to categorize project pages which use {{Dosanddonts}} automatically into Category:Wikipedia dos and don'ts? —⁠andrybak (talk) 16:33, 15 March 2020 (UTC)Reply

Sure. —swpbT • go beyond • bad idea 21:40, 18 March 2020 (UTC)Reply
Swpb, it turns out the automatic categorization is already present. I assumed there wasn't one because I saw manual categorization in some pages in the category (e.g. Wikipedia:Accessibility dos and don'ts), but they actually don't use the template. Is there a particular reason to not use the template on every such page to keep them uniform? —⁠andrybak (talk) 10:19, 19 March 2020 (UTC)Reply
WP:AccDD, for one, is formatted differently in accordance with its own content, which the template isn't currently equipped to handle. I made the template so other users would have an easier time of making new DD pages that look like the current ones (although no one but me has used it so far), but there's no reason to require it. What's important is that all the DD pages are in the category, either manually or automatically. —swpbT • go beyond • bad idea 18:50, 19 March 2020 (UTC)Reply

Doc suggestion

Documentation section Example output could be rewritten using Template:Parameter names example:

How {{Parameter names example}} would look

{{{main}}}

{{{caption}}}
DO:
  {{{do1}}}
  {{{do2}}}
  {{{do3}}}
  {{{do4}}}
  {{{do5}}}
  {{{do6}}}
  {{{do7}}}
  {{{do8}}}
  {{{do9}}}
  {{{do10}}}
DON'T:
  Don't {{{dont1}}}
  Don't {{{dont2}}}
  Don't {{{dont3}}}
  Don't {{{dont4}}}
  Don't {{{dont5}}}
  Don't {{{dont6}}}
  Don't {{{dont7}}}
  Don't {{{dont8}}}
  Don't {{{dont9}}}
  Don't {{{dont10}}}

Also:

Do consider joining [[Wikipedia:{{{project}}}|{{{project}}}]].

See also

{{{seealso}}}


Look of {{Dosanddonts}} doesn't change much, but the current implementation requires maintenance. {{Parameter names example}} requires only updating the list of possible parameters. Thoughts? —⁠andrybak (talk) 22:42, 20 March 2020 (UTC)Reply

Good call, done. —swpbT • go beyond • bad idea 18:48, 27 December 2021 (UTC)Reply