Shortening 2001:0db8:0000:0000:0000:ff00:0042:8329, and reading a /64
IPv6 addresses are long enough that nobody writes them out in full, and that is where the trouble starts. The address 2001:0db8:0000:0000:0000:ff00:0042:8329 can legally be written 2001:db8:0:0:0:ff00:42:8329, or 2001:db8::ff00:42:8329, or with capital letters, and all of those are the same 128 bits. A firewall rule written one way and a log line written another do not match as text even though they are the same address.
RFC 5952 fixes one spelling. Work through the example. First, lower-case the hex digits; this one has none in upper case. Second, drop the leading zeros in each group: 0db8 becomes db8, 0000 becomes 0, 0042 becomes 42. That gives 2001:db8:0:0:0:ff00:42:8329. Third, find the longest run of zero groups, here the three in a row after db8, and replace it with "::". The result is 2001:db8::ff00:42:8329. Paste the long form above and that is the compressed form you get.
The rule has two details people get wrong. A lone zero group is never replaced by "::", so 2001:db8:0:1:1:1:1:1 stays as it is. And when two runs of zeros are the same length, only the first is shortened: 2001:db8:0:0:1:0:0:1 becomes 2001:db8::1:0:0:1, not 2001:db8:0:0:1::1. Both are valid addresses; only the first is the standard spelling.
Now add a prefix. 2001:db8:abcd:12::1/64 says the first 64 bits, the first four groups, name the network. Keep those and zero the rest and you have the network, 2001:db8:abcd:12::. Set the rest to all ones and you have the last address, 2001:db8:abcd:12:ffff:ffff:ffff:ffff. The size is 2 to the 64th, which is 18,446,744,073,709,551,616 addresses, all of it one LAN. A /48, a common allocation for a site, holds 2 to the 16th of those /64 networks, which is 65,536.
This is why IPv6 subnetting feels different from IPv4. Nobody counts hosts. A LAN is a /64 almost by rule, because stateless address autoconfiguration needs 64 bits for the device part, and planning is about how many /64s you have. The type line tells you whether the address is global, link-local (fe80::/10), unique local (fc00::/7, the private range), multicast or the documentation range 2001:db8::/32 used in examples like these.
The limits are plain. This page reads one address or prefix at a time and does not split prefixes into lists of subnets. It does not look up who owns an address or whether it answers. The address type comes from the special ranges in the IANA registry and says nothing about whether a particular address is actually in use.