Template:FAQ: Difference between revisions

From Official Kodi Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(43 intermediate revisions by the same user not shown)
Line 13: Line 13:
-->{{#if:{{{10|}}}|<span id="{{{10|}}}"></span>}}<!--
-->{{#if:{{{10|}}}|<span id="{{{10|}}}"></span>}}<!--
-->{{#if:{{{11|}}}|<span class="error">[[Template:Anchor]] (or Anchors): too many anchors, maximum is 10.</span>}}
-->{{#if:{{{11|}}}|<span class="error">[[Template:Anchor]] (or Anchors): too many anchors, maximum is 10.</span>}}
{|
{| width="100%" cellpadding="0" cellspacing="0"
|-
|-
|
| valign="top" |
==={{{Question}}}===
<includeonly>===</includeonly>{{{question|{{{Question| }}} }}}===
||
||
{| class="userbox"
{{#ifeq: {{PAGENAME}} | XBMC for iOS specific FAQ/mobile ||{{{!}} align="right" cellpadding="0" cellspacing="0"
|-
{{!}}-
|<small>'''Shortcuts:''' <!--
{{!}}{{#if:{{{1|}}}|{{resize|75%|2='''''[[#{{{1|}}}|Link]]'''''  }}}}
-->{{#if:{{{1|}}}|[[#{{{1}}}]], }} <!--
{{!}}} }}
-->{{#if:{{{2|}}}|[[#{{{2}}}]], }}<!--
-->{{#if:{{{3|}}}|[[#{{{3}}}]], }}<!--
-->{{#if:{{{4|}}}|[[#{{{4}}}]], }}<!--
-->{{#if:{{{5|}}}|[[#{{{5}}}]], }}<!--
-->{{#if:{{{6|}}}|[[#{{{6}}}]], }}<!--
-->{{#if:{{{7|}}}|[[#{{{7}}}]], }}<!--
-->{{#if:{{{8|}}}|[[#{{{8}}}]], }}<!--
-->{{#if:{{{9|}}}|[[#{{{9}}}]], }}<!--
-->{{#if:{{{10|}}}|[[#{{{10}}}]] }} </small>
|}
|}
|}
 
:{{{!}}
{{{Answer}}}
{{!}}
 
{{{answer|{{{Answer| }}} }}}
{{-}}
{{!}}}<noinclude>
{{documentation}}</noinclude>

Latest revision as of 06:40, 31 October 2013

|- | |


 ===
[edit] Template documentation

Usage

{{FAQ|1=ANCHOR|2=ANCHOR|3=ANCHOR
| Question =
| Answer =
| BGcolor =
}}

Must be used inside of a wikitable as a row.

Syntax

  1. Start out with a table header tag: {|
  2. Place each FAQ question (as |Question=) and answer (as |Answer=) inside the {{FAQ}} template as shown above
  3. End with the closing table tag: |}

Up to ten anchors (assigned to positional parameters |1= through |10=) and a background color (as |BGcolor=) are optional.