69

This question suggested to have templates for tags. Their example was with the tag on Stack Overflow.

I'm suggesting a more general approach:

Templates, Mark II

I suggest that each site will have a template. That template will prefill the textbox when a new question is asked. However, it will be completely optional.

Something like (for Stack Overflow):

## The Problem ##
{ Please tell us what the problem is with as many details as possible.
  Include language, operating system, and any other relevant information.
  Remember to add the relevant tags below, too. }
## Attempted Solutions ##
{ Please tell us what you've tried so far. Have you tried searching Google? 
  What queries? }
## Existing Code ##
{ Do you have any existing code to show? Please keep it short and simple. 
  We should be able to detect the problem right away. }

Why am I suggesting this?

Well, it seems as though most users will stick with the default. They don't bother to read, and so prefilling the question form for them with information that we know might be relevant, will forceWe'll get to that in a second them to actually stop and read.

Scenarios:

  1. Best case: User arrives to ask a question, actually reads the template, fills the correct information in the placeholders. (Yeah, because that'll happen a lot)
  2. Neutral: User simply removes all of the template text and rewrites their own question. Result is exact same as we have currently.
  3. Worst case: User will ignore or misunderstand the template, will use it wrong or not at all and we'll get something like

    <template text here, still unfilled>
    <(crappy) question>
    

    This can be solved in a couple different ways. We could detect the template tags (i.e. { }, subject to discussion), and throw an error when a user attempts to post with them still available. We could also act more autonomously and remove placeholders which still exist.

Some more points:

  • Templates should be per-site, not per-tag. Sure, there are differences between the tags, but all questions are expected to have the same general information, and this isn't meant to be a rule, but a guideline to help write better questions.
  • Site templates should be editable by that site's mods, like close reasons.
  • We could autofocus on the first placeholder, and perhaps implement TAB to jump from one placeholder to the other, similar to mixins in IDEs.
  • This doesn't have to be implemented everywhere. This suggestion makes sense to Stack Overflow or Superuser, but not to Anime & Manga or Gaming
  • All of the details are subject to discussion, and all discussion is welcomed.
1
  • I think question wizard in Stack Overflow can be repurposed for other sites. Mar 29, 2019 at 20:22

2 Answers 2

5

Recently Stack Exchange launched the Ask Question wizard. While it is currently only active on Stack Overflow, this step probably means, that communities will at some point be able to request this wizard for their site too.

One of the pages in the wizard is called Description and contains what you proposed. The question body input, divided into several sections with appropriate guidance:

Screenshot from the Ask Question wizard

4

While it's not currently on the roadmap, we intend to expand and adapt the Ask Wizard to more network sites.

We are deferring this particular feature request with the above in mind.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .