Danny-Alexander / terratech-block-list

Web page to format and display mod-exported block properties for TerraTech game.
MIT License
3 stars 0 forks source link

Generate TT wiki block info template code #36

Open Danny-Alexander opened 5 years ago

Danny-Alexander commented 5 years ago

Branch: feature/display-tt-wiki-block-info-code

Generate and display text similar to the following for each block to help updating the TT wiki:

{{Block Infobox
| name        = GSO Dirt Wheel
| corp =  Galactic Survey Organisation (GSO) 
| license = 1
| rarity = Common
| ingredient1 = Rubber Jelly
| ingredient1Uses = 2
| ingredient2 = Plumbite Ore
| ingredient2Uses = 3
| value = 234
| sellvalue=26
| scrapvalue=78
| hp=250
| mass=1
| description=Larger wheels with a bit more umpf!
| id=30
}}

https://terratech.gamepedia.com/Template:Block_Infobox

ToDo:

Danny-Alexander commented 5 years ago

Started in branch: feature/display-tt-wiki-block-info-code

Danny-Alexander commented 5 years ago

https://clipboardjs.com/ might be nice for a copy button.