Template:FAQ: Difference between revisions

From Official Kodi Wiki
Jump to navigation Jump to search
m (Protected "Template:FAQ" ([edit=autoconfirmed] (indefinite) [move=autoconfirmed] (indefinite)))
No edit summary
Line 18: Line 18:
<includeonly>===</includeonly>{{{Question}}}===
<includeonly>===</includeonly>{{{Question}}}===
||
||
{| 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}}:''' <!--
{{!}}<small>'''Shortcut{{#if:{{{2|}}}|s}}:''' <!--
-->{{#if:{{{1|}}}|[[#{{{1}}}]]}}<!--
-->{{#if:{{{1|}}}|[[#{{{1}}}]]}}<!--
-->{{#if:{{{2|}}}|, [[#{{{2}}}]]}}<!--
-->{{#if:{{{2|}}}|, [[#{{{2}}}]]}}<!--
Line 31: Line 31:
-->{{#if:{{{9|}}}|, [[#{{{9}}}]]}}<!--
-->{{#if:{{{9|}}}|, [[#{{{9}}}]]}}<!--
-->{{#if:{{{10|}}}|, [[#{{{10}}}]] }} </small>
-->{{#if:{{{10|}}}|, [[#{{{10}}}]] }} </small>
|}
{{!}}}}}
|}
|}
{{{Answer}}}<noinclude>
{{{Answer}}}<noinclude>
{{documentation}}</noinclude>
{{documentation}}</noinclude>

Revision as of 19:06, 9 February 2012

|- | |


{{{Question}}}===

Shortcut:

{{{Answer}}}

[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.