Editing User talk:Taylan
Jump to navigation
Jump to search
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 109: | Line 109: | ||
:Another possibility is to add an <code>id</code> attribute to the notes header in the HTML, since that's what browsers use to resolve links like <code>Blah#blub</code>. (For headers like <code><nowiki>== This ==</nowiki></code>, the id is inserted automatically into the HTML, based on the contents of the header.) So, for example, the header in the infobox could be <code><nowiki><h2 id="infobox-notes">Notes</h2></nowiki></code> and the link would be <code><nowiki>[[Some page#infobox-notes]]</nowiki></code>. That should work. [[User:Taylan|Taylan]] ([[User talk:Taylan|talk]]) 16:03, 13 April 2024 (CEST) | :Another possibility is to add an <code>id</code> attribute to the notes header in the HTML, since that's what browsers use to resolve links like <code>Blah#blub</code>. (For headers like <code><nowiki>== This ==</nowiki></code>, the id is inserted automatically into the HTML, based on the contents of the header.) So, for example, the header in the infobox could be <code><nowiki><h2 id="infobox-notes">Notes</h2></nowiki></code> and the link would be <code><nowiki>[[Some page#infobox-notes]]</nowiki></code>. That should work. [[User:Taylan|Taylan]] ([[User talk:Taylan|talk]]) 16:03, 13 April 2024 (CEST) | ||
::Thx! Second solution sounds workable to me (although I think the first still cleaner -- obviously if somebody added a second Notes section, that would be visually odd anyway? I could only seeing that coming about accidentally & then would need cleanup). Appears editing templates needs special privs, so if you want to implement one? [[User:Cattlesquat|Cattlesquat]] ([[User talk:Cattlesquat|talk]]) 16:40, 13 April 2024 (CEST) | ::Thx! Second solution sounds workable to me (although I think the first still cleaner -- obviously if somebody added a second Notes section, that would be visually odd anyway? I could only seeing that coming about accidentally & then would need cleanup). Appears editing templates needs special privs, so if you want to implement one? [[User:Cattlesquat|Cattlesquat]] ([[User talk:Cattlesquat|talk]]) 16:40, 13 April 2024 (CEST) | ||