Badge time.png   The Paragon Wiki Archive documents the state of City of Heroes/Villains as it existed on December 1, 2012.

Difference between revisions of "Template talk:Linked Image"

From Paragon Wiki Archive
Jump to: navigation, search
(New page: I think this would be great for the Small Contact images in the Mission Briefing templates. - ~~~~)
 
m (-helpme template)
 
(7 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
I think this would be great for the Small Contact images in the Mission Briefing templates. - [[User:Snorii|Snorii]] 03:29, 21 May 2008 (UTC)
 
I think this would be great for the Small Contact images in the Mission Briefing templates. - [[User:Snorii|Snorii]] 03:29, 21 May 2008 (UTC)
 +
:Agreed.  Now, if I could just get it to work. . . --[[User:Eabrace|Eabrace]] 04:55, 21 May 2008 (UTC)
 +
 +
== Help Needed Finishing This Template ==
 +
Here's the problem:
 +
 +
What I need to end up with is a substitution that looks like this:
 +
 +
<nowiki><linkedimage>
 +
wikipage=Technology
 +
tooltip=Technology
 +
img_src=Image:Originicon_technology.png
 +
img_alt=Technology
 +
img_width=15
 +
img_height=15
 +
</linkedimage></nowiki>
 +
 +
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 <nowiki><linkedimage> and </linkedimage></nowiki> 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 <nowiki><linkedimage></nowiki> tag do not play well together.  Any thoughts or suggestions?
 +
 +
--[[User:Eabrace|Eabrace]] 04:55, 21 May 2008 (UTC)
 +
 +
: Found [http://www.mediawiki.org/wiki/Extension_talk:LinkedImage#Template_usage.3F this], apparently you can't use it in templates. Just won't work. :( -- [[User:Sekoia|Sekoia]] 06:31, 22 May 2008 (UTC)
 +
 +
::Poo. :p
 +
::Oh well.  I can't say I didn't give it a shot.  :) --[[User:Eabrace|Eabrace]] 11:00, 22 May 2008 (UTC)

Latest revision as of 11:00, 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

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)

Found this, apparently you can't use it in templates. Just won't work. :( -- Sekoia 06:31, 22 May 2008 (UTC)
Poo. :p
Oh well. I can't say I didn't give it a shot.  :) --Eabrace 11:00, 22 May 2008 (UTC)