Difference between revisions of "Template:Ansreq/Sandbox"

From Pathfinder Wiki
(Created page with "<noinclude><translate><!--T:1--> </noinclude> <!--close the collapsible box from previous requirement--> {{#ifeq:{{{num}}}|1 |<!--first requirement doesn't close previous box-...")
 
Line 1: Line 1:
 
<noinclude><translate><!--T:1-->
 
<noinclude><translate><!--T:1-->
 
</noinclude>
 
</noinclude>
 +
<noinclude>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.</noinclude>
 
<!--close the collapsible box from previous requirement-->
 
<!--close the collapsible box from previous requirement-->
{{#ifeq:{{{num}}}|1
+
{{#ifeq:{{{num|1}}}|1
 
|<!--first requirement doesn't close previous box-->
 
|<!--first requirement doesn't close previous box-->
 
|</div></div><!--if this is not the first requirement, close the previous box-->}}
 
|</div></div><!--if this is not the first requirement, close the previous box-->}}

Revision as of 10:41, 5 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