FFWiki forum logo.png
Forums: Index > Rin's Travel Agency > Archive > New template for Adding Videos?



ACRudeBox.PNG
RedWizard-ff1-psp.png
Some Color Mage / Talk Contribs / Let's Stream Random PS4 Crap. / 03:26, April 17, 2012 (UTC)
Could we just add an extra parameter to Template:Image needed, similar to how Template:Ongoing works?
ACRudeBox.PNG
FFVII Cait Sith Battle.gif
ACRudeBox.PNG
ACRudeBox.PNG
FFVII Cait Sith Battle.gif

I don't see why you couldn't have just done ifeq/1/video/video/image(Edit:Okay, now I know why. I would still do ifeq/2/video/video/ifeq/1/video/video/image). Also making it a part of the images template doesn't make sense. Also, I hate videos. That is all. JBed 18:19, April 17, 2012 (UTC)

Actually, I have no idea how to use any parserFunction but #if. I was educated-guessing when I tried to use #ifexpr (or was it #ifeq?) to make a true/false statement for the video, realized I was fumbling in the dark, and settled for just good old #if.
What's wrong with videos? They're more informative than images Cat 00:29, April 18, 2012 (UTC)
They also break the flow of a page, have to take up a greater space, and clearly stick out.
True/False? If (essentially) does an "if parameter exists (and has content)".
Ifeq tests one thing against another. This is used in variables, where the first thing you type would be the variable, then the next thing you type is what you want it to match with.
Ifexpr asks if a statement is true or false. Typing 4+4=8 with output True, 4+4=7 will output false. It is usually used with greater than/less than signs.
Iferror is less truey/falsey than other things, and if in its statement there is an error, it will output true, and if there is no error, it will output false. This can be used for an "IfNumber" logic. Although, I made {{ifnum}} for that.
All if statements are simple true and false. Ifeq is generally better because basic If means anything can be written in a parameter while "ifeq" looks for certain things. Replace functions can also be added to ifeq in order to allow multiple strings to be treated as "equal". 79.69.201.233 13:32, April 18, 2012 (UTC)
So that's how they work. Thanky.
As for not liking videos, [[File:FFIV_-_Kain_and_Cecil_Fight_Goblins.gif|it is possible to upload short animated GIFs in the event that a long video is too obstructive. Cat 14:50, April 18, 2012 (UTC)
Community content is available under CC-BY-SA unless otherwise noted.