playground:testing_grounds

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
playground:testing_grounds [2024/07/04 23:53] – removed - external edit (Unknown date) 127.0.0.1playground:testing_grounds [2025/02/10 13:56] (current) – ↷ Links adapted because of a move operation 20.171.207.244
Line 1: Line 1:
 +This page is intended as a testing ground/repository for wiki management lore, specifically, somewhere to fuck around and find out without damaging the rest of the wiki.
  
 +===== Headers =====
 +Terminology: #-header refers to the # of '=' signs bracketing the header text.
 +===== Does a five-header generate a ToC?=====
 +Nope. About three headers are needed for a Table of Contents to form.
 +== 2-header ==
 +note that two-headers don't appear to show up on the ToC
 +=== 3-header ===
 +3-headers don't either.
 +==== 4-header ====
 +these do, though.
 +==== Hidden Headers ====
 +===== Does this show up?? ====
 +short version is that trying to wrap hide headers is a bad/nonfunctional idea (they won't show up on ToC). some workaround is needed. 
 +trying to hide a sentence now<wrap hide>====How about this?====</wrap>
 +what about now?
 +
 +
 +let's try something new. first question, inline headers. answer: automatic line break, okay. additional try: ==== header inline 2 ==== does having text on either side of the header prevent the line break? yes it does. huh.
 +
 +<wrap outdent> ==== outdented header, might break because headers and wraps and inline, might not ==== </wrap>
 +line for breakign, no break despite being a new line from the wrap.
 +
 +<WRAP outdent>
 +==== Outdented header with big wrap, own line ====
 +</WRAP>
 +okay okay okay! big wraps, giving the header its own line ( '=' marks have nothing past them ) works on at least some wraps.
 +
 +things, stuff, linebreak text
 +
 +<WRAP hide>
 +==== Big Wrap Hide? ====
 +</WRAP>
 +
 +this text should be under a header called 'big wrap hide?'
 +
 +the answer: shows up on ToC, but cannot be jumped to... precisely useless. onlyprint?
 +
 +<WRAP onlyprint>
 +==== Big Wrap Onlyprint? ====
 +</WRAP>
 +
 +this text should be under a header called 'big wrap onlyprint?'. Small wrap onlyprint doesn't work because inline wrap interferes with header formation.
 +
 +answer: same effect as Big Wrap Hide, shows up on ToC but cannot be jumped to.
 +
 +<wrap onlyprint>==== header inline? ==== </wrap>
 +
 +this text should be under a header called 'header inline'. I've wrapped it in lowercase onlyprint tags. let's see what happens to the ToC. Answer: doesnt' show up on ToC. Damnit.]]]
 +
 +maybe we have a/the plugin for this?
 +====%hide hidden header plugin test ====
 + 
 +nope. wrap (anchor)?
 +
 +<wrap #anchor> anchortext </wrap>
 +anchor wrap works! it works! but doesn't show up on the ToC!
 +
 +<wrap #nothing /> empty wrap tag also works
 +
 +theory: plaintext matching for headers. let's try big wrap 'testables' and anchortext 'testables'.
 +
 +<WRAP hide>
 +====testables====
 +</WRAP>
 +<wrap #testables />
 +
 +mmmnope. why? whyyyyyy
 +
 +adfa
 +a
 +dsf
 +as
 +df
 +ads
 +fads
 +f
 +asdf
 +as
 +fasd
 +fa
 +dsf
 +asd
 +fas
 +df
 +adsf
 +page lengthener
 +
 +<wrap #headers /> trying anchortext headers. does this break the (visible) Headers header?
 +
 +answer: toc Headers header overrides ig
 +
 +what if spoilers?
 +<WRAP spoiler>
 +==== this headline is a spoiler ====
 +</WRAP> 
 + big ugly red box. no-go
 +==== WRAPS ====
 +See [[https://www.dokuwiki.org/_media/plugin:wrap_plugin_example10.png]].
 +
 +==== Aight Folks Let's Try Some Tabs! ====
 +
 +<WRAP tabs>
 +  * [[world_lore:s1:woodcoin|Woodcoin]]
 +  * [[world_lore:s1:calendar|Calendar]]
 +  * [[player_resources:quickstart|Quickstart]]
 +</WRAP>