Difference between revisions of "Template:Question Temp"

From HPC Wiki
Jump to navigation Jump to search
Line 1: Line 1:
{{Question_Temp|question_box|title=This is an example of the Question template|collapsed=yes}}
+
<includeonly>{| class="collapsible wikitable {{#if:{{{collapsed|}}}|collapsed}}" width="{{{width|77%}}}" style="background: #FFFFFF;"
 +
! style="padding-left:1em; text-align: left; background:#FFFFFF; color:{{#var:secondary_Colour1}};" | <!--
 +
--><h3 style="color:{{#var:secondary_Colour1}};">{{{title|{{{1}}}}}} <!--
 +
--edit button--
 +
--><span class="plainlinks">([{{fullurl:{{FULLPAGENAME}}/{{{1}}}|action=edit}} edit])</span><!--
 +
--done edit button--
 +
----
 +
--add next hint/solution button--
 +
--><font size="1">{{#ifeq: {{{1}}} | Statement | |<!--
 +
 
 +
}}<!--
 +
--do nothing if the next hint/solution exists. Otherwise, add corresponding link to edit the missing page--
 +
-->| | {{&nbsp; <span class="plainlinks">([{{fullurl:{{FULLPAGENAME}}/<!--
 +
-->{{#switch: {{{1}}}
 +
 
 +
<!--
 +
-->|action=edit}} <!--
 +
-->{{#switch: {{{1}}}
 +
 
 +
}}<!--
 +
-->])</span>}}}}}}</font><!--
 +
--done add next hint/solution button--
 +
--></h3>
 +
|-
 +
|style="padding:1em"|{{/{{{1}}}}}
 +
{{#switch: {{{1}}}
 +
 
 +
 
 +
}}
 +
|}

Revision as of 14:13, 21 September 2020