Forums: Index Help desk Template replacing text

Hello, I am have some difficulty with my template. [1]

It's a table which also contains small images in the columns, Helemts, Prizes, and Enemies [2]. Most of these columns consist of several image and each image has some additional info such as alignment, link which end up in a lot of text which makes things unclear. Now what i am trying to do is use small variable?

for example {{Dragon-1}} will be changed in [[t|File:Dragon-1.png|bottom|link=Dragon]]

I'm not sure how to do this right or if it's even possible?

Thanks --Haagnus (talk) 12:14, May 25, 2013 (UTC)

For that you want to make a template like "Template:Dragon-1" and use Custom Reference Popups to display the info when hovered over. (Like this: (hover over icons of items) (The template setup for that)). {{SUBST:User:Rocketslime_1_1/Sig|01:17,5/29/2013}}
Is it also possible to have several of these codes {{Dragon-1}} in one template but on the content page only a selected pair will be shown? otherwise i end up with a lot of templates --Haagnus (talk) 17:24, May 30, 2013 (UTC)
Yes, you can use a switch statement for that. ( {{SUBST:User:Rocketslime_1_1/Sig|01:00,6/7/2013}}
Community content is available under CC-BY-SA unless otherwise noted.