Template:QA: Difference between revisions

From Descent-Community Wiki 1.2
Jump to navigation Jump to search
(Template to semi-automate Q&A sections)
 
(Add the QA template into the category "Update Me". This helps finding all instances where this template is used)
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>
<includeonly>[[Category:FAQ]]
{|
{|
{{
{{
Line 27: Line 27:
     }}
     }}
}}
}}
|}
|}[[Category:Update Me]]</includeonly><noinclude>
</includeonly><noinclude>


Mandatory fields are:
Mandatory fields are:
Line 37: Line 36:


Optional fields are:
Optional fields are:
  | question_source_# = if the question is no in the same place as the answer, the link to the question can be specified here.
  | question_source_# = if the question is not in the same place as the answer, the link to the question can be specified here.


The |question_source and the |source are added as references to the page where the template is used.<br>
The |question_source and the |source are added as references to the page where the template is used.<br>

Latest revision as of 08:37, 24 April 2017


Mandatory fields are:

| question_#  = The question.
| answer_#    = The answer to the question.
| source_#    = A link where the answer is from.
| reference_# = Who gave the answer.

Optional fields are:

| question_source_# = if the question is not in the same place as the answer, the link to the question can be specified here.

The |question_source and the |source are added as references to the page where the template is used.
Because of this a tag is required at the end of the page.


Example how to use this Templates:

{{QA
| question_1=Is it true?
| question_source_1=http://boardgamegeeks.com
| answer_1=Yes
| source_1=http://google.com
| reference_1=Someone i know

| question_2=Is it true?
| answer_2=No
| source_2=http://yahoo.com
| reference_2=A random git on the street

| question_3=Incomplete

| question_4=Is it true?
| question_source_4=https://community.fantasyflightgames.com/forum/224-descent-journeys-in-the-dark-second-edition/
| answer_4=Maybe
| source_4=https://duckduckgo.com/
| reference_4=Chuck Norris
}}
Q:[1] Is it true?
A: Yes
Source[2] Someone i know

Q: Is it true?
A: No
Source[3] A random git on the street

Q:[4] Is it true?
A: Maybe
Source[5] Chuck Norris

external links