Although the best long-term solution is probably fields, you might want to 
start with companion data dictionaries. In this approach, each main tiddler 
has a companion dictionary tiddler. The advantage to this approach is that 
the data format on the website is almost formatted as a data dictionary. 
For instance, if you had an "Allin" tiddler then you might have a companion 
Allin-dict tiddler with contents like:

climate-terrain: Temperate or tropical/wilderness or subterranean
frequency: Uncommon
organization: Solitary
activity_cycle: Any
diet: Omnivore
intelligence: Average (8-10)
treasure: 1
alignment: Neutral
num_appearing: 1d4
armor_class: 4
movement: 6, Sw 15
hit_dice: 3
thac0: 17
num_of_attacks: 1
damage_attack: See below
special_attacks: Drowning
special_defenses: See below
magic_resistance: Nil
size: L (10’ tall)
morale: Elite (13-14)
xp_value: 270

These are the values from the website, with tabs converted to spaces, 
spaces in the fields (the part before the colons) converted to underscores. 
"no." Converted to "num", and all fields made lower-case because it's so 
easy to make mixed case mistakes.

To reference fields in the dictionary, you use a notation like:

{{Allin-dict##num_of_attacks}}

However, I think this can be adapted for use in the template previously 
described so that "-dict" is automatically applied and a table is 
automatically constructed by the template. It should be easy to convert 
dictionaries like this into fields somewhere down the road.

-- Mark

On Monday, October 1, 2018 at 12:58:46 PM UTC-7, PWL wrote:
>
> You are correct.  I am attempting to make the Monstrous Compendium from 
> 2nd ed AD&D into a wiki.  Here is a link to the site I am using for my 
> source data.   http://lomion.de/cmm/_index.php  
> The site is an almost complete list of all entries from that version of 
> the game.  However, it is a horrible resource to search, poorly organized, 
> the links are all over the place and it cannot be searched beyond the index 
> entries.  I spend far too much time sifting through the entries and my 
> books looking for the stuff I want.   What I have been doing is copying the 
> text from the page to a tiddler then formatting it, copying the image to my 
> hdd and importing it to the tiddler.  Not exactly the most efficient 
> method.  But it keeps it all local on my hdd which is a requirement.
>
> I started out building an actual data base with LO.  But I found it 
> started becoming cumbersome, slow and unstable; probably due to the sheer 
> amount of text.  So I turned to personal wiki's.  Tiddly seems to be the 
> best option I have found for this.  To this point I have learned how to 
> make tabs, tables of contents, tags, tables, and how to format the text and 
> lay out on my tiddlers.  Now I need to figure out how to make the 
> information I use most often searchable; Climate / Terrain, Intelligence, 
> and Hit Dice.  I was thinking fields would be the best way to go, but I am 
> finding the information available confusing.  Reducing the amount typing, 
> and coding I have to do would be a great bonus but learning how to make my 
> data searchable should probably be the priority.  I have not done any 
> serious programming since the 90's.  And I hated it then.  I would love to 
> find a wysiwyg interface for this. 
>
> Any help you can give, or point me to a tiddly for dummies type book or 
> site would be greatly appreciated.  
>
> On Monday, 1 October 2018 04:11:05 UTC-3, [email protected] wrote:
>>
>> PWL,
>>
>>>
>>> I have recently started using Tiddly wiki to build a knowledge database 
>>> and I am having difficulty figuring a few things out.  I am hoping somebody 
>>> can help.
>>>
>>>
>> I see your project looks RPG/MMORPG related.  With patience you'll see 
>> that TW is a great tool for such purposes-- a few individuals here have 
>> applied TW to RPG related purposes.  There's a learning curve but its 
>> definitely a worthwhile curve cause everything that TW can do.
>>  
>>
>>> This wiki is going to be huge when it is done (4500+) entries.  Each 
>>> entry has a list of 14 stats that need to be displayed as a table.  I found 
>>> how to build tables, the work perfectly, and I like the look.
>>> But I have found that it is rather labour intensive to do this every 
>>> time I make a new entry.  Is there a macro, or some code, or anything that 
>>> can make this easier for me?
>>>
>>
>> The templates Mark S mention is the best way to cut out the manual table 
>> coding (typing)  but templates work best with fields not raw text, which 
>> I'm not sure if you have gotten to learning fields yet.  Field value entry 
>> can also be labour intensive but templates again can be used to create 
>> tiddlers with all fields added.
>>
>> How far have you gotten with making tiddlers, would be a major time loss 
>> going back to start and starting with templates?  Would you already have 
>> this data already on a spreadsheet?  there's ways to mass import 
>> spreadsheets into TW, creating tiddlers preformatted.
>>
>> Once you get to the search function, I may have something that may help.
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/5d9b980e-a295-4ea0-b6eb-0bc1b949f59e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to