Description
This template is used to do display questions with their answers.
Dependencies
Syntax
Type {{QandA|<qh=>|<QUESTION>|<ANSWER>|<src=SOURCE>|<attr=ATTRIBUTION>}} somewhere.
  • {{{qh}}}, if true, displays the question as a level 2 Heading (<h2>)
  • QUESTION and ANSWER are the text of the question and the answer. Up to 10 answers can be provided.
  • {{{attr}}} the person who supplied the answer. {{{attr2...attr10}}} attribution of additional answers.
  • {{{src}}} is the source of the answer. {{{src2...src10}}} sources of additional answers.


Sample output
{{QandA|foo1|foo2}}
gives...

Template:QandA


Sample output with attribution
{{QandA|foo1|foo2|attr=Matthew Mercer}}
gives...

Template:QandA


Sample output with multiple answers and attributions
{{QandA|foo1|foo2|attr=Matthew Mercer|foo3|attr2=Marisha Ray}}
gives...

Template:QandA


Sample output as heading
{{QandA|qh=true|foo1|"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum}}
gives...

Template:QandA


Sample output with heading, multiple answers and attributions
{{QandA|qh=true|foo1|foo2|attr=Matthew Mercer|foo3|attr2=Marisha Ray}}
gives...

Template:QandA