Navigation

 Home Page
 twitter Twitter Feed
 ko-fi Support me on Kofi
 Series Index: A to Z|By Country|By Platform
 News Feed & Site Updates: 2019 Nov|Dec
2020 Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec
2021 Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec
2022 Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec
2023 Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec
2024 Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec
2025 Jan


BL Calendar (click image to open in new tab)
January 2025
Archive 2020|2021|2022|2023|2024|2025

Jump To
CurrentUpcomingCompleted
ShortsCancelledNot Made


 Currently Airing  (A-Z order)

Click here to expand or collapse...
Thailand Every You, Every Me (Youtube release)

 Upcoming BL Series  (Start date)

Click here to expand or collapse...
Thailand Top Form (Thu 20 Mar 2025)

 Completed Series 

Click here to expand or collapse...
Philippines Art Of Love (OFFLINE)
Philippines Beautiful Scars (Episode 4 finale OFFLINE)
Thailand Boyband (No International release)
Myanmar Healing Thingyan (OFFLINE)
Hong Kong Hehe & He (Season 3 - on hiatus)
Thailand If I Love A Boy (OFFLINE)
Philippines Indigo (OFFLINE)
Philippines Jack And Jill (OFFLINE)
Philippines Lakan (OFFLINE)
Thailand Make A Wish [Thailand] (No International release)
Thailand Missing Piece (OFFLINE)
Myanmar My
Thailand My Secret Love (OFFLINE)
Philippines Quaranthings (OFFLINE)
Thailand Roommate (Season 1 OFFLINE)
Japan Sugar Dog Life (No International release)
Thailand Venus In The Sky (Youtube release)

 One-Off BL shorts 

Click here to expand or collapse...

 Cancelled BLs (Uncompleted) 

Click here to expand or collapse...
Philippines Destined/Fated (OFFLINE)
Philippines Infinity (OFFLINE)
Philippines Kiss The Night (OFFLINE)
Philippines Overlooked Love (OFFLINE)
Thailand The Whisperer (EP10 Finale never released)
Philippines Unexpected (OFFLINE)

 Abandoned - Not Made 

Click here to expand or collapse...

Cambodia= Cambodia China= China Hong Kong= Hong Kong India= India
Japan= Japan Laos= Laos Myanmar= Myanmar The Philippines= Philippines
South Korea= South Korea Taiwan= Taiwan Thailand= Thailand Vietnam= Vietnam


edit SideBar

PageSections


While in HTML the purpose of anchors is mostly for jumping to a position in the text, in PmWiki they serve an internal purpose, too: Each anchor also creates a section, because sections are defined as the part of the page between their start anchor and the next anchor. A section name is defined as the name of its start anchor.

Usage scenarios for sections include:

  • To include parts of a page in another one or in itself.
  • Easy retrieval of parts of a page in PHP, using the RetrieveAuthSection() function.
  • Re-use them as templates with include variables for dynamic parts.
    • In blocks of conditional markup, you can defer interpretation of markup that would usually be parsed before the conditions. One way to achieve this is to interrupt the early markup's keyword by putting a bogus include variable in its middle, thus making it some invalid garbage. If the conditions are met to trigger your include command, then the section with the deactivated markup will be interpreted once again, but only after the include variables are replaced. Since your bogus variable has no text, it will just disappear, so this time it won't invalidate the early markup.

Rules for valid section names are by definition the same as for anchors (described in Links#anchors), but in practice there are some additional limitations:

  • If the name ends in more than one dot, the (:include:) command and RetrieveAuthSection() can use it as an end anchor but not as a start anchor.

You can try some experiments on the Test.ExoticSectionNames? page or even just its preview.

Beware of subtle differences:

  • If an anchor in the middle of a line is used as start anchor for the (:include:) command, it reads from the beginning of the line that has the anchor and will include the [[#anchor]] markup, which results in an HTML anchor being generated.
  • In comparison, RetrieveAuthSection() will start reading text from exactly after the mid-line start anchor.
  • When using an anchor in the middle of a line as end anchor though, RetrieveAuthSection() behaves the same as the (:include:) command, about which Include Other Pages warns: It will stop reading at the beginning of the line that has the end anchor, so the last thing included will be the end of line character from the line before the end marker.
    • To avoid the final EOL produce whitespace behind your (:include:) command, end the line before the end anchor with a line joiner (backslash).

See also HTML Semantic Markup.


This page may have a more recent version on pmwiki.org: PmWiki:PageSections, and a talk page: PmWiki:PageSections-Talk.