User:Dine2017: Difference between revisions
Line 45: | Line 45: | ||
|- | |- | ||
| [[Toad Town#Characters found]] || | | [[Toad Town#Characters found]] || | ||
|} | |||
{| class="wikitable mw-collapsible mw-collapsed" | |||
!Mysterious code | |||
|- | |||
| | |||
<pre> | |||
line = s => `* "''${s}''"` | |||
function block(l) { | |||
[title, tattle, ...quotes] = l; | |||
return `|-\n|style="text-align:center"|[[File:PM Bob-Omb Red.png]]<br>${title}\n|\n${quotes.map(line).join('\n')}\n|\n${line(tattle)}` | |||
} | |||
function f(s) { | |||
blocks=s.split('\n\n').map(x=>x.split('\n')).map(block).join('\n') | |||
console.log(blocks) | |||
} | |||
f(`Character A | |||
Tattle | |||
Quote 1 | |||
Quote 2 | |||
Character B | |||
Tattle | |||
Quote 1 | |||
Quote 2`) | |||
</pre> | |||
|} | |} |
Revision as of 03:10, July 3, 2022
Dine2017's Userbox Tower | ||
| ||
| ||
| ||
| ||
|
Typo removal
I'm currently fixing typos in the mainspace. The easiest way to find them is to search for duplicate words like "the the", "a a", "an an", "a an", "to to" (warning: this one can be grammatical in some contexts), etc.
After this is done, I plan to search for variations of game titles, like "Paper Mario: The Thousand Year Door" for "Paper Mario: The Thousand-Year Door".
Paper Mario Minor NPC project
STATUS: Temporarily suspended due to lost of interest. I don't mind if you continue this project without asking me. Also, I wonder if these tables should be moved to a single page (like List of Minor NPCs in Paper Mario) since some of them take too much space.
The quotes come from the Paper Mario Text Dump by Rew, but I have personally verified their intended usage by playing the game.
Mysterious code |
---|
line = s => `* "''${s}''"` function block(l) { [title, tattle, ...quotes] = l; return `|-\n|style="text-align:center"|[[File:PM Bob-Omb Red.png]]<br>${title}\n|\n${quotes.map(line).join('\n')}\n|\n${line(tattle)}` } function f(s) { blocks=s.split('\n\n').map(x=>x.split('\n')).map(block).join('\n') console.log(blocks) } f(`Character A Tattle Quote 1 Quote 2 Character B Tattle Quote 1 Quote 2`) |