Template:FAQ: Difference between revisions
Jump to navigation
Jump to search
(and promptly copy/pasted wrong...) |
(sync with devwiki. latest version for release 1.1) |
||
Line 9: | Line 9: | ||
{{#if:{{{source|}}} | | {{#if:{{{source|}}} | | ||
{{#if:{{{reference|}}} | | {{#if:{{{reference|}}} | | ||
<div style="vertical-align:bottom; margin-bottom:5px; background-color:lightgrey; padding:5px; border-top-left-radius: | <div style="vertical-align:bottom; margin-bottom:5px; background-color:lightgrey; padding:5px; border-top-left-radius:15px; border-top-right-radius:15px; border-bottom-right-radius:15px; border-bottom-left-radius:15px;min-width:270px;overflow:hidden;"> | ||
<div style="display:table;width:100%;"> | <div style="display:table;width:100%;"> | ||
<div style="display:table-caption;width:100%">'''{{{question|}}}'''</div> | <div style="display:table-caption;width:100%">'''{{{question|}}}'''</div> | ||
Line 24: | Line 24: | ||
}} | }} | ||
}} | }} | ||
}}</includeonly><noinclude>{{documentation}}</noinclude> | }}[[Category:FAQ]]</includeonly><noinclude>{{documentation}}</noinclude> |
Revision as of 13:03, 22 April 2017
Template documentation (for the above template, sometimes hidden or invisible)
Description
- This template is not intended to be used directly. It provides the formatting for FAQ entries.
- Please use the Templates: UFAQ or OFAQ
Syntax
All parameters are required. The FAQ box will not be drawn if at least one of these parameters is missing.
{{FAQ |question = <mandatory> The question. |answer = <mandatory> The answer to the question. |source = <mandatory> A link where the answer is from. |reference = <mandatory> Who gave the answer. |icon = <optional> The icon which is shown on the left side. Defaults to the descent D. }}
Visit Template:FAQ/doc to edit this text! (How does this work?)