Template help

Jump to: navigation, search
Edited by author.
Last edit: 18:11, 22 September 2010

I'm definitely interested in discussing your ideas. We are in the process of updating the mediawiki engine (should be complete very soon as testing is advanced), and have several improvements in mind. Can you join us on IRC? - #kde-www - it makes sense to be planning now, so that we can get improvements out there in the new version.

09:23, 2 June 2010 (UTC)

annew15:29, 22 September 2010

Thinking a bit more about the Prev/Next templates, traditionally there was a centre entry, for Contents. What do you think about adding that? You could call it Manual Home, if that seems more appropriate.

10:29, 2 June 2010 (UTC)

annew15:31, 22 September 2010
 
Edited by author.
Last edit: 18:11, 22 September 2010

I've made a slightly different prev/next template that uses a bit more syntax. Unfortunately due to the nature of mediawiki templates you have to specify the argument names in this one. It's similar to the one used on Wikibooks. It uses the {{PAGENAME}} variable for the text in the middle. I suppose you could change it to a link to the article index, but that would need another two arguments in the template and maybe that could be too complicated for casual users? Anyway, here is the link and this is what it looks like:

Check this page source for the syntax and how it's used. Do you think it's simple enough for everyday writers to understand? Unfortunately I am afk a lot of the time at the moment so I don't know when I'll be able to drop into IRC. But if you have any specific requests of me then tell me here or on my usertalk and I'll see what I can do. Or just dive in and change my current templates if you prefer :O) There's certainly a lot of room for improvement.

00:57, 3 June 2010 (UTC)

Xiyizi15:32, 22 September 2010
Edited by author.
Last edit: 18:11, 22 September 2010

I didn't notice before that you have parserfunctions installed on this wiki. I've updated the second template to be an all-in-one navigation thingummy now. Still works the same way as described above, though.

04:31, 3 June 2010 (UTC)

Xiyizi15:35, 22 September 2010
Edited by author.
Last edit: 18:12, 22 September 2010

That's really getting somewhere :-) Does {{PAGENAME}}/Manual work? I've tried it on http://userbase.kde.org/Template:Prevnext2

11:57, 3 June 2010 (UTC)

annew15:35, 22 September 2010

Appears to work just fine. Almost all of the arguments are completely optional, now. I hope the documentation makes enough sense. Glad you like it. It should probably be renamed if anyone is to use it, though. And the three original templates I made can probably be deleted now. Drop me a message if you want any more.

14:37, 3 June 2010 (UTC)

Xiyizi15:36, 22 September 2010