Template:FAQ: Difference between revisions

From Official Kodi Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(14 intermediate revisions by the same user not shown)
Line 16: Line 16:
|-
|-
| valign="top" |
| valign="top" |
<includeonly>===</includeonly>{{{Question}}}===
<includeonly>===</includeonly>{{{question|{{{Question| }}} }}}===
||
||
{{#ifeq: {{PAGENAME}} | XBMC for iOS specific FAQ/mobile ||{{{!}} align="right" cellpadding="0" cellspacing="0"
{{#ifeq: {{PAGENAME}} | XBMC for iOS specific FAQ/mobile ||{{{!}} align="right" cellpadding="0" cellspacing="0"
{{!}}-
{{!}}-
{{!}}<small>'''Shortcut{{#if:{{{2|}}}|s}}:''' <!--
{{!}}{{#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}}}<noinclude>
:{{{!}}
{{!}}
{{{answer|{{{Answer| }}} }}}
{{!}}}<noinclude>
{{documentation}}</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.