From 07a50a4b3cd2ac4c3ef4ab314ba8bc00043d8219 Mon Sep 17 00:00:00 2001 From: the lemons Date: Sat, 5 Feb 2022 17:57:20 -0600 Subject: improve directives 1. DEADEND defeats the collaborative purpose of the site, and BACKLINK is fairly useless without it. 2. PAGETITLE has been added, and it should be useful in cases where REDIRECT is used heavily. --- about.html | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'about.html') diff --git a/about.html b/about.html index a96a417..7751e11 100644 --- a/about.html +++ b/about.html @@ -63,13 +63,10 @@ surround text in square brackets to [emphasize it as important].
  • - type #BACKLINK <room> <action> on its own line to cause the room to link back to an already existing room. replace <action> with the text you desire to appear in the link. replace <room> with everything after https://zzcxz.citrons.xyz/g/. for example, to make a link with the text "go back" which links to https://zzcxz.citrons.xyz/g/xxxxx, type the line #BACKLINK xxxxx go back. #BACKLINK cannot add new actions. + type #REDIRECT <room> on its own line to cause the action to bring you to <room> instead of a new room. replace <room> with the five letters at the end of the url of the desired room. for instance, to make the action link to https://zzcxz.citrons.xyz/g/zzcxz, type #REDIRECT zzcxz.
  • - type #REDIRECT <room> to cause the action to bring you to <room> instead of a new room. like with #BACKLINK replace <room> with the five letters at the end of the url of the desired room. - -
  • - type #DEADEND to prevent people from taking additional actions on the page. this is mostly useful in combination with #BACKLINK. + by default, a title at the top of the page contains the action which brings you to the room. this title can be overridden with #PAGETITLE <title>.
  • you can add /raw to the end of the URL of a room to see its markup (on the lines starting with tab) (example). this feature could also potentially be utilized to implement third-party interfaces. -- cgit v1.2.3