DesignerThan (talk | contribs) (Added the column styling instead of the row styling "idea from Jomegat") |
DesignerThan (talk | contribs) 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 | + | <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 23:11, 8 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