Take a look at:
http://cardcollection.tiddlyspot.com/

Ken Girard

On Feb 17, 1:23 pm, Steve <[email protected]> wrote:
> After looking at your link and playing around a bit, I am convinced
> that TiddlyWiki will work for me.  I added the code about to
> EditTemplate and ViewTemplate, as well as creating the other tiddlers
> and the new card link.  However, none of it seems to be working.  I'm
> still pretty new at this so I may be missing something very very
> obvious.  I was reading some stuff about the hideWhen plugin but I am
> not sure where I messed up.
>
> Any ideas on where I should start troubleshooting?
>
> Thanks,
> Steve
>
> On Feb 14, 1:22 pm, Ken Girard <[email protected]> wrote:
>
>
>
> > It's been a while since I played MtG, but I think TW would be a great
> > Since you are gathering the same data set off each card, try using
> > hideWhen, customFields, and templates.
>
> >  You put together an edit template (CardTemplateEdit) something like:
> > <div class='card-info'>
> >  Color: &nbsp;<span macro='edit c-color'></span> <br />
> >  Type: &nbsp;<span macro='edit c-type'></span> <br />
> >  Rarity: &nbsp;<span macro='edit c-power'></span> <br />
> >  Attack: &nbsp;<span macro='edit c-attack'></span> <br />
> >  Defense: &nbsp;<span macro='edit c-defense'></span> <br />
> >  Number of: &nbsp;<span macro='edit c-number'></span> <br />
> > </div>
> > Same for a viewTemplate (CardTemplateView) with all the edits changed
> > to view.
>
> > Then in your EditTemplate you put something like:
> > <div macro="showWhen tiddler.tags.contains('Card') || tiddler.title
> > == 'New Card'"> [[CardTemplateEdit]]</div>
>
> > And in the ViewTemplate:
> > <div macro="showWhenTagged Card">[CardTemplateView]]</div>
>
> > Now add in  the following in a convenient location:
> > <<newTiddler label:'Add a card' title:'New Card' tag:'Card'>>
> > When you click it, it opens a tiddler tagged Card, ready to collect
> > your data.
>
> > All that is left is using ForEach to gather all the data and display
> > it in a fashion you like.
>
> > For something that does a lot of this, take a look 
> > at:http://no-sin.com/wiki/WorkTracker.html
>
> > Just occurred to me:
> > Use what I wrote above to gather the data on your entire collection.
> > Then use tiddlerSlices (http://tiddlywiki.org/wiki/Slice) to list data
> > on different decks;
> > |Goblin Deck|3|
> > |Destroy It All|4|
> > |World Beater|0|
>
> > Write a forEach that uses the containing tiddler's title to look up
> > all info on the cards in that deck. So if you put it into a tiddler
> > titled Goblin Deck it would list the name of the card and how many to
> > put in to the deck.
>
> > Ken Girard
>
> > On Feb 13, 5:33 pm, "Dave Gifford -http://www.giffmex.org/";
>
> > <[email protected]> wrote:
> > > Word of encouragement-
>
> > > Most of this sounds right up TiddlyWiki's alley, using
> > > ForEachTiddlerPlugin and maybe a couple others. The only tricky part
> > > is your description of the stats page. I'm sure that's doable somehow.
> > > We'll see what ideas the big guns give you...
>
> > > Dave
>
> > > On Feb 13, 2:58 pm, Steve <[email protected]> wrote:
>
> > > > Hi All,
>
> > > > Just wanted to see if TiddlyWiki had the capabilities to handle my
> > > > project without too much hassle.  I'm willing to do some programming,
> > > > but if I have to code tremendous amounts there might be a better tool
> > > > out there.
>
> > > > I have used TiddlyWiki and its variants in the past for different
> > > > tasks and organizing but it was all very surface level.  I've got a
> > > > personal project that I was going to organize using an Excel sheet,
> > > > but I think that tagging in TiddlyWiki will give me some better
> > > > organization and updating ability.
>
> > > > Forgive my geekiness but this project is essentially to micromanage a
> > > > fixed set of collectible card game (A draft cube forMagicthe
> > > > Gathering to be specific) cards based on several attributes as well as
> > > > providing a place to comment and note on individual cards.  It's not
> > > > intended to manage a large collection but rather a rotating pool of
> > > > cards (less than 400).  Part of the need is the ability to get
> > > > statistics.  Each card would be represented by a Tiddler (and there is
> > > > only ever one of any card) and would have tags representing various
> > > > attributes (i.e. type of card, color of card, cost of card, whether a
> > > > card is active or not).
>
> > > > I would like to have a page with stats like "Cards tagged as 'red' are
> > > > 15% of all active cards".  Or "Of active red cards, there are 10 with
> > > > a cost of 2".
>
> > > > The tiddler for a card itself would contain a link to external
> > > > information about the card in the game as well as notes about the card
> > > > based upon its performance in games.  New cards could be added,
> > > > replacing older cards which would have their tag changed from active
> > > > to inactive, so the notes could be maintained even though they would
> > > > not count in the stats.
>
> > > > It would also be great to be able to list the cards by different
> > > > combinations of tags and in order of certain values.
>
> > > > Is this something TiddlyWiki could do and if so, where should I start?
>
> > > > Thanks,
> > > > Steve- Hide quoted text -
>
> > - Show quoted text -- Hide quoted text -
>
> - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/TiddlyWiki?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to