User:MiszaBot/config/testcases
Appearance
< User:MiszaBot | config
This is the template test cases page for the sandbox of User:MiszaBot/config. 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: |
These tests are for checking template's behavior with regard to whitespace issues around banner templates (aka header templates, Talk message boxes, or {{Tmbox}}es). See also WP:TALKLEAD.
Two Tmboxes for comparison
[edit]Top box |
Bottom box |
Between two tmboxes
[edit]No line breaks
[edit]{{User:MiszaBot/config}} between two Tmboxes
{{tmbox|text=Top box}}{{User:MiszaBot/config|archive=User:MiszaBot/config/testcases/archive}}{{tmbox|text=Bottom box}}
Top box |
Bottom box |
{{User:MiszaBot/config/sandbox}}
Top box |
Bottom box |
With line breaks
[edit]With line breaks
{{tmbox|text=Top box}} {{User:MiszaBot/config|archive=User:MiszaBot/config/testcases/archive}} {{tmbox|text=Bottom box}}
Top box |
Bottom box |
{{User:MiszaBot/config/sandbox}}
Top box |
Bottom box |
With <!-- comments -->
[edit]With commented out line breaks
{{tmbox|text=Top box}}<!-- line breaks -->{{User:MiszaBot/config|archive=User:MiszaBot/config/testcases/archive}}<!-- for readablity -->{{tmbox|text=Bottom box}}
Top box |
Bottom box |
{{User:MiszaBot/config/sandbox}}
Top box |
Bottom box |
After Tmbox
[edit]After Tmbox
{{tmbox|text=Top box}}{{User:MiszaBot/config|archive=User:MiszaBot/config/testcases/archive}}
Top box |
{{User:MiszaBot/config/sandbox}}
Top box |
After Tmbox with line breaks
{{tmbox|text=Top box}} {{User:MiszaBot/config|archive=User:MiszaBot/config/testcases/archive}}
Top box |
{{User:MiszaBot/config/sandbox}}
Top box |
After Tmbox with comment
{{tmbox|text=Top box}}<!-- commented out line break -->{{User:MiszaBot/config|archive=User:MiszaBot/config/testcases/archive}}
Top box |
{{User:MiszaBot/config/sandbox}}
Top box |
Before Tmbox
[edit]Before Tmbox
{{User:MiszaBot/config|archive=User:MiszaBot/config/testcases/archive}}{{tmbox|text=Bottom box}}
Bottom box |
{{User:MiszaBot/config/sandbox}}
Bottom box |
Before Tmbox with line breaks
{{User:MiszaBot/config|archive=User:MiszaBot/config/testcases/archive}} {{tmbox|text=Bottom box}}
Bottom box |
{{User:MiszaBot/config/sandbox}}
Bottom box |
Before Tmbox with comment
{{User:MiszaBot/config|archive=User:MiszaBot/config/testcases/archive}}<!-- commented out line break -->{{tmbox|text=Bottom box}}
Bottom box |
{{User:MiszaBot/config/sandbox}}
Bottom box |