|
|
(767 intermediate revisions by more than 100 users not shown) |
Line 1: |
Line 1: |
− | Experiment with Wiki markup on this page: click the "edit" link at the bottom of the page to start. This page is periodically cleaned up so don't post anything you want to keep.
| + | #REDIRECT [[Project:Sandbox]] |
− | | + | |
− | You may also want to read:
| + | |
− | * [[Legacy:Wiki Markup|Wiki Markup]]: the tags used to write pages. It's not HTML.
| + | |
− | * [[Legacy:Wiki FAQ|Wiki FAQ]]: more on Wiki
| + | |
− | * [[Legacy:Project FAQ|Project FAQ]]: more about this place
| + | |
− | | + | |
− | ----
| + | |
− | * some quick examples... this is a bullet list
| + | |
− | * it's just a * at the start of a paragraph. a single return character ends the list item
| + | |
− | * ''this is emphasized text''
| + | |
− | * '''this is very emphasized text'''
| + | |
− | * '''''this is extremely emphasized text'''''
| + | |
− | * some simple html tags work:<sup>2</sup>, underlined with this <nowiki><u></u></nowiki> tag.''</u>, but it's best to stick to Wiki markup.
| + | |
− | :this is indented
| + | |
− | ::this is double indented... and so on.
| + | |
− | | + | |
− | ; this is a Definition List (DL in HTML) : this is the definition for the term
| + | |
− | # this is a numbered list | + | |
− | # next item
| + | |
− | # unfortunately, # and * lists don't mix
| + | |
− | | + | |
− | * Bullet 1
| + | |
− | *# Number 1 in bullet 1
| + | |
− | *# Number 2 in bullet 1
| + | |
− | * Bullet 2
| + | |
− | | + | |
− | ==This is a header ==
| + | |
− | * the space on the inside of the == is important
| + | |
− | * use more = signs to make lower level headings (h2 up to h5)
| + | |
− | | + | |
− | ==Test Links ==
| + | |
− | | + | |
− | Yes, all the below are links.
| + | |
− | * [[Legacy:Yeah|yeah]]
| + | |
− | * [[Legacy:Is This A Link|is this a link]]?
| + | |
− | | + | |
− | ----
| + | |
− | | + | |
− | ==Mychaeel demonstrates for WheatPuppet ==
| + | |
− | | + | |
− | ===Subtopic 1 ===
| + | |
− | | + | |
− | ===Subtopic 2 ===
| + | |
− | | + | |
− | ==...continued ==
| + | |
− | | + | |
− | ===Subtopic 3 ===
| + | |
− | | + | |
− | ===Subtopic 4 ===
| + | |
− | | + | |
− | ----
| + | |
− | | + | |
− | :''To quote text without applying wiki formatting rules, enclose within a <nowiki><nowiki>[[Legacy:Baby, Baby, Baby|Baby, Baby, Baby]]</nowiki></nowiki> section.'' [[Legacy:Baby, Baby, Baby|Baby, Baby, Baby]]
| + | |
− | | + | |
− | ----
| + | |
− | | + | |
− | ''Nuclear Fuzz Grunge'' would like to know what: <pre>—</pre> is. I see it everywhere. Is this a function that is yet to be coded?
| + | |
− | :''tarquin'': "& mdash ;" is a standard HTML entity for the m-dash character. I've since created wiki markup for this so use of it here is obsolete. Type two hyphens together and they'll render as a long dash. (I'm fussy about typography like that, you see!)<br />See [[Legacy:Wiki Markup|Wiki Markup]]. There's also [[Legacy:Wiki Development|wiki development]] to discuss the system.
| + | |
− | ::Actually "& mdash" syndrome occurs when you view this with good ole netscape 4.7 whether or not the code has double hyphens in it, it all looks ''much'' nicer in mozilla and probably that other browser who's name I forget.
| + | |
− | : You get "mdash" appearing as text in Netscape 4.7? Uh-oh. Upgrade :) Mozilla is in fact my target browser for CSS. I try and make sure it's ok in Opera too. IE can go hang. – ''Tarquin''
| + | |
− | : Quite right too! :-) actually there's a bonus with 4.7 ... no banner ads! still looks ugly though – ''Zedsquared''
| + | |
− | | + | |
− | ----
| + | |
− | | + | |
− | <nowiki></nowiki>:-) Smiley:-) :-) 123:-) :D:tup: mesh=doodedoo mesh =doodedoo
| + | |
− | | + | |
− | ----
| + | |
− | | + | |
− | Different monospaced fonts:
| + | |
− | | + | |
− | <pre> The quick [[Legacy:Brown Fox|brown fox]] jumps over – the ''lazy dog''. (<pre></pre>)</pre>
| + | |
− | The quick [[Legacy:Brown Fox|brown fox]] jumps over – the ''lazy dog''. (verbatim paragraph, character markup is processed)
| + | |
− | | + | |
− | <tt> </tt><code>The [[Legacy:Quick Brown|quick brown]] fox jumps over the ''lazy dog''. (<code></code>)</code>
| + | |
− | | + | |
− | <uscript> The quick [[brown fox]] jumps over the ''lazy dog''. (<uscript>)</uscript>
| + | |
− | | + | |
− | Wah! I figured it out. Opera seems to fail to switch back to the normal monospaced font after inserting a HTML entity (from a different font, like <code>→</code>), and thus everything following the arrow in the following paragraph is formatted as Lucida Sans Unicode:
| + | |
− | | + | |
− | File -> Save -> File Format
| + | |
− | | + | |
− | I'm filing a bug report to Opera Software at the moment. [http://mb.link-m.de/opera6-unicodechars.html Here's the test case.]
| + | |
− | :''I saw it too, but now (after several crashes and Tweak UI -> Repair Font Folder) it works like it's supposed to. – [[Legacy:Wormbo|Wormbo]] (No wait! That en-dash in front of'' Wormbo ''is displayed inside of the'' W''. Another bug of Opera?)''
| + | |
− | | + | |
− | : You mean, Opera 6.01 displays "Save -> File Format" in Courier New after the first "->"? →[[Legacy:Mychaeel|Mychaeel]]
| + | |
− | | + | |
− | : Yes, but it seems like there's another display error now.
| + | |
− | | + | |
− | Fooling around with this... testing testing [http://www.beyondunreal.com/ testing link.] -Bean
| + | |
− | | + | |
− | (messages shunted to [[Legacy:Bean|Bean]]. Delete on read. :) )
| + | |
− | | + | |
− | I think bot navigation, pathnoding, and basic bot pathing should all be combined. It would be much cleaner. Just a suggestion. →[[Legacy:Bean|Bean]]
| + | |
− | | + | |
− | '''Tarquin:''' Oh, definitely. It's been on my list of "arg, I really don't want to have to deal with this myself" pages for a while. Mention it on [[Legacy:Project Discussion|Project Discussion]], on one of the pages in question, or just dive in & make changes :D. [[Legacy:Artificial Intelligence|Artificial Intelligence]] is the main topic page, just make sure anything on the subject is linked to from there.
| + | |
− | | + | |
− | ----
| + | |
− | | + | |
− | Without <code><wiki></code>:
| + | |
− | | + | |
− | {{innerbox| Quotation
| + | |
− | | + | |
− | Yadda
| + | |
− | | + | |
− | }}
| + | |
− | | + | |
− | With <code><wiki></code>:
| + | |
− | | + | |
− | {{innerbox|
| + | |
− | Quotation
| + | |
− | | + | |
− | Yadda
| + | |
− | | + | |
− | | + | |
− | }}
| + | |
− | | + | |
− | Linebreak:
| + | |
− | | + | |
− | {{innerbox| Quotation <br />Yadda
| + | |
− | | + | |
− | }}
| + | |
− | | + | |
− | '''Mychaeel:''' Should change the <code><blockquote></code> CSS to have less padding at the bottom. The <code><p></code> margin and the <code><blockquote></code> padding adds up...
| + | |
− | | + | |
− | '''Tarquin:''' will do. Might also remove the border from Textbook style.
| + | |
− | | + | |
− | '''Mychaeel:''' Changed it for Chilled Blue Plain. <code>blockquote { padding:12px 12px 4px 12px; }</code>
| + | |
− | | + | |
− | '''Mychaeel:''' Fixed the behavior of <code>> ...</code> quotation syntax: It supports the <code>\\</code> paragraph continuation/linebreak sequence now. No need for <code>
| + | |
− | ...
| + | |
− | </code> anymore in quotation blocks.
| + | |
− | | + | |
− | ----
| + | |
− | | + | |
− | XXXX The quick brown fox <br />XXXX jumps over the lazy dog. <br />XXXX The five boxing wizards :-) <br />XXXX jump quickly. <br />XXXX Jackdaws love my big <br />XXXX sphinx of quartz. :-D
| + | |
− | | + | |
− | Okay, who stole my diaphragm?
| + | |
− | | + | |
− | While we're on the topic of pangrams: Cwm fjord-bank glyphs vext quiz.
| + | |
− | | + | |
− | ----
| + | |
− | | + | |
− | [[Legacy:Testing A New Page|Testing a new page]]
| + | |
− | | + | |
− | ----
| + | |
− | | + | |
− | =Unreal Wiki Wumping=
| + | |
− | | + | |
− | ==Wumpus Wookies==
| + | |
− | | + | |
− | ===Wiki Wumpus Wumping for Wookies ===
| + | |
− | | + | |
− | Wiki Wumping <br />For Wumpus Wumping Wookies
| + | |
− | | + | |
− | ==== Character Wumping Good ===
| + | |
− | | + | |
− | * Equals
| + | |
− | * Forward Slash
| + | |
− | * Asterisks
| + | |
− | * Pound
| + | |
− | * Simicolon
| + | |
− | * Colon
| + | |
− | | + | |
− | # Ton and what do you get.
| + | |
− | # Tons and what do you get.
| + | |
− | # Tons and what do you get.
| + | |
− | | + | |
− | ; Unreal Tournament : Wumpus Fragging for Wookies.
| + | |
− | ; UnrealEd : Wookie Wumping for Wiki Wumpuses.
| + | |
− | ; Unreal Wiki : Wiki Wumping Wumpus Wookie.
| + | |
− | | + | |
− | {{classbox| [[Legacy:Wiki|Wiki]] >> [[Legacy:Wookie|Wookie]] >> Wumpus}}
| + | |
− | | + | |
− | <uscript>
| + | |
− | // Wiki Wumping
| + | |
− | local int Wumpus;
| + | |
− | local int Wiki
| + | |
− | for (Wumpus = Wiki; Wumpus >= Wiki; Wumpus++)
| + | |
− | Wookie(Wiki*Wumpus);
| + | |
− | </uscript>
| + | |
− | | + | |
− | And soooooo much more.
| + | |
− | | + | |
− | '''Niaht:''' Greetings all. Nice to meet you. That's it for the sandbox for me. Time to move on to something more productive.
| + | |
− | | + | |
− | '''DJPaul:''' Hi MC!
| + | |
− | | + | |
− | '''MC Spanky:''' W0RD!!!!! D!S EES 50 L33T!!!!!
| + | |
− | | + | |
− | <uscript>
| + | |
− | function Test(bool bIdiot)
| + | |
− | {
| + | |
− | if (bIdiot)
| + | |
− | log("See, it even has UScript parsing!");
| + | |
− | }
| + | |
− | | + | |
− | <uscript>
| + | |
− | // leadIn holds the starting characters before any text
| + | |
− | headingLevel = leadIn.length;
| + | |
− | // cap max heading level at 6
| + | |
− | if(headingLevel > 6)
| + | |
− | headingLevel = 6;
| + | |
− | // we want = to be h6 and ====== to be h1
| + | |
− | | + | |
− | headingLevel -= 7;
| + | |
− | </uscript>
| + | |
− | | + | |
− | ----
| + | |
− | | + | |
− | ==Ahhh But can it do this? ==
| + | |
− | | + | |
− | can Unreal Wiki do multiple lines in a list item?
| + | |
− | * start <br />seccond line indented correctly with a line break token
| + | |
− | * end
| + | |
− | | + | |
− | more ='s should mean higher heading level, not lower
| + | |
− | | + | |
− | (this should be java but oh well)
| + | |
− | | + | |
− | :'''Tarquin:''' number of "=" corresponds to H* HTML tag. Welcome to the wiki, whoever you are. :)
| + | |
− | | + | |
− | And everybody say..... YATTA!
| + | |
− | | + | |
− | ----
| + | |
− | | + | |
− | '''Mychaeel:''' Although its use is discouraged, you can use the HTML <code><img></code> tag now.
| + | |
− | | + | |
− | <img src="/wiki-ext/zipunr.icon.gif" width=64 height=64>
| + | |
− | | + | |
− | ----
| + | |
− | | + | |
− | {|
| + | |
− | | + | |
− | |-
| + | |
− | |> a > sign in a table
| + | |
− | | style="text-align: right" |but here it means right-align
| + | |
− | |-
| + | |
− | |<nowiki>> again </nowiki>
| + | |
− | | style="text-align: right" |same here
| + | |
− | |}
| + | |
− | | + | |
− | In general, < and > are normal characters
| + | |
− | | + | |
− | ----
| + | |
− | | + | |
− | =H1=
| + | |
− | | + | |
− | ==H2==
| + | |
− | | + | |
− | ===H3===
| + | |
− | | + | |
− | ====H4====
| + | |
− | | + | |
− | =====H5=====
| + | |
− | | + | |
− | Ok, I'm trying to create a really, really long paragraph here just to mess around with the diff functionality of the Wiki. I'll try to make it as long as possible, but it seems like i'm running out of ideas pretty fast. :( OK, maybe it's already enough.
| + | |
− | | + | |
− | ----
| + | |
− | | + | |
− | What happens if I do this?
| + | |
− | | + | |
− | '''Mychaeel:''' Somebody sees it, frowns, and restores the original text.
| + | |
− | | + | |
− | ----
| + | |
− | | + | |
− | '''Mychaeel:''' No newline before here.
| + | |
− | | + | |
− | '''Mychaeel:''' Single newline before here.
| + | |
− | | + | |
− | '''Mychaeel:''' No newline before here.
| + | |