Template talk:Linked Image: Difference between revisions

From Homecoming Wiki
Jump to navigation Jump to search
imported>Eabrace (historical)
imported>Eabrace (historical)
m (Aha! That's the template I was trying to remember last night. . .)
Line 3: Line 3:


== Help Needed Finishing This Template ==
== Help Needed Finishing This Template ==
{{helpme}}
Here's the problem:
Here's the problem:



Revision as of 05:09, 22 May 2008

I think this would be great for the Small Contact images in the Mission Briefing templates. - Snorii 03:29, 21 May 2008 (UTC)

Agreed. Now, if I could just get it to work. . . --Eabrace 04:55, 21 May 2008 (UTC)

Help Needed Finishing This Template

Template:Helpme Here's the problem:

What I need to end up with is a substitution that looks like this:

<linkedimage>
wikipage=Technology 
tooltip=Technology 
img_src=Image:Originicon_technology.png
img_alt=Technology
img_width=15
img_height=15
</linkedimage>

To produce a result that looks like this:

<linkedimage> wikipage=Technology tooltip=Technology img_src=Image:Originicon_technology.png img_alt=Technology img_width=15 img_height=15 </linkedimage>

I've gotten all but the <linkedimage> and </linkedimage> tags in place, but when I try to add those to the template, I get big white screen with nothing but the Paragon Wiki logo in the upper left and an error message:

Internal error
Set $wgShowExceptionDetails = true; at the bottom of LocalSettings.php to show detailed debugging information.

Apparently, templates and the <linkedimage> tag do not play well together. Any thoughts or suggestions?

--Eabrace 04:55, 21 May 2008 (UTC)