Computer HardwareXbox GamesGameCubePlaystation 2PSOnePC/Windows GamesGameboy AdvanceDreamcastNintendo 64Gameboy ColorNintendo DSSony PSPXbox 360Nintendo Wii GamesPS3 Games

Neoseeker Forums » NeoWikis » NeoWiki Best Practices and Help » Two simple questions

Moderated by: Krunal
REPLY TO THIS THREAD   START NEW THREAD
Options: Print   subscribe   remove   send to friend   PM this thread to a friendNeoPM
subscribe to thread Topic: Two simple questions
Matt91
I'm Having a Relapse
s-e-e-k-e-r

wiki staff
pes




Matt91's profileNeoPM Matt91
total posts: 1814
since: Apr 2007
Aug 26, 09 at 10:08pm
Two simple questions

* 1. Is there a way of using an Image as a link to a file page? as in say you can make a link for Wayne Rooney appear as Rooney in the text with [[Wayne Rooney|Rooney]] can I link the image of game cover to the page's game?

like this [[Pro Evolution Soccer 2010|File:Image:PES2010_PS3.jpg|175px]]

I tried it but it doesn't work, is there a way of doing that.
  • 2. Is there anywhere I can alter the code for a key stats section for a player so that when Shot Accuracy is equal to 95 the number will turn red (as how it looks in Pro Evo)
the code would generally be:

1-74 = black text
75-79 = green text
80-89 = yellow text
90-94 - orange text
95-99 - red text

if it would make the wiki look unprofessional I understand but I only would want it if it is code, as we have over 1'000 pages of players so going through all of it would kill....


-------------------

Credit: Natman4
Arsenal SOMS

quote   quick quote   edit   quick edit   del  searchposts in thread  report
Dragoon
*sadface*
Still Seekin'

wiki staff
deathnote
doctorwho




Dragoon's profileDragoon's neohomeNeoPM Dragoon
total posts: 3510
neopoints: 165
GameGrep pts: 420
since: Mar 2009
Aug 26, 09 at 10:15pm
re: Two simple questions


    1.
    code
    [[Image:{name}.ex|175px|link={destination}|{caption}]]
    

    I don't know if that's what you were after?

    2. I'm not quite sure on what you mean. Could you ellaborate or provide a link as to what you mean?
