User:N8wilson/new FAQ/testcases
Appearance
< User:N8wilson | new FAQ
This is the template test cases page for the sandbox of User:N8wilson/new FAQ. to update the examples. If there are many examples of a complicated template, later ones may break due to limits in MediaWiki; see the HTML comment "NewPP limit report" in the rendered page. You can also use Special:ExpandTemplates to examine the results of template uses. You can test how this page looks in the different skins and parsers with these links: |
Preview of Transclusion
[edit]Test Question
Test Answer
Test instructions
[edit]This template is primarily used for substitution. To test correct substitution behaviour, copy the test cases in the header below (without the "pre" tags) and paste into the test area. Then use the [SHOW CHANGES] button instead of saving or previewing to see how the wikitext will change.
Test cases to copy for substitution
[edit]<!--00-->{{subst:User:N8wilson/new FAQ}} <!--01-->{{subst:User:N8wilson/new FAQ |q= }} <!--02-->{{subst:User:N8wilson/new FAQ |q=Test Question without answer }} <!--03-->{{subst:User:N8wilson/new FAQ |q=Test Question with blank link-key and no answer |link-key= }} <!--10-->{{subst:User:N8wilson/new FAQ |index=idx10 |q=Test Question with index but no answer }} <!--20-->{{subst:User:N8wilson/new FAQ |link-key=20 |q=Test Question with link-key but no answer }} <!--30-->{{subst:User:N8wilson/new FAQ |a=Test Answer without question }} <!--31-->{{subst:User:N8wilson/new FAQ |a=Test Answer without question and blank link-key |link-key= }} <!--40-->{{subst:User:N8wilson/new FAQ |q=Test Question |a=Test Answer }} <!--41-->{{subst:User:N8wilson/new FAQ |q=Test Question and answer with blank link-key |a=Test Answer |link-key= }} <!--50-->{{subst:User:N8wilson/new FAQ |q=Test Question |a=Test Answer |index=050 }} <!--60-->{{subst:User:N8wilson/new FAQ |q=Test Question with handing wp-editor-notes |a=Test Answer |wp-editor-notes= <!-- some warning text here --> |link-key=60 }} <!--70-->{{subst:User:N8wilson/new FAQ |q=Test Question |a=Test Answer |link-key=070 }} <!--80-->{{subst:User:N8wilson/new FAQ |q=Test Question |a=Test Answer |index=i080 |link-key=080 }}