Wiki:
Page name: Template Guide [Logged in view] [RSS]
2005-06-30 18:25:16
Last author: Penguinlord
Owner: Penguinlord
# of watchers: 10
Fans: 0
D20: 16
Bookmark and Share
<img:http://img.photobucket.com/albums/v337/Lordpenguin/Elftown%20banners/template%20images/bluedot.bmp><img:http://img.photobucket.com/albums/v337/Lordpenguin/Elftown%20banners/template%20images/bluedot.bmp><img:http://img.photobucket.com/albums/v337/Lordpenguin/Elftown%20banners/template%20images/bluedot.bmp><img:http://img.photobucket.com/albums/v337/Lordpenguin/Elftown%20banners/template%20images/bluedot.bmp><img:http://img.photobucket.com/albums/v337/Lordpenguin/Elftown%20banners/template%20images/bluedot.bmp><img:http://img.photobucket.com/albums/v337/Lordpenguin/Elftown%20banners/template%20images/bluedot.bmp><img:http://img.photobucket.com/albums/v337/Lordpenguin/Elftown%20banners/template%20images/bluedot.bmp><img:http://img.photobucket.com/albums/v337/Lordpenguin/Elftown%20banners/template%20images/bluedot.bmp><img:http://img.photobucket.com/albums/v337/Lordpenguin/Elftown%20banners/template%20images/bluedot.bmp><img:http://img.photobucket.com/albums/v337/Lordpenguin/Elftown%20banners/template%20images/bluedot.bmp><img:http://img.photobucket.com/albums/v337/Lordpenguin/Elftown%20banners/template%20images/bluedot.bmp><img:http://img.photobucket.com/albums/v337/Lordpenguin/Elftown%20banners/template%20images/bluedot.bmp>

Templates

<img:http://img.photobucket.com/albums/v337/Lordpenguin/Elftown%20banners/template%20images/bluedot.bmp><img:http://img.photobucket.com/albums/v337/Lordpenguin/Elftown%20banners/template%20images/bluedot.bmp><img:http://img.photobucket.com/albums/v337/Lordpenguin/Elftown%20banners/template%20images/bluedot.bmp><img:http://img.photobucket.com/albums/v337/Lordpenguin/Elftown%20banners/template%20images/bluedot.bmp><img:http://img.photobucket.com/albums/v337/Lordpenguin/Elftown%20banners/template%20images/bluedot.bmp><img:http://img.photobucket.com/albums/v337/Lordpenguin/Elftown%20banners/template%20images/bluedot.bmp>

Templates are a way of coding Elftown so that by typing a simple code into a wiki, it automatically replaces it with whatever you want

<img:http://img.photobucket.com/albums/v337/Lordpenguin/Elftown%20banners/template%20images/bluedot.bmp><img:http://img.photobucket.com/albums/v337/Lordpenguin/Elftown%20banners/template%20images/bluedot.bmp><img:http://img.photobucket.com/albums/v337/Lordpenguin/Elftown%20banners/template%20images/bluedot.bmp><img:http://img.photobucket.com/albums/v337/Lordpenguin/Elftown%20banners/template%20images/bluedot.bmp><img:http://img.photobucket.com/albums/v337/Lordpenguin/Elftown%20banners/template%20images/bluedot.bmp><img:http://img.photobucket.com/albums/v337/Lordpenguin/Elftown%20banners/template%20images/bluedot.bmp>

First you must set up a template wiki (dots for example) for the shortcuts to be taken from. This is just a normal wiki.

<img:http://img.photobucket.com/albums/v337/Lordpenguin/Elftown%20banners/template%20images/bluedot.bmp><img:http://img.photobucket.com/albums/v337/Lordpenguin/Elftown%20banners/template%20images/bluedot.bmp><img:http://img.photobucket.com/albums/v337/Lordpenguin/Elftown%20banners/template%20images/bluedot.bmp><img:http://img.photobucket.com/albums/v337/Lordpenguin/Elftown%20banners/template%20images/bluedot.bmp><img:http://img.photobucket.com/albums/v337/Lordpenguin/Elftown%20banners/template%20images/bluedot.bmp><img:http://img.photobucket.com/albums/v337/Lordpenguin/Elftown%20banners/template%20images/bluedot.bmp>

The template wiki must be set out with the code you wish to use, a colon, and then whatever you wish it to be replaced with. Text, tags, images, it all works.

USER:[Penguinlord]
LK:[Template guide@wiki]
PIC:<img:http://ew2.lysator.liu.se/ET/elftownbannersmall.gif>

It is a good idea to use capital letters for your codes, as these will be used less often in just randon talk. If you set "the" as a shortcut, every time "the" is typed, the insert will appear, not only when you want it to.

