Difference between revisions of "Template:Question Temp"

From HPC Wiki
Jump to navigation Jump to search
 
(66 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Question|question_box|title=This is an example of the Question template|collapsed=yes}}
+
<includeonly>{| class="mw-collapsible 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"|{{{{FULLPAGENAME}}/{{{1}}}}}
 +
{{#switch: {{{1}}}
 +
 
 +
 
 +
}}
 +
|}
 +
 
 +
</includeonly>

Latest revision as of 13:58, 1 October 2020