User:Pokeresp/Sandbox: Difference between revisions
From Bulbapedia, the community-driven Pokémon encyclopedia.
⧼bulbapediamonobook-jumptonavigation⧽⧼bulbapediamonobook-jumptosearch⧽
Flushing my sandbox |
m redlink maintenance |
||
(8 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
==Hidden text block== | |||
===Attempt 1. Unsuccessful.=== | |||
An attempt to create a hidden text block, which would lock after being open. | |||
{|table width="500px" border="1px" | |||
|- | |||
|- | |||
|<code> | |||
<html><br> | |||
<a href="javascript:void('')" onclick="this.style.display='none';document.getElementById('songfirstverse').style.display='block'">Sing a song, please!</a> | |||
<span style="display:none;" id="songfirstverse" name="songfirstverse"> | |||
:''I wanna be the very best'' | |||
:''Like no-one ever was.'' | |||
:''To catch them is my real test,'' | |||
:''To train them is my cause.'' | |||
:<a href="javascript:void('')" id="showkanto" name="showkanto" onclick="this.style.display='none';document.getElementById('showjohto').style.display='none';document.getElementById('kantoverse').style.display='block'">Kanto, please!"</a> | |||
:<a href="javascript:void('')" id="showjohto" name="showjohto" onclick="this.style.display='none';document.getElementById('showkanto').style.display='none';document.getElementById('johtoverse').style.display='block'">Johto, please!"</a> | |||
</span> | |||
<span style="display:none;" id="kantoverse" name="kantoverse"> | |||
:''I will travel across the land,'' | |||
:''Search in far and wide.'' | |||
:''Is Pokémon to understand'' | |||
:''The power that's inside?'' | |||
</span> | |||
<span style="display:none;" id="johtoverse" name="johtoverse"> | |||
:''My whole life has led to this,'' | |||
:''Time to test my skills'' | |||
:''I know I just can't miss'' | |||
:''Gonna show the world'' | |||
</span> | |||
</html> | |||
</code> | |||
|} | |||
If only <a>'s were interpreted as normal hyperlinks, but, sadly, embedding html is not allowed, so <html> won't work... | |||
===Attempt 2. Semi-successful=== | |||
{| class="expandable" | |||
|- | |||
!align=left|Something is hidden here | |||
|- | |||
| Well, this table has no border and no fixed width, but its title won't move when "[show]" is clicked. At least in my browser. | |||
|} | |||
==Some experiment with links== | |||
For personal use. | |||
[[EP001]] | |||
{{evostone|Dawn Stone}} | |||
{{evostone|Evolutionary Stone#Not Existing Stone|Not Existing Stone}} | |||
[[Poké Ball|Dive Ball]] | |||
[[Poké Ball|Foobar Ball]] | |||
Foobar! | |||
==JWBF== | |||
Hello, Pokémon world! |
Latest revision as of 12:07, 7 September 2024
Hidden text block
Attempt 1. Unsuccessful.
An attempt to create a hidden text block, which would lock after being open.
|
If only <a>'s were interpreted as normal hyperlinks, but, sadly, embedding html is not allowed, so <html> won't work...
Attempt 2. Semi-successful
Something is hidden here |
---|
Well, this table has no border and no fixed width, but its title won't move when "[show]" is clicked. At least in my browser. |
Some experiment with links
For personal use.
EP001 Dawn Stone Not Existing Stone Dive Ball Foobar Ball Foobar!
JWBF
Hello, Pokémon world!