Difference between revisions of "Template:AnswerRequirement"

From Pathfinder Wiki
 
(2 intermediate revisions by the same user not shown)
Line 3: Line 3:
 
render requirements box
 
render requirements box
 
-------------------------
 
-------------------------
--><table width="100%" cellspacing=0 style="display:table">
+
--><table width="100%" cellspacing=0 style="display:table" id="ansreq-{{{num}}}">
 
<tr>
 
<tr>
 
<td bgcolor=#8080e0 style="width: 15%; padding:0 0.5em; vertical-align:top;">
 
<td bgcolor=#8080e0 style="width: 15%; padding:0 0.5em; vertical-align:top;">
Line 9: Line 9:
 
</td>
 
</td>
 
<td bgcolor=c0c0ff style="width: 85%; padding:0 0.5em;">
 
<td bgcolor=c0c0ff style="width: 85%; padding:0 0.5em;">
<b><font size=3 color=#202020>{{:{{#titleparts:{{{page}}}|3|1}}/Requirement/{{{num}}}{{#switch:{{SUBPAGENAME}}|es=/es|fr=/fr}}}}</font></b>
+
<b><font size=3 color=#202020>{{#lst:{{#titleparts:{{{page}}}|3|1}}/Requirements{{#switch:{{SUBPAGENAME}}|es=/es|fr=/fr}}|req{{{num}}}}}</font></b>
 
</td>
 
</td>
 
<td class="nomobile" bgcolor=#E5E5FF style="text-align: right; padding:0 0.5em; white-space:nowrap;">{{CustomToggleButton|text={{#switch:{{SUBPAGENAME}}|es=Mostrar/ocultar Respuesta|fr=Afficher/Masquer Réponse|Show/Hide Answer}}|name=ansreq-{{{num|1}}}}}
 
<td class="nomobile" bgcolor=#E5E5FF style="text-align: right; padding:0 0.5em; white-space:nowrap;">{{CustomToggleButton|text={{#switch:{{SUBPAGENAME}}|es=Mostrar/ocultar Respuesta|fr=Afficher/Masquer Réponse|Show/Hide Answer}}|name=ansreq-{{{num|1}}}}}
Line 16: Line 16:
 
</table>
 
</table>
 
<!--create collapsible box for the answers-->
 
<!--create collapsible box for the answers-->
{{#lst:{{{page}}}/Requirements|req{{{num}}}}}
 
 
<div class="toccolours mw-collapsible" id="mw-customcollapsible-ansreq-{{{num|1}}}"></includeonly>
 
<div class="toccolours mw-collapsible" id="mw-customcollapsible-ansreq-{{{num|1}}}"></includeonly>
 
<noinclude>[[Category:Requirements Template]]</noinclude>
 
<noinclude>[[Category:Requirements Template]]</noinclude>

Latest revision as of 03:52, 1 December 2020