Template:FAQ: Difference between revisions

Jump to navigation Jump to search
no edit summary
(and promptly copy/pasted wrong...)
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<noinclude>{{FAQ
<noinclude>{{FAQ
|question  = Am i a question?
|question  = Am i a question?
|answer    = Yes, this is an answer
|answer    = Yes, this is an answer<br>It has multiple lines.<br>Even more lines to show how it looks.
|source    = https://wiki.descent-community.org
|source    = https://wiki.descent-community.org
|reference = I'm just a reference
|reference = I'm just a reference
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:10px; border-top-right-radius:10px; border-bottom-right-radius:10px; border-bottom-left-radius:10px;min-width:270px;overflow:hidden;">
         <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>

Navigation menu