quote   quick quote   edit   quick edit   del  searchposts in thread  report
Nagare
(#295547)
Resident Neo

wiki staff
wikiguides




Nagare's profileNagare's neohomeNeoPM NagareNagare's gallery (14 images)
neopoints: 3644
GameGrep pts: 238
since: Dec 2008
Aug 26, 09 at 10:22pm
re: Two simple questions

code
[[Image:Metroid_MainBanner.png|Welcome to the Metroid Wiki!|center|link=Main Page]]


Works for the linked images as seen here.

The second thing would be conditional formatting and I am sure it is possible.

Try something like:

code
{{ifexpr:1<x<75|<span style="color:#000;">x</span>}}


But I am not too familiar so don't quote that one.


-------------------


quote   quick quote   edit   quick edit   del  searchposts in thread  report
Deathsythe
All My Base Are Belong to Avalith.
(moderator)

Wiki Staff Applications


wiki staff
advancewars
digimon
fable
guitarhero
neowiki




Deathsythe's profileDeathsythe's neohomeNeoPM DeathsytheDeathsythe's gallery (17 images)
total posts: 6951
neopoints: 1182
GameGrep pts: 7740
since: Jul 2002
Aug 26, 09 at 10:22pm
re: Two simple questions

Your second question would have to be done using a few conditional statements. I am about to run out to dinner, but I could throw together a template for you tonight when I get back



-------------------
quote   quick quote   edit   quick edit   del  searchposts in thread  report
Matt91
I'm Having a Relapse
s-e-e-k-e-r

wiki staff
pes




Matt91's profileNeoPM Matt91
total posts: 1814
since: Apr 2007
Aug 26, 09 at 10:22pm
re: Two simple questions

What I want to do is on the main page scroll right down to where there is game covers of every game ...
what I want to do is link them images to the pages of the game like this page

EDIT:
number is done
thanks very much lads
and Deathsythe, cheers man


This message was edited by Matt91 on Aug 26 2009.


-------------------

Credit: Natman4
Arsenal SOMS

quote   quick quote   edit   quick edit   del  searchposts in thread  report
Matt91
I'm Having a Relapse
s-e-e-k-e-r

wiki staff
pes




Matt91's profileNeoPM Matt91
total posts: 1814
since: Apr 2007
Aug 29, 09 at 10:13pm
re: Two simple questions

Sorry to double post
but any info on this?




-------------------

Credit: Natman4
Arsenal SOMS

quote   quick quote   edit   quick edit   del  searchposts in thread  report
Nagare
(#295547)
Resident Neo

wiki staff
wikiguides




Nagare's profileNagare's neohomeNeoPM NagareNagare's gallery (14 images)
neopoints: 3644
GameGrep pts: 238
since: Dec 2008
Aug 29, 09 at 11:16pm
re: Two simple questions

Look into if statements/expressions like I mentioned in my response.



-------------------


quote   quick quote   edit   quick edit   del  searchposts in thread  report
Deathsythe
All My Base Are Belong to Avalith.
(moderator)

Wiki Staff Applications


wiki staff
advancewars
digimon
fable
guitarhero
neowiki




Deathsythe's profileDeathsythe's neohomeNeoPM DeathsytheDeathsythe's gallery (17 images)
total posts: 6951
neopoints: 1182
GameGrep pts: 7740
since: Jul 2002
Sep 08, 09 at 12:03am
re: Two simple questions

Sorry I never got back to you, I began work on a template for you here But never got around to finishing it. Narg, if you wanna take a look at it if you have time, its most likely just syntax errors.



-------------------
quote   quick quote   edit   quick edit   del  searchposts in thread  report
Nagare
(#295547)
Resident Neo

wiki staff
wikiguides




Nagare's profileNagare's neohomeNeoPM NagareNagare's gallery (14 images)
neopoints: 3644
GameGrep pts: 238
since: Dec 2008
Sep 08, 09 at 12:35am
re: Two simple questions

Am I Narg?

I fail at wiki code though. Only web languages I am comfortable with = CSS and HTML


-------------------


quote   quick quote   edit   quick edit   del  searchposts in thread  report
Prometheusx303
member: postin' posse

wiki staff
disgaea
wikiguides




Prometheusx303's profilePrometheusx303's neohome
since: Feb 2008
Sep 08, 09 at 6:26am
re: Two simple questions

I do believe that the #ifexpr parser function (don't forget the #), does not support double comparisons (e.g., "1 < x < 5"), but it does fully support singular comparisons such as "1 < x".

I've implemented a #switch array that evaluates individual expressions, and the template now correctly colors a single input number. Let me know if you require additional assistance to accomplish the intended result.
quote   quick quote   edit   quick edit   del  searchposts in thread  report
Matt91
I'm Having a Relapse
s-e-e-k-e-r

wiki staff
pes




Matt91's profileNeoPM Matt91
total posts: 1814
since: Apr 2007
Sep 08, 09 at 10:17pm
re: Two simple questions

I see how it has done, but it hasn't quite worked in the way expected, as I thought it would change all the numbers in the wiki automatically but if it has to be done manually do not worry about it


-------------------

Credit: Natman4
Arsenal SOMS

quote   quick quote   edit   quick edit   del  searchposts in thread  report
Nagare
(#295547)
Resident Neo

wiki staff
wikiguides




Nagare's profileNagare's neohomeNeoPM NagareNagare's gallery (14 images)
neopoints: 3644
GameGrep pts: 238
since: Dec 2008
Sep 08, 09 at 10:51pm
re: Two simple questions

You don't have it set up in the infobox itself as a field so it would have to account for the various spellings and what not as well instead of just the number if you would have 'built in' statistics on your infobox.


-------------------


quote   quick quote   edit   quick edit   del  searchposts in thread  report
Prometheusx303
member: postin' posse

wiki staff
disgaea
wikiguides




Prometheusx303's profilePrometheusx303's neohome
since: Feb 2008
Sep 13, 09 at 7:25am
re: Two simple questions

It doesn't technically have to be done manually. I can do some tricky stuff with the Infobox Template, but it takes some work on my end. If you really want it done, I can do it.

quote   quick quote   edit   quick edit   del  searchposts in thread  report
Matt91
I'm Having a Relapse
s-e-e-k-e-r

wiki staff
pes




Matt91's profileNeoPM Matt91
total posts: 1814
since: Apr 2007
Sep 14, 09 at 2:28pm
re: Two simple questions

If it involves too much hassle for only a minor adjustment do not worry about it

thanks anyway




-------------------

Credit: Natman4
Arsenal SOMS

quote   quick quote   edit   quick edit   del  searchposts in thread  report
[All dates in (PT) time]Threads List   « Next Newest   Next Oldest »
REPLY TO THIS THREAD   START NEW THREAD


search:
Neoseeker Forums » NeoWikis » NeoWiki Best Practices and Help » Two simple questions



Jump to another forum:

Powered by neoforums v0.9.7g (equilibrium)
Copyright Neo Era Media, Inc. 1999-2009

neoseeker forum community
Neoseeker.com   |   Forum Rules   |   Forum FAQ   |   Neoseeker Terms of Use   |   Supermods On Duty [ server id: nova ··· elapsed: 0.6149508953]
Affiliated sites:   GameGrep - Football Manager Wiki - Halo Wiki - MGS Wiki - GTA Wiki - Smackdown Wiki - Zelda Wiki - PS2seeker - Xbox seeker - DEVPEN - GFXcess