Template:FAQ/de

From Wikicarpedia
Jump to navigation Jump to search
This page is a translated version of the page Template:FAQ and the translation is 100% complete.

Description

Create a FAQ box with title (header) and body. If a clarification id is provided, it will be displayed in the bottom right corner in brackets. The same id can be used as an anchor for a link. An additional external id (ext id) can be also provided to refer to the CAR, for example in the same generated link. It uses default values for layout that can be overridden (classes and width).

Params

  • title or (1st deprecated) (mandatory): Title displayed in the header of the box
  • text or (2nd deprecated) (mandatory): Text of box
  • id (optional): Clarification id shown on bottom right corner as a link in brackets. Only shown if provided.
  • extid (optional): Additional clarification id (with CAR.XXX format) shown on bottom right corner as part of the link generated for param id. Only shown if provided.
  • width or (3rd deprecated) (optional + default): Box witdh. Default value = 400px. When device is smaller, then width will be set to 100% of space.
  • class (optional + default): Wrapper div class string for box layout and separation, Default value = "wica-top-spacing wica-bottom-spacing wica-visible"
  • nesting (optional) - [ 0, 1, 2 ] Append wica-nesting-# class for margin level 0 (none), level 1 (22px) or level 2 (42px). Available only when class is not set!

Examples

Code Description
{{FAQ|title=What if...?|text=If..., then...}} FAQ box with specified question and answer

 Official clarification from the publisher Frage: What if...?

Antwort: If..., then...

{{FAQ|nesting=1|title=What if...?|text=If..., then...}} FAQ box with specified question and answer with nesting level 1

 Official clarification from the publisher Frage: What if...?

Antwort: If..., then...