Skip to content

Commit

Permalink
more videogame release templates
Browse files Browse the repository at this point in the history
  • Loading branch information
spencermountain committed Oct 16, 2023
1 parent 0b57da6 commit 19e059a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 10 deletions.
5 changes: 1 addition & 4 deletions scratch.js
Original file line number Diff line number Diff line change
@@ -1,13 +1,10 @@
import wtf from './src/index.js'
console.log('start')

let str = `before {{vgrelease|NA|September 29, 1999|EU|October 18, 1999}} after
let str = `before {{Vgrtbl|NA|1989-03-12|EU|August 16, 2008}} after
`

wtf.extend((models, templates) => {
templates.vgrelease = ['region', 'date', 'region2', 'date2', 'region3', 'date3', 'region4', 'date4']
})
let doc = wtf(str)
// const doc = await wtf.fetch('https://en.wikivoyage.org/wiki/Interstate_5')

Expand Down
7 changes: 1 addition & 6 deletions src/template/custom/aliases.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ let aliases = {
under: 'underline',
brackets: 'bracket',
raise: 'lower',
vgrelease: 'video game release',
}

//multiple aliases
Expand Down Expand Up @@ -256,11 +255,7 @@ let multi = {
checked: ['already done', 'resolved1', 'check mark-n', 'checked box'],
// https://en.wikipedia.org/wiki/Template:Ferry
'station link': ['amtk', 'cta', 'bts', 'mnrr', 'mtams', 'munis', 'njts', 'scax', 'wmata', 'rwsa'],
// 'br separated entries': [
// 'br list',
// 'br-separated entries',
// 'br separated entries',
// ]
'video game release': ['vgrelease', 'video game release hlist', 'vgrtbl', 'vgrelease hlist', 'vgrh'],
}

// - other languages -
Expand Down

0 comments on commit 19e059a

Please sign in to comment.