Template talk:Head/broken
Add topicAppearance
This page will show that the head template is not working as expected.
- This will be done by first calling the head template passing an abritrary value of 4 and a text. It will not be a h4 tag but an h3 with extra = signs around the title.
- Then call the example template to display how head templates are to work
- Finally call the head template again with the same level number. Now it works.
- Please view the code.
Not a level 4
It looks like this does not work properly at the first call on a page, unless the parameter is 1. See also Template talk:Head/broken.
{{head|1|abc}} gives: = abc =, or in a new paragraph:
abc
{{head|2|abc}} gives: == abc ==, or in a new paragraph:
abc
{{head|3|abc}} gives: === abc ===, or in a new paragraph:
abc
{{head|4|abc}} gives: ==== abc ====, or in a new paragraph: