King_DuckZ
f0e7a1d136
Lots of changes I made on the train and had little time to make tidily. Use c++17 (for std::optional) Clean up the cmake script a bit Get rid of unused stuff Skeleton implementation of some classes for scraplang
17 lines
443 B
Text
17 lines
443 B
Text
from http://sid-story.wikia.com/wiki/Album
|
|
pages = //blah/blah/text()
|
|
end
|
|
|
|
apply {{sidian_info_model}} to {{pages}}
|
|
struct Sidians
|
|
sidian_name default("n/a") = //table[@class="wikitable sortable"]/tr/td[4]/a/text()
|
|
activ_probability default("0") = //table[@class="wikitable sortable"]/tr/td[3]/text()
|
|
end
|
|
something_else = /html/head/text()
|
|
end
|
|
|
|
==sidian_info_model
|
|
{{#Sidians}}
|
|
{{sidian_name}} {{activ_probability}}
|
|
{{/Sidians}}
|
|
==end
|