aboutsummaryrefslogtreecommitdiff
path: root/about.html
diff options
context:
space:
mode:
authorthe lemons <citrons@mondecitronne.com>2022-02-05 17:57:20 -0600
committerthe lemons <citrons@mondecitronne.com>2022-02-05 17:57:20 -0600
commit07a50a4b3cd2ac4c3ef4ab314ba8bc00043d8219 (patch)
tree7a28128a071fb38ce21e1eff5b4259542196e1fe /about.html
parent0c6c8d1f682e12ec8710f0b94779ca40c7d5f508 (diff)
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.
Diffstat (limited to 'about.html')
-rw-r--r--about.html7
1 files changed, 2 insertions, 5 deletions
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 <code>[emphasize it as important]</code>.
<li>
- type <code>#BACKLINK &lt;room&gt; &lt;action&gt;</code> on its own line to cause the room to link back to an already existing room. replace <code>&lt;action&gt;</code> with the text you desire to appear in the link. replace <code>&lt;room&gt;</code> with everything after <code>https://zzcxz.citrons.xyz/g/</code>. for example, to make a link with the text "go back" which links to <code>https://zzcxz.citrons.xyz/g/xxxxx</code>, type the line <code>#BACKLINK xxxxx go back</code>. <code>#BACKLINK</code> cannot add new actions.
+ type <code>#REDIRECT &lt;room&gt;</code> on its own line to cause the action to bring you to <code>&lt;room&gt;</code> instead of a new room. replace <code>&lt;room&gt;</code> with the five letters at the end of the url of the desired room. for instance, to make the action link to <code>https://zzcxz.citrons.xyz/g/zzcxz</code>, type <code>#REDIRECT zzcxz</code>.
<li>
- type <code>#REDIRECT &lt;room&gt;</code> to cause the action to bring you to <code>&lt;room&gt;</code> instead of a new room. like with <code>#BACKLINK</code> replace <code>&lt;room&gt;</code> with the five letters at the end of the url of the desired room.
-
- <li>
- type <code>#DEADEND</code> to prevent people from taking additional actions on the page. this is mostly useful in combination with <code>#BACKLINK</code>.
+ 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 <code>#PAGETITLE &lt;title&gt;</code>.
<li>
you can add <code>/raw</code> to the end of the URL of a room to see its markup (on the lines starting with tab) (<a href="/g/zzcxz/raw">example</a>). this feature could also potentially be utilized to implement third-party interfaces.