FANDOM


(Assignments.: new section)
(Assignments.)
Line 69: Line 69:
   
 
I've done a few things. Though changing the stuff to Help:Contents poses a bit of a problem. It's a redirect and leads to.. [[Command and Conquer Wiki:How to Edit an Article]]. [[User:AthCom|AthCom]] 10:08, 21 May 2009 (UTC)
 
I've done a few things. Though changing the stuff to Help:Contents poses a bit of a problem. It's a redirect and leads to.. [[Command and Conquer Wiki:How to Edit an Article]]. [[User:AthCom|AthCom]] 10:08, 21 May 2009 (UTC)
  +
:Though I've seen that Uberfuzzy's undone something. [[User:AthCom|AthCom]] 10:13, 21 May 2009 (UTC)

Revision as of 10:13, May 21, 2009

Very good on the Structure Template but what about the Unit Template and all the other Templates found here? Look at the Image at To Tame a Living God to see what I mean.(Saffy Nurbs 00:48, 24 December 2008 (UTC))

Looking through your template code it seems Template:Unit, Template:Structure, and Template:Infobox Battle all handle images differently.
Template:Unit
To pass an image to Template:Unit you just need to enter the image name, like:

{{templatename | image=imagename.jpg }}

Template:Unit always sets the image width to 200px, so size is never a problem. However, this means images less than 200px in width will be stretched and may appear fuzzy.
Template:Structure
Template:Structure works like the templates we have on the StarCraft wiki. You pass the image to the template the same way as in Template:unit, but Template:Structure uses the image's default size by default unless imgsize is set.
What does this mean? It means, compared to Template:Unit, images with a width less than the width of the box will appear at there normal size without being stretched. Images with a width larger than the box need imgsize to be defined, like in RA2:Vacuum Imploder.
Template:Infobox Battle
This template works completely differently, and I suspect your other battle and war boxes are similar to this one. Passing an image to the template requires the full wiki image link code, like so:

{{templatename | image=[[Image:imagename.jpg]] }}

This also means the size of the image can be set like this:

{{templatename | image=[[Image:imagename.jpg|200px]] }}

You can see the template being used in this way at Battle for Ground Zero, and can apply the same thing to To Tame a Living God.
That should get you going on how to use images with those particular templates. Meco 01:39, 24 December 2008 (UTC)

What about Template:Infobox VG? Nobody put up instructions on how to use such template as well as This one?(Saffy Nurbs 03:30, 20 February 2009 (UTC))

Template:Quote

We now have a quotes template and you can replace the old one with our new Template:Quote/doc template. Just read the instructions on the page to know how to use.(Saffy Nurbs 00:32, 7 March 2009 (UTC))

You could help replace the old quotes like this one:

"Next time I drive Tank Okay?"

Conscript

with new ones like this:

Next time I drive Tank Okay?
- Conscript

Try replacing the quotes on many pages because we got a new Template:Quote.(Saffy Nurbs 02:30, 14 March 2009 (UTC))

Template:Unit

Hi there. The Template:Unit Template needs some fixing, I can't get it to show the country part.(Saffy Nurbs 01:03, 11 May 2009 (UTC))

I think I've fixed the problem. Remember that case sensitivity tends to matter with the wiki software. - Meco (talk) 01:06, 11 May 2009 (UTC)

Promotion.

Ha, thanks, but no thanks. I'm quite comfortable in assuming the sysop role. I've seen some of your contributions and I've come to the conclusion that you on the other hand, are perhaps more suitable to be a bureaucrat. I'm not that much of a computer person. Templates are as far as I can go.

If you want to, that is. AthCom 09:07, 20 May 2009 (UTC)

Perhaps. Though I think that Mikael is a bit dead right now. D: AthCom 09:38, 20 May 2009 (UTC)

Assignments.

I've done a few things. Though changing the stuff to Help:Contents poses a bit of a problem. It's a redirect and leads to.. Command and Conquer Wiki:How to Edit an Article. AthCom 10:08, 21 May 2009 (UTC)

Though I've seen that Uberfuzzy's undone something. AthCom 10:13, 21 May 2009 (UTC)
Community content is available under CC-BY-SA unless otherwise noted.