Template:Radio discussions-simplequestion-5

From Wikiversity
Jump to navigation Jump to search
  1. if: |}}</includeonly>

This template creates a feedback question, allowing for up to 5 answers (such as rating 1 through 5). The image in the response box will be the same for each answer.

Usage[edit source]

{{subst:Wmdgs-simplesurveyquestion-5|
| question = 
| topic link = 
| Image = 
| show name = 
| show date (yyyy.m.d) = 
| show segment = 

| response 1 = 
| showtext 1 = 
| category 1 = 

| response 2 = 
| showtext 2 = 
| category 2 = 

| response 3 = 
| showtext 3 = 
| category 3 = 

| response 4 = 
| showtext 4 = 
| category 4 = 

| response 5 = 
| showtext 5 = 
| category 5 = 
}}

First, copy the text above and add it to the template page, then fill in as follows:

  • question = enter the question as you want it to appear on the template
  • topic link = this defines what page the "(discuss)" link will lead to. It automatically adds "[[Wikimedian Demographics/" to the beginning of the link.
  • Image = add the filename of the image you'd like to use, not including the "Image:" prefix. The template automatically sets the size.
  • response 1 = this is what you want the first valid response to be (for example, just enter a "y" if it's a yes or no question)
  • showtext 1 = this will show the text. For example, "{{BASEPAGENAME}} likes dogs" (the {{BASEPAGENAME}} will be translated by the template to show the user's name).
  • category 1 = Add the name of the category (without the survey prefix) that you want the template to add. The category created will automatically be prefixed with "Radio Discussions feedback/<show name>/<show date>/<show segment>/" in order to keep track of responses better

Now do the same for response 2 through 5, adding the appropriate text and category.

You can use this template repeatedly on the same page to make a set of questions and responses in order to create a complete template. When you've added all the questions, add them to a preview template, and perhaps to a preloading template as well to make it easier to use. Finally, add instructions for the template.

Example[edit source]


Related pages[edit source]