You are viewing an old revision of this page, saved 2006-09-05 14:13 by Prisoner. View current version · Revision history

templates: From Prisoner

It is all new to me too. I'm still experimenting.

http://meta.wikimedia.org/wiki/Help:Template is the help text for templates, which is where I started. Templates are just regular pages with the prefix Template:, so the page Template:released is included where I put { {released} } (without the extra spaces).

You can put parameters in, but I haven't figured out the details yet.

And unfortunately, I'm out of time for the moment, so I can't play more. :)

Spin - I've created a cardRequired template and used it in the Series 1 section. Check it out and let me know if it makes life easier.

More answers to your template question on my talk page. Prisoner

squiddy22

I have answered your question on my user talk page. You can check it out.

items by theme

Spin, I notice you're now adding items by category. I really like this idea, but I'm worring on two counts:

  • I think that page is going to get big, and will need splitting
  • I know you're doing cross-references. I wonder if it might make more sense to do each item as an individual page (just the table row), and include it on every page where it might make sense. So you just need to update the page once and the change will show upe everywhere its included.

Prisoner reply

Yes, I mean one page for each theme, so there would be a Haloween page (possibly with sections for each year), a Pirates theme page, and so on.

The important issue to consider is how to present the items. The way you're doing it (with each item linking to a central reference) makes sense. But it might also make sense that each item on every page is complete by itself. We can do that by making each item its own page with just the table row, and then using templates to include that item everywhere it is used.

changing more than once

Yup, that is exactly my point. :)

What I'm proposing is that each item (or perhaps set of items) would be on its own page, and then you include that page every place you want to use it.

so you would create, for example, a page named "itemCrate" and then include it with {{:itemCrate} }

this way, when we change the price or whateve ron that item, it gets automatically changed everywhere.

I'll try to write more, with an example, later. no time right now.

examples

Ok, look at the source for ItemTronTable, ItemTronChair, ItemTronArcadeCabinet, and how I'm including them in Tron Month, Tables, and Chairs

about your test

reload the target page. {: It did change when I loaded your test this morning.

As for indexing them, I'm wondering if we can put them all in a category, so we can get to the individual pages through that category. The other option is to have something (say, the picture) be a link to the single item description itself, so we can quickly get to the template.

The one thing I wish I could figure out how to do is to easily do the "What links here" link in the item's page itself. So if you get to the item, it is easy for the casual user to see what groups it is in, and other things about it.

more about your test

Interesting. It is definately there for me when I loaded it just now. I know as I was testing it was showing up when I previewed.

How odd.

Referenced by 1 page pages that link to “SpinMarty” — its place in the wiki