<img:http://img.photobucket.com/albums/v337/Lordpenguin/Elftown%20banners/template%20images/bluedot.bmp><img:http://img.photobucket.com/albums/v337/Lordpenguin/Elftown%20banners/template%20images/bluedot.bmp><img:http://img.photobucket.com/albums/v337/Lordpenguin/Elftown%20banners/template%20images/bluedot.bmp><img:http://img.photobucket.com/albums/v337/Lordpenguin/Elftown%20banners/template%20images/bluedot.bmp><img:http://img.photobucket.com/albums/v337/Lordpenguin/Elftown%20banners/template%20images/bluedot.bmp><img:http://img.photobucket.com/albums/v337/Lordpenguin/Elftown%20banners/template%20images/bluedot.bmp>

Now, add this to the first line of the wiki in which you wish to use the template:
Template:(name of template wiki)

Template:dots

<img:http://img.photobucket.com/albums/v337/Lordpenguin/Elftown%20banners/template%20images/bluedot.bmp><img:http://img.photobucket.com/albums/v337/Lordpenguin/Elftown%20banners/template%20images/bluedot.bmp><img:http://img.photobucket.com/albums/v337/Lordpenguin/Elftown%20banners/template%20images/bluedot.bmp><img:http://img.photobucket.com/albums/v337/Lordpenguin/Elftown%20banners/template%20images/bluedot.bmp><img:http://img.photobucket.com/albums/v337/Lordpenguin/Elftown%20banners/template%20images/bluedot.bmp><img:http://img.photobucket.com/albums/v337/Lordpenguin/Elftown%20banners/template%20images/bluedot.bmp>

Now, whenever you type one of those codes into that wiki, whatever you typed in the template wiki will replace it!

GD = <img:http://img.photobucket.com/albums/v337/Lordpenguin/Elftown%20banners/template%20images/greendot.bmp>

<img:http://img.photobucket.com/albums/v337/Lordpenguin/Elftown%20banners/template%20images/bluedot.bmp><img:http://img.photobucket.com/albums/v337/Lordpenguin/Elftown%20banners/template%20images/bluedot.bmp><img:http://img.photobucket.com/albums/v337/Lordpenguin/Elftown%20banners/template%20images/bluedot.bmp><img:http://img.photobucket.com/albums/v337/Lordpenguin/Elftown%20banners/template%20images/bluedot.bmp><img:http://img.photobucket.com/albums/v337/Lordpenguin/Elftown%20banners/template%20images/bluedot.bmp><img:http://img.photobucket.com/albums/v337/Lordpenguin/Elftown%20banners/template%20images/bluedot.bmp><img:http://img.photobucket.com/albums/v337/Lordpenguin/Elftown%20banners/template%20images/bluedot.bmp><img:http://img.photobucket.com/albums/v337/Lordpenguin/Elftown%20banners/template%20images/bluedot.bmp><img:http://img.photobucket.com/albums/v337/Lordpenguin/Elftown%20banners/template%20images/bluedot.bmp><img:http://img.photobucket.com/albums/v337/Lordpenguin/Elftown%20banners/template%20images/bluedot.bmp><img:http://img.photobucket.com/albums/v337/Lordpenguin/Elftown%20banners/template%20images/bluedot.bmp><img:http://img.photobucket.com/albums/v337/Lordpenguin/Elftown%20banners/template%20images/bluedot.bmp>
Back to Pseudo HTML pro

Made by [Penguinlord]
Feedback appreciated!

Username (or number or email):

Password:

2004-11-15 [Shreya]: tempalte typo in the last section. Great job though! ^-^

2004-12-13 [Penguinlord]: thanks

2005-01-12 [sprattel_dvaerg]: ahhh.. this thing kicks ass.. but it doesnt work in houses, does it?

2005-01-13 [Penguinlord]: i'm not sure. it doesn't work in messages, postings diary etc so i would say it is only for wiki

2005-01-13 [sprattel_dvaerg]: ok.. cause i tried on my house and that didnt work.. but for wikis it is great :D so how did you come up with this idea?

2005-01-14 [Penguinlord]: well chesstemplate is where i discovered it, and then i asked deiscorides about it.

2005-06-30 [Vesthrix]: Why does it need to be capitals? It seems to work just fine for me with lower case letters.

2005-06-30 [Penguinlord]: probly an upgrade... i'll check. yeah. But i would still advise you to use upper case, as that will avoid accidental shortcut usage.

2005-06-30 [Vesthrix]: I just use names that I would never normally write such "tree1"

2005-07-01 [Penguinlord]: hehe

Show these comments on your site

Elftown - Wiki, forums, community and friendship.