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
editTop box |
Bottom box |
Between two tmboxes
editNo 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
editWith 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 -->
editWith 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
editAfter 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
editBefore 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 |