Template talk:Portal talk
Appearance
This is the talk page for discussing improvements to the Portal talk template. |
|
This template does not require a rating on Wikipedia's content assessment scale. It is of interest to the following WikiProjects: | ||||||||||||||
|
Missing end tag for div
[edit]@Evad37, AfroThundr3007730, The Transhumanist, CommonsDelinker, Quiddity, and Funandtrvl: This template causes a missing end tag for <div>
under certain circumstances, as can be seen from the markup, where there is no closing </div>
tag for the markup <div style="border-top: 1px solid #c0c090; width: 100%;padding-top:0.3em">
. I leave it to the experts to know where to put the closing </div>
tag. The error shows up now in Portal talk:Ancient Egypt. —Anomalocaris (talk) 19:33, 16 March 2021 (UTC)
- @Anomalocaris: can you check if it's fixed now? I actually couldn't see the div on the portal talk page, but it definitely wasn't in the template. Funandtrvl (talk) 20:27, 16 March 2021 (UTC)
- Funandtrvl: It's good now for Portal talk:Ancient Egypt, but the closing
</div>
needs to be before one or more template closes (}}
). A basic test is to use Special:ExpandTemplates. In Context title enterPortal talk:Ancient Egypt
. In Input wikitext enter{{Portal talk}}
. click OK. Then run lintHint, which has to be installed; see WP:Linter for more about lintHint. When lintHint reports "green" there is no lint. But in Context tltle, enterPortal talk:Slovenia
and do it again. Now lintHint reports a stripped tag for</div>
. So the</div>
needs to be moved. —Anomalocaris (talk) 20:54, 16 March 2021 (UTC)- Thank you for the explanation! I think it's fixed now. It really just adds a line to it. Funandtrvl (talk) 21:05, 16 March 2021 (UTC)
- Funandtrvl: It's good now for Portal talk:Ancient Egypt, but the closing