This wiki is a read-only version of the Stardew Valley Wiki. The official editable wiki maintained by ConcernedApe can be found at stardewvalleywiki.com
Template talk:CookingChannel
table inside p
I noticed another potential layout problem with my tableless version, so my most recent change left the table intact.
A <table>
inside a <p>
is valid HTML5, but the MediaWiki parser doesn't allow it, for some reason. I tried forcing it with {{#tag:p|{{#tag:table|…}}}}
, but that didn't work, either. No matter what, the parser automatically inserts an extra closing and opening tag to prevent it: <p></p><table>…</table><p></p>
. I explicitly paired the <p>
tags to make it more clear what's happening, so there's less confusion.
The role="presentation"
and image alt
attribute are for accessibility and SEO, since the elements are used for layout purposes. Rigel Kent (talk) 04:09, 31 July 2017 (BST)