Main Page: Difference between revisions
From Deepest Lore
More actions
No edit summary |
No edit summary |
||
| (3 intermediate revisions by the same user not shown) | |||
| Line 4: | Line 4: | ||
</html>{{WikiCard|Ghosts of Saltmarsh|https://gugimages.s3.us-east-2.amazonaws.com/wp-content/uploads/2019/08/21210526/Saltmarsh_DnD_Articles_Header-Image.jpg}}<html> | </html>{{WikiCard|Ghosts of Saltmarsh|https://gugimages.s3.us-east-2.amazonaws.com/wp-content/uploads/2019/08/21210526/Saltmarsh_DnD_Articles_Header-Image.jpg}}<html> | ||
</html>{{WikiCard|Mysteries of Mython|https://wallpapercave.com/wp/wp9621848.jpg}}<html> | </html>{{WikiCard|Mysteries of Mython|https://wallpapercave.com/wp/wp9621848.jpg}}<html> | ||
</html>{{WikiCard|Strota | </html>{{WikiCard|Strota: The War|https://i.redd.it/7gevttshozd41.jpg}}<html> | ||
</html>{{WikiCard|Dobaru | </html>{{WikiCard|Dobaru: Treasure Hunt|https://cdna.artstation.com/p/assets/images/images/003/052/182/large/todor-hristov-2.jpg?1469028977}}<html> | ||
</html>{{WikiCard|The North Marches|https://www.thearcticinstitute.org/wp-content/uploads/2011/12/Scott_South_Pole_1912.jpg}}<html> | </html>{{WikiCard|The North Marches|https://www.thearcticinstitute.org/wp-content/uploads/2011/12/Scott_South_Pole_1912.jpg}}<html> | ||
</html>{{WikiCard|Chains of Iniquity|https://static.wikia.nocookie.net/emerald-isles/images/c/c0/Abyss.jpg | </html>{{WikiCard|Chains of Iniquity|https://static.wikia.nocookie.net/emerald-isles/images/c/c0/Abyss.jpg}}<html> | ||
</html>{{WikiCard|Abomination Vaults|https://guildberkeley.wordpress.com/wp-content/uploads/2021/02/gauntlight.png}}<html> | </html>{{WikiCard|Abomination Vaults|https://guildberkeley.wordpress.com/wp-content/uploads/2021/02/gauntlight.png}}<html> | ||
</html>{{WikiCard|Curse of Strahd|https://static0.polygonimages.com/wordpress/wp-content/uploads/2026/03/ravenloft-coverart_annapodedworna-3.jpg | </html>{{WikiCard|Curse of Strahd|https://static0.polygonimages.com/wordpress/wp-content/uploads/2026/03/ravenloft-coverart_annapodedworna-3.jpg}}<html> | ||
</div> | </div> | ||
</html> | |||
//slop TODO: clean | |||
<html> | |||
<div class="grid-item wiki-card"> | |||
<a href="/w/</html>{{{1}}}<html>"> | |||
</html>{{#if:{{{2|}}}|<html><img src="</html>{{#tag:nowiki|{{{2}}}}}<html>" alt="</html>{{{1}}}<html>"></html>|}}<html> | |||
<div class="wiki-card-content"></html>{{{3|{{{1}}}}}}<html></div> | |||
</a> | |||
</div> | |||
<style> | |||
.no-wrap { | |||
white-space: nowrap; | |||
} | |||
</style> | |||
<script> | |||
document.querySelectorAll('.wiki-card-content').forEach(el => { | |||
// Only process plain text nodes (avoid breaking existing HTML) | |||
if (el.children.length === 0) { | |||
const text = el.textContent.trim(); | |||
const parts = text.split(': '); | |||
if (parts.length > 1) { | |||
const first = parts.shift(); | |||
const rest = parts.join(': '); | |||
el.innerHTML = first + ': <span class="no-wrap">' + rest + '</span>'; | |||
} | |||
} | |||
}); | |||
</script> | |||
</html> | </html> | ||