Difference between revisions of "Template:Ansreq/Sandbox"

From Pathfinder Wiki
(Added the column styling instead of the row styling "idea from Jomegat")
m (removed the 100% styling of the div so it is not bigger than the table)
Line 23: Line 23:
 
</table>
 
</table>
 
<!--create collapsible box for the answers-->
 
<!--create collapsible box for the answers-->
<div class="toccolours mw-collapsible" id="mw-customcollapsible-ansReq" style="width:100%">
+
<div class="toccolours mw-collapsible" id="mw-customcollapsible-ansReq">
  
 
<div class="mw-customtoggle-ansReq" href="#" style="width: 100%; text-align: right; margin-bottom: 1em;">[<span style="text-decoration: underline; color: blue;">{{#switch:{{SUBPAGENAME}}|es=Mostrar/ocultar Respuestas|fr= Afficher/Masquer Réponses|Show/Hide Answers}}</span>]</div>
 
<div class="mw-customtoggle-ansReq" href="#" style="width: 100%; text-align: right; margin-bottom: 1em;">[<span style="text-decoration: underline; color: blue;">{{#switch:{{SUBPAGENAME}}|es=Mostrar/ocultar Respuestas|fr= Afficher/Masquer Réponses|Show/Hide Answers}}</span>]</div>

Revision as of 00:11, 9 November 2020

This is a Sandbox of the template, to test out new stuff. So if it should be used, it needs to be copied without the dummy content. Also there is a problem with the uniqueness of the ID of the customcollapsible and the CLASS of the custom toggle button. I (DesignerThan) want to include the "num"-argument into the CSS ID and CLASS but I was not able to do that because the string gets implemented as it is and won't be replaced. Maybe some body can help with that.


Requirement {{{num}}}

{{:{{{page}}}/Requirement/{{{num}}}}}

[Show/Hide Answers]

Test Content