User:Dine2017: Difference between revisions
mNo edit summary |
|||
Line 56: | Line 56: | ||
function block(l) { | function block(l) { | ||
[title, tattle, ...quotes] = 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)}` | return `|-\n|style="text-align:center"|[[File:PM Bob-Omb Red.png]]<br>${title}\n|data-label="Quotes" style="font-size:90%"|\n${quotes.map(line).join('\n')}\n|data-label="Goombario's Tattle" style="font-size:90%"|\n${line(tattle)}` | ||
} | } | ||
Revision as of 01:49, July 5, 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|data-label="Quotes" style="font-size:90%"|\n${quotes.map(line).join('\n')}\n|data-label="Goombario's Tattle" style="font-size:90%"|\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`) |