Jump to content

Font Color/Size


Recommended Posts

4 minutes ago, Greg said:

I must be missing something because this seems to work fine for me:


{{fc|1=highlight|2=So what you are saying is that we don't care about bugs regarding the "=" character in the template?}}

 

That does work, it's just "text" is sticking with the standard we have from the other templates in use. So text= and 2= would work to fix.

Btw, I'm just going off the standards that have been there for years (most likely S4N's original work). If we want to change that, then we just need to come to a consensus. 

Link to comment
Share on other sites

  • Replies 33
  • Created
  • Last Reply

Top Posters In This Topic

I don't think that we have ever actually established a standard for parameters. Take https://stepmodifications.org/wiki/Template:Sidebox for example. This one has been around forever, and really probably ought to use named parameters, but it doesn't. In fact, I think adding named parameters to most of our templates occurred after S4n disappeared, as I think I was the one who did it. 

Link to comment
Share on other sites

44 minutes ago, DoubleYou said:

I don't think that we have ever actually established a standard for parameters. Take https://stepmodifications.org/wiki/Template:Sidebox for example. This one has been around forever, and really probably ought to use named parameters, but it doesn't. In fact, I think adding named parameters to most of our templates occurred after S4n disappeared, as I think I was the one who did it. 

That one needs to be updated too as the width should be in % for the responsive design. It should only accept a percent too, so that the responsiveness isn't broken. I agree it should use a least one named parameter for the main text (possibly for the header too). I really don't use sideboxes much.

Link to comment
Share on other sites

1 hour ago, Greg said:

I must be missing something because this seems to work fine for me:


{{fc|1=highlight|2=So what you are saying is that we don't care about bugs regarding the "=" character in the template?}}

 

That's because you are using 'numbered' params, which is the same principle as 'named' params. Both use a "this=that". It just doesn't work with anonymous params or ordered params.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Guidelines, Privacy Policy, and Terms of Use.