Difference between revisions of "Template:AnswerRequirement"

From Pathfinder Wiki
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>

Revision as of 14:38, 29 November 2020