Template:FAQ

From Red Faction Wiki
Revision as of 10:10, 5 February 2024 by SimpleArrows (talk | contribs)

Creates a banner-styled box for use on FAQ pages to show solutions/answers to questions and issues.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Type1

Determines the type of FAQ box it is. The "issue" type will fill the box with spaces for a cause and solution. The "question" type will fill the box with a space for an answer to a question.

Suggested values
issue question
Example
issue
Stringrequired
Header2

Depending on the type, the header can either be an issue or a question.

Example
Error "Please insert Red Faction CD 2"
Stringrequired
Cause/Answer3

If the FAQ type is "issue", this parameter is seen as the cause, which is where an explanation of why the issue (written in the header) is happening. If the FAQ type is "question", this parameter is seen as the answer to the question (written in the header).

Example
This issue occurs when launching Red Faction (particularly in full screen mode) on some new hardware.
Stringrequired
Solution4

This parameter is only used when the FAQ type is "issue", do not use it if the type is "question". The information written in this parameter is the solution to the issue (written in the header).

Example
All commonly-used community versions resolve this issue - we recommend using Dash Faction for maximum compatibility with new hardware and operating systems. You may need to launch the community version you choose in "windowed" or "stretched" mode as opposed to full screen mode to resolve this issue.
Stringoptional
{{FAQ|TYPE|HEADER|CAUSE_OR_ANSWER|SOLUTION}}

Usage (issue):

{{FAQ| issue | Error "Please insert Red Faction CD 2" | You're running Red Faction version 1.0, 1.1, or 1.2, and those versions require CD 2 be in your CD-ROM drive for the game to launch. | Official version 1.21, as well as all commonly-used [[RF Clients#Community-Made|community versions of Red Faction]] resolve this issue and allow you to launch the game without CD 2 in your CD-ROM drive.
}}

Output:


Usage (question):

{{FAQ| question | Where can I get a copy of Red Faction? | Red Faction is available for purchase as a digital download or physical copy (CD).<br>'''Digital Download:'''
*[https://store.steampowered.com/app/20530/Red_Faction Steam] 
*[https://www.gog.com/game/red_faction GoG] 
}}

Output:


FAQ Page Columns:

The FAQ box is intended for use in a column which allows for more boxes to be used in a smaller amount of space. This method only allows for 2 columns on a page.

Wrap the boxes in a column div as follows to make the first column:

<div class="column">FAQ_BOXES_HERE</div>

To make the second column, do the same thing you did for the first column to another collection of FAQ boxes.

<div class="column">
FIRST_COLUMN_BOXES
</div>
<div class="column">
SECOND_COLUMN_BOXES
</div>

If content is going to be placed after the 2 columns, another div is needed to make sure the formatting of the content isn't affected by the columns. Add this code after the end of the 2 column divs (do not put any content into this div):

<div style="clear: both;"></div>