Difference between revisions of "Template:Show-FAQ"

From SHA2017
Jump to: navigation, search
(Created page with "<includeonly> =={{{q}}}== <div class="answer mw-collapsible">{{{a|''no answer yet given''}}}</div> {{#if:{{{link|}}}|: {{{link|}}} }}{| class="extra-data mw-collapsible collap...")
 
m (derp)
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
<noinclude>should be invoked with a query like:
 +
<nowiki>
 +
{{#ask:[[Question::+]]
 +
|?Question=q
 +
|?Answer=a
 +
|?Has TeamName
 +
|?Source
 +
|?Status
 +
|?Tag
 +
|format=template
 +
|limit=100
 +
|link=all
 +
|headers=show
 +
|mainlabel=-
 +
|searchlabel=... further results
 +
|sep=,
 +
|template=show-FAQ
 +
}}</nowiki>
 +
 +
Result (example):
 +
{{#ask:[[Question::+]]
 +
|?Question
 +
|?Answer
 +
|?Has TeamName
 +
|?Source
 +
|?Status
 +
|?Tag
 +
|format=template
 +
|limit=1
 +
|link=all
 +
|headers=show
 +
|mainlabel=-
 +
|searchlabel=all results
 +
|sep=,
 +
|template=show-FAQ
 +
}}
 +
</noinclude>
 
<includeonly>
 
<includeonly>
=={{{q}}}==
+
=={{{1}}}==
<div class="answer mw-collapsible">{{{a|''no answer yet given''}}}</div>
+
<div class="answer">{{{2|''no answer yet given''}}}</div>
{{#if:{{{link|}}}|: {{{link|}}}
+
<div class="FAQ-details" style="font-size: smaller; text-align:right">from: {{{4|}}}</div>
}}{| class="extra-data mw-collapsible collapsed wikitable"
+
<!-- {| class="extra-data mw-collapsible collapsed wikitable"
 
|-
 
|-
 
! Team
 
! Team
 
! Tags
 
! Tags
 
|-
 
|-
| {{{team|not yet assigned}}}
+
| {{{3|not yet assigned}}}
| {{{tags|}}}
+
| {{{6|}}}
|}
+
|}-- >
 +
 
 
</includeonly>
 
</includeonly>

Latest revision as of 22:11, 1 November 2016

should be invoked with a query like: {{#ask:[[Question::+]] |?Question=q |?Answer=a |?Has TeamName |?Source |?Status |?Tag |format=template |limit=100 |link=all |headers=show |mainlabel=- |searchlabel=... further results |sep=, |template=show-FAQ }}

Result (example):


When are tickets becoming available?

Tickets will become available at the end of 2016.

